Snake

Arrow keys / WASD • Tap on mobile
Score: 0
High: 0
Speed: 0
Grid: 20x20
Tip: Score increases when eating food. Don't hit walls or yourself (unless walls are toggled).
Made with plain HTML/CSS/JS — customize however you like.

Controls & Mobile

Use arrow keys or WASD. On mobile, use the d-pad below or swipe on the canvas.

↑
←
●
→
↓

How to play

  1. Move the snake to eat food (green square).
  2. Each food grows the snake and increases score.
  3. Avoid colliding with the snake body — or walls if walls are enabled.