A common snake game done with html5 features and javascript.
This requires the coffeescript compiler.
Once that is installed simply call coffee -c snake.coffee
and the game will compile down to javascript.
At this point you should be able to visit the index.html page and play the game.
Use the arrow keys to control what way the snake turns