
19 May
2010
19 May
'10
4:02 a.m.
On Tue, 18 May 2010 05:21:38 +0200,
Hi,
I learning haskell and I am trying to understand how model certain things in it. As I have been doing a lot of C++ programming so far. Let's imagine we want to write a game. In the game there are spaceships and rocks (image something like astroids :) ). Now both spaceships and rocks have a position and can move. Spaceships can shoot, while rocks can explode.
There is a well documented implementation, called wxAsteroids; see http://www.haskell.org/haskellwiki/WxAsteroids Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html --