Medium: the walls stop you and the speed creeps up with every apple.
Arrow keys or WASD to move · Space or P to pause
How to play Snake
In Snake you steer a snake that never stops moving across a 20×20 board. Your goal is to eat as many apples as you can: every apple is worth one point and makes the snake one piece longer. The longer it gets, the less room you have to move — and the easier it is to run into your own tail.
The rules
The snake moves forward by itself, one square at a time. You only change its direction: up, down, left or right.
You cannot turn straight back on yourself; reversing takes two turns.
Every apple is worth 1 point and makes the snake longer.
After every fifth apple a golden star appears for a few seconds. It is worth 3 points and does not make the snake longer. The ring around it shows how much time is left.
The game ends when the head hits the snake’s own body or, on Medium and Hard, a wall.
How to play here
On a computer: use the arrow keys or W, A, S, D. Space or P pauses the game.
On a phone or tablet: swipe on the board in the direction you want, or tap the arrows under it. One swipe can even make two turns in a row.
If you switch to another tab or app, the game pauses by itself.
The three levels
Easy: slower and with no walls. Leave by one edge and you come back in on the opposite side — that is why the border is dashed.
Medium: the walls stop you and the speed creeps up with every apple.
Hard: fast from the start and faster still as you eat. For quick reflexes only.
Your best score is kept separately for each level. Pick a nickname and every game also counts on the leaderboard: you earn 1, 2 or 3 points (Easy, Medium, Hard) for every 5 you score, up to 10, 20 or 30 points per game.
7 tips for a higher score
Stay near the middle early on. While the snake is short, corners and walls are the only real danger.
Always leave yourself a way out. Before you dive into a narrow gap for an apple, think about how you will get back out.
Follow your tail. The safest square is the one your tail has just left: by the time you get there, it will have moved on.
Zigzag once you are long. Sweep back and forth in parallel lines, like mowing a lawn, to fill the space without boxing yourself in.
Turn early. At high speed, press the turn a square ahead; the game remembers up to three turns in a row.
Do not chase the star at any cost. Three points are not worth a risky squeeze past your own tail.
On Easy, use the edges. When an apple sits near the opposite side, going out through the nearest edge is often the shortest way there.
A little history
The idea of a line that keeps growing goes back to the 1976 arcade game Blockade, where two players each left a trail behind them and tried to box the other in. Snake became famous around the world in the late 1990s, when it came pre-installed on Nokia mobile phones, and for many people it was the first game they ever played on a phone. If you want something calmer after a fast round, try Solitaire or Gomoku.