https://github.com/elisehuard/game-in-haskell
http://andrew.gibiansky.com/blog/haskell/haskell-gloss/ https://ocharles.org.uk/blog/posts/2013-12-10-24-days-of-hackage-gloss.html
- Install Haskell Stack: https://docs.haskellstack.org/en/stable/install_and_upgrade/
- Clone this repo
- cd ping-pong-haskell
- stack setup
- stack init --force
- stack build
- stack exec ping-pond
Use right UP and DOWN arrown to move right paddle, 'w' and 's' to meve left paddle. Press 'r' to start/reset game, ESC to exit.