[racket] Flappy Bird in Racket

From: John Clements (clements at brinckerhoff.org)
Date: Mon May 19 19:48:53 EDT 2014

On May 19, 2014, at 12:05 PM, Jens Axel Søgaard <jensaxel at soegaard.net> wrote:

> 2014-05-19 21:02 GMT+02:00 Laurent <laurent.orseau at gmail.com>:
>> Very nice, entirely functional and in 300 lines of code!
>> 
>> But I can't get past half a dozen pipes. Is it me or is this game crazy
>> difficult?
>> (I haven't played the original one)
> 
> I am afraid I must disappoint you. I think my version is easier than
> the original…

Yes… the defining characteristic of this game is the preposterous difficulty of getting past even one pipe.

And yes, it’s a lovely programming exercise; There’s a really smooth progression of approximations that can easily be used to motivate HtDP stages.

John



Posted on the users mailing list.