About Snake
A simple Snake clone made with Canvas and JavaScript.
How to play
Press Space to start or restart. Use the arrow keys to turn. Eat food and avoid the walls and your own body.
Good to know
Use keydown consistently for arrow input, ignore non-arrow direction keys and prevent arrow-key page scrolling. Upstream reports browser compatibility issues; runtime validation is still required.