Skip to content

jxv/dino-rush

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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