Nibbles is another game that requires no introduction. Navigate a snake around a space eating the blue dots avoiding the walls and yourself. The more blue dots you eat the longer your tail gets making the task of avoiding yourself more and more difficult. As you get longer the game becomes and exercise in tail management.
This version of the game is extremely basic and can act as an effective base for many variations. An ambitious programmer could use this code and change the display so the snake has a head and tail, add levels with obstacles to avoid, change the number of blue squares at a time, or even make a two player version.
Nibbles is written by Nils Magnus Englund.

Download and Play
Download eBook page
Download the source code
November 20th, 2008 - 11:34 am
Hi! Your friendly neighborhood PDF checker reporting in to let you know the source code on this one doesn’t display correctly on the Mac!
Also source code link doesn’t work.
:)
p.s. bet your tired of hearing from me!
November 20th, 2008 - 11:49 am
Well I’m tired of not getting this right, but I’m grateful for you checking for me.
Tonight I’ll fix this.Should be fixed now. Lemme know if you have any more troubles. Thanks so much for your diligence.
November 23rd, 2008 - 9:28 pm
Typically there’s an exe, but the program download was just source this time.
November 24th, 2008 - 8:17 am
And if you clicked on the source you would have gotten nothing. I was really off my game when I put this one together. (Probably in the middle of writing my Nbrix generator. Thing had a way of consuming 100% of my system resources.) Thanks for the heads up. Fixed now.