Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

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

pong-wars

Development

brew install sdl2 sdl2_image sdl2_ttf pkg-config
# mpg123 gives MP3 abilities
brew install sdl2_mixer --with-mpg123

stack build

# To get ghc-mod working:
# See: https://github.com/DanielG/ghc-mod/wiki#most-common-stack-related-issue
stack install ghc-mod
stack exec vim

stack build && stack exec pong-wars

stack test

To use Brittany code formatter:

cd ~/
stack install brittany

I use the Neoformat vim plugin, with the vim command :Neoformat.

Resources

http://lazyfoo.net/tutorials/SDL/index.php http://www.metanetsoftware.com/technique/tutorialA.html http://www.metanetsoftware.com/technique/tutorialB.html http://gameprogrammingpatterns.com/game-loop.html https://github.com/haskell-game/sdl2/tree/master/examples/lazyfoo

About

A spicy twist of a classic game

Resources

License

Releases

No releases published

Packages

No packages published