Snake Game — Play Free Online
Snake is the classic arcade game where you steer a growing snake around a grid, eat food, and avoid crashing into walls or your own tail. Our free online version runs instantly in your browser: use arrow keys, WASD, or swipe on touch screens. The snake speeds up as your score climbs, and your best score is saved on your device.
Snake
Arrow keys, WASD or swipe to start
Arrows / WASD or swipe to steer · P or Space to pause · speed rises as you eat
Quick Answer
Snake is the classic arcade game where you steer a growing snake around a grid, eat food, and avoid crashing into walls or your own tail. Our free online version runs instantly in your browser: use arrow keys, WASD, or swipe on touch screens. The snake speeds up as your score climbs, and your best score is saved on your device.
How It Works
Press any arrow key, WASD key, or swipe on the board to start
Steer over the red food pellets — each adds 10 points and grows the snake
Avoid the outer wall and your own tail; speed increases as you score
Pause with P or Space and try to beat your locally saved high score
Key Facts
- 20×20 grid rendered on canvas with retro-green styling
- Steer with arrow keys, WASD, or swipe gestures on touch screens
- Speed ramps up as you eat — starts at 150 ms per step, floors at 55 ms
- Eat food to grow; hitting a wall or your own tail ends the run
- Pause anytime with P or Space
- High score saved in your browser via localStorage
- 100% client-side: no downloads, no sign-up, works offline after load
Frequently Asked Questions
How do you control the snake?
Use the arrow keys or WASD on desktop. On phones and tablets, swipe in the direction you want to go — the game board captures touch gestures directly. Press P or Space to pause and resume. Your turns are buffered briefly, so quick double-taps register as two separate turns.
How does the scoring and speed work?
Each food pellet is worth 10 points and makes the snake one segment longer. The game runs on a fixed timestep that shrinks as your score grows — from 150 ms per move at the start down to a 55 ms floor — so the challenge ramps up naturally the longer you survive.
What ends the game?
Crashing into the outer wall or into any part of your own body ends the run instantly. Only your head counts for collisions; your tail vacates its square each step unless you are growing, so tight follow-the-tail loops are safe.
What is a good snake game strategy?
Hug the walls and run long loops around the border early on, keeping the middle free for emergency turns. Avoid zig-zagging into pockets you cannot exit, and once your tail is long, follow it in a braid pattern rather than cutting across the board.
Is my high score saved?
Yes. Your best score is stored locally in your browser with localStorage, so it persists between sessions on the same device. Nothing is uploaded — the entire game runs client-side with no server involved.