Snake originated from the arcades as Blockade in the 1970s, but found massive fame after NOKIA made it a preloaded phone game in 1998. Players control a snake that seeks out food to eat while carefully navigating the snake's head around its growing body length and the walls.
Please upgrade your browser to support HTML5. One recommendation is to install Internet Explorer 9 :

Player Controls:
⇒ A - Move Player Left ⇒ W - Move Player Up
⇒ D - Move Player Right ⇒ S - Move Player Down

Learn how to create a Snake Game in HTML5
View the full codes (game.js) here
View the accompanying constants file (constants.js) here