A simple OpenGL Pong game based on GLFW http://bonsaicode.wordpress.com/2009/04/23/hpong-012/

Latest on Hackage:0.1.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

GPL licensed by Remco Niemeijer
Maintained by Remco Niemeijer
---------------------------------- HPong ----------------------------------

With the release of the Haskell Platform it is now trivial to start making
OpenGL programs with Haskell.

HPong is a very simple OpenGL game that was made both to experiment with
OpenGL and as a starting point for more complex games, since there seem
to be fairly few examples of GLFW programs in Haskell.

Controls : Up arrow moves your paddle up.
Down arrow moves your paddle down.
Esc quits the game.

HPong is based on GLFW instead of GLUT for the simple reason that GLUT
does not provide a working window close callback.
comments powered byDisqus