Slide around eating fruit and avoiding your ever growing tail. Think you?ve done this one before? Think again. Instead of a snake which makes 90 degree turns this anaconda turns in smooth curves. Now how easy it is now?
If the game goes too fast for you adjust the number sent to BPS_TO_TIMER(). As the game progresses you?ll find your snake moving faster, as well as turning wider. To stop this behavior comment out the line that reads segLength += 0.001;
Anaconda was written by Jakub Wasilewski for the MinorHack challenge on August 11th, 2007.

Download and Play
Download eBook page
Download the source code
December 20th, 2008 - 10:50 am
It busywaits the cpu :(
December 20th, 2008 - 8:20 pm
Hmm. Is there a better way to do this in allegro? I know there isn’t in PDCurses.
December 22nd, 2008 - 2:43 pm
I just discovered that I much prefer this game with the line that reads:
segLength += 0.001;
commented out. It prevents your snake’s curve from getting wider the more you play.