Skip to content

Rules & Controls

How to Play Snake

Snake looks simple from the outside, and the basic idea genuinely is simple: move a growing line around a board, eat food, avoid crashing. But there are a handful of specific mechanics, especially around turning and collision, that are worth understanding precisely if you want to stop losing runs to avoidable mistakes. This page covers every control and rule in detail. If you already know the basics and want to raise your score, skip ahead to strategy and tips, or head back to the game itself to start playing.

Keyboard Controls

On desktop, the snake is steered with either the arrow keys or the WASD keys, and both work identically at the same time, so you can switch between them mid-game without any penalty.

Touch and Mobile Controls

On a phone or tablet, two separate input methods are available and you can freely mix them within the same run.

Understanding the Game Board

The board is a square grid. Every position the snake or the food can occupy is exactly one grid cell, and the snake moves exactly one cell per tick (the interval between moves, controlled by your difficulty setting). This is why Snake, unlike a game with free-form pixel movement, is really a planning puzzle: your options at any moment are always exactly one of four directions, never a partial turn or a diagonal.

As your snake grows, the amount of open, safe space on the board shrinks correspondingly, which is the entire source of Snake's difficulty curve. A snake three squares long has almost nowhere it can go wrong; a snake sixty squares long has to actively manage the shape of its own body to avoid trapping itself, which is exactly the skill our strategy guide focuses on.

The Core Gameplay Loop

Every run of Snake follows the same repeating sequence from start to finish.

  1. The snake starts as three connected squares near the centre of the board, already moving in one direction.
  2. A single piece of food appears at a random empty square somewhere on the grid.
  3. You steer the snake's head toward the food using any of the controls above.
  4. When the head reaches the food's square, the snake grows by one square and a new piece of food appears elsewhere on the board.
  5. This repeats, with the snake getting one square longer every time, until the run ends.

Scoring

Each piece of food eaten is worth exactly 10 points. There is no time bonus, no combo multiplier, and no penalty for taking a slow, careful route to the food rather than a direct one. Your live score is shown at the top of the game next to "Score:", and it updates the instant a piece of food is eaten. Your personal best across all previous runs on this device is shown next to "Best:", and it updates automatically the moment a new run beats it.

What Ends a Run

A run ends immediately, with no warning and no way to recover, the instant either of the following happens:

Direction Queueing and Why 180-Degree Turns Don't Work

You cannot turn a snake directly backward into itself: if the snake is moving right, pressing left is ignored rather than applied, because that would mean immediately colliding with the segment directly behind the head. This is not a bug, it is the same rule every version of Snake has used since the original, and it exists because a literal instant reversal has no meaningful gameplay use, since the snake's own body is always right there.

Turns you make are applied on the next tick, not instantly, which matters most at higher difficulty levels where ticks happen quickly. If you press two different direction keys in the small window between two ticks, only the most recent one is used for the next move. Pressing keys rapidly and repeatedly, rather than making one deliberate turn at a time, is one of the most common reasons new players lose a run they otherwise had full control over.

Difficulty and Wall Mode

Both settings live in the settings panel (the gear icon in the top bar) and can be changed before a run starts or in the middle of one. See our dedicated modes and difficulty page for a full breakdown of what each option changes.

Pausing and Resuming

Press Spacebar or tap the Pause button at any point during an active run to freeze the game exactly where it stands. Nothing moves, no input is processed, and the run resumes from the exact same position and score when you press Pause (now showing Resume) again. Pausing is available at any difficulty and at any point after your first move.

Frequently Asked Questions

Can my snake move diagonally?
No. Every move is exactly one grid square in one of four directions (up, down, left, right). There is no diagonal movement in classic Snake.
Why doesn't pressing the opposite direction turn my snake around?
An immediate 180-degree reversal would mean colliding with the segment directly behind the snake's head, so that input is ignored rather than applied. This has been standard Snake behaviour since the original version.
What is the maximum possible snake length?
In theory, a snake could grow to fill the entire board. In practice this is extremely difficult to reach, since the available safe space shrinks as the snake grows, and most runs end well before the board is full.
Can I change difficulty in the middle of a run?
Yes. Open the settings panel and select a different difficulty at any point. The new speed applies starting with your very next move, without resetting your score or your snake's length.
Does pausing affect my score or reset my run?
No. Pausing simply freezes the game. Your score, snake length, and position on the board are all exactly as you left them when you resume.

Ready to play?

Head back to the game and put these controls into practice.

Play Snake

Free to play. No account needed.