The Fourth Species
Graham St-Laurent's Website
computing suspenders music

This is written in JavaScript with jQuery, and, assuming a div with id "snake" is in some html, the JavaScript file takes care of the rest. Probably making a stylesheet would have been a good idea too, I've now decided. (Probably using the html5 canvas element would have been even smarter: this is what it was designed for, after all!) There are two modes to the game: one uses built-in animations, and the other simply moves rectangles around. This lets the game run smoothly at both slow and fast speeds while not capping the upper limit prematurely, and not using too much processing power. It automatically chooses the appropriate mode based on your speed. Enjoy!