20 × 20 grid · one cell per step · arrow keys to steer
Score
0
Length
3
Best
0
Status
Ready
Snake
Press Start or hit Enter to play. Steer with the arrow keys — you can't double back into your own neck.
Controls
↑↓←→ steer P or Space pause / resume Enter start / restart
Rules
Eat the red food to grow one segment and score a point.
Walls and your own body are deadly.
The tail cell is safe to enter on a step where it vacates.
Fill the whole board to win.
Single-file HTML5 canvas game · no external assets