Learning Javascript - Snake

Score: -

Slow
Normal
Fast

Speed depends on the PC
and browser rendering engine

Instructions

Use "WASD" keys to direct the snake. Collect the yellow seeds to advance, and red fruits for extra points!

Remember that when you reach the end of the level you pop back to the other side!

Dev Notes

This is just a little program written with the intent to teach myself a little javascript and scratch the possibilities of HTML5. It should not therefore be considereded a complete game, just an effort to learn something new and make it fun. The code is not very clean, but you can do whatever you want with it, just look at the source of this page.

Cheers.
   Luca