About two days ago the beta version of the Haskell Platform was released. Since 
it comes with an OpenGL library, it is now trivially easy to start making 
OpenGL programs with Haskell. To test this, I decided to make a simple Pong 
clone for two reasons:

* To experiment with making an OpenGL game
* I chose to use the GLFW instead of the GLUT library because GLUT doesn’t 
respond to closing a window with the close button very well. However, I could 
only find one piece of sample code for GLFW. Because of that, I decided to make 
a small game that others can use as a starting point for their own games.

The controls are very simple: The up and down arrow keys move your paddle and 
Esc quits the game.

This is my first upload to Hackage, so any comments or suggestions are 
welcome._______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to