Home

Awesome

Dino Rush

Game Play

Blog: http://jxv.github.io/blog/2018-02-28-A-Game-in-Haskell.html

Discussion: https://www.reddit.com/r/haskell/comments/813yik/a_game_in_haskell_dino_rush/

OSX build

brew install sdl2
brew install sdl2_ttf
brew install sdl2_image
brew install libmikmod
brew install sdl2_mixer
stack build

sdl2_mixer must be complied with libmikmod

Ubuntu build

sudo apt install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libmikmod-dev libsdl2-mixer-dev
stack build

Windows build

stack exec -- pacman -S mingw64/mingw-w64-x86_64-pkg-config mingw64/mingw-w64-x86_64-SDL2 mingw64/mingw-w64-x86_64-SDL2_ttf mingw64/mingw-w64-x86_64-SDL2_image mingw64/mingw-w64-x86_64-SDL2_mixer mingw64/mingw-w64-x86_64-libmikmod
stack build

Run

stack exec dino-rush

Assets