Home / Catalog / Snake / Rules
How to play · Rules

How to play Snake

The full guide: the goal, controls, eating food and growing, speed-up, how not to crash into the wall and your tail, two-player mode, controls on muta.pro and tips for beginners. Read it — and jump straight into the game.

Play now

In brief

Goal
Grow and score points
Players
1–2
Game length
2–10 min
Difficulty
Easy
Genre
Arcade

Goal of the game

Snake is a classic arcade game in which you steer a growing snake around an enclosed field. Your task is to eat the food that appears and score points, all while avoiding crashing into the wall and running into your own tail. The more food you eat, the longer and less nimble the snake becomes — and the harder it is to avoid your own body. In single-player mode the goal is to beat your high score; in two-player mode, to outlive your opponent.

Setup

The game is played on a rectangular grid of cells. At the start the snake is short — just a few segments — and immediately begins crawling in the chosen direction. One piece of food appears on the field; the moment it is eaten, a new one instantly springs up in a random spot. The snake never stops for a second, so you have to steer on the move.

Playing a game

Constant movement

The snake crawls on its own without stopping. You only set the direction of the turn — up, down, left or right.

Eat the food

Guide the head onto the food to eat it and earn points. After each piece a new one appears on the field.

Tail growth

With every piece of food eaten the snake grows by one segment. A long tail is your biggest danger to yourself.

Collision = game over

Hitting the wall or your own tail with the head ends the game. You cannot turn 180° — only turn to the side.

Growth, speed and two-player play

Growth and speed. The longer the snake gets, the higher the risk of boxing yourself into a corner with your own body. On many levels the pace of the game gradually speeds up as you score, so you have to react faster and faster. Plan your route a couple of steps ahead and leave yourself escape routes so you don't end up trapped by your own tail.

Two-player mode. Two snakes crawl across a single field, each controlled by its own player. Whoever crashes first loses — into the wall, into their own tail or into the opponent's body. The winning snake is the one that lasts longer or scores more points. This turns a calm arcade game into a nervy race for space.

Controls on muta.pro

⬆️
Arrow keys
The arrows ↑ ↓ ← → set the snake's direction. The turn takes effect on the next step.
⌨️
WASD
An alternative to the arrows — the W, A, S, D keys. Handy for the second player in two-player mode.
👆
Swipes
On a phone or tablet, swipe your finger across the screen in the direction you want — the snake will turn there.
⏸️
Pause and restart
The space bar or a button pauses the game. After a loss — a "Restart" button and a score table.

Tips for beginners

Stay near the edges

Move along the walls and around the perimeter — that leaves free space in the centre for manoeuvring.

Don't box yourself in

A long tail makes it easy to surround yourself. Always leave a way out of the zone you're crawling into.

Think one step ahead

Turn early: at high speed a sharp turn right at the wall often ends in a crash.

Don't chase every piece of food

If food appears in a dangerous corner, sometimes it's better to make a loop and wait for the next one.

High-score technique

A high score in Snake is not about reflexes but about your route. Experienced players don't chase the food — they decide in advance which path will sweep the whole field so the body never cuts off the way to the next bite. The key trick is the "boustrophedon": the snake literally snakes, crawling over the field row by row back and forth, the way a plough turns furrows.

Stay near the walls

While the snake is short, crawl right along the edge of the field. A wall is one safe side: your body can't surround you from where you can no longer crash.

Move in furrows

Cover the field row by row: down one column, turn, up the next. That way you cover every cell and always know where your tail is.

Leave a gap

With a long body keep one free "lane" along the perimeter — the tail will retreat along it, freeing up cells while the head eats.

🍎

Boustrophedon: the snake passes over the field furrow by furrow back and forth and covers the food (🍎) without locking itself in.

Advanced techniques

Once the snake takes up half the field, a simple "hug the walls" is no longer enough — you need to manage the free space. The key idea: think not about where the head is crawling, but about whether the field will stay connected — whether you'll still be able to reach any empty cell afterwards without running into your tail.

Spiral inward

With a long body, coil into a spiral toward the centre and unwind outward. That packs the tail tightly without leaving pocket traps.

Count the tail

The tail shortens by exactly the cell you passed long ago with every step. A one-row-wide passage is safe if the tail clears the exit in time.

Don't split the field in two

A line of body across the whole field divides the space into two parts. Food in the cut-off half becomes unreachable — avoid such "walls" made of yourself.

🍎

Spiral: the body is coiled tightly, the head (◉) runs along the outer loop — the field stays connected and the food is reachable.

Modes and challenges

Behind the classic Snake hide several different games — they change not the rules but how you keep the pace. Understanding the mode tells you what to play for: for a long life, for scoring speed, or for surviving against an opponent.

Solo high score

A calm mode aiming for maximum points. Here patience wins: a careful boustrophedon almost always beats a chaotic chase for food.

Speed-up

The pace rises with the score. Turn early — at high speed a decision right at the wall is late by a whole cell.

Two on the field

Two snakes, one shared space. The tactic is to cut off your opponent's room with your body and force them to crash, while you stay near the wall.

Play for space

In a duel it matters less to eat the food first than to deny the opponent free cells. Take the centre — it divides the field in your favour.

Keep your distance

Don't cross the other head's course up close: at equal speed a head-on approach almost always ends in your crash into the other body.

Common mistakes

Almost every loss in Snake is not bad luck but one of a few recurring blunders. Sort them out — and your average game length will double before you even touch any "technique".

  1. Chasing every piece of food. A bite in a dangerous corner is not worth your life. Make a loop and wait — new food will appear in a convenient spot.
  2. Double-tapping the turn. A quick "up-right" on one step can be read by the snake as a reversal into the neck. Give one command per cell.
  3. A sharp turn at the wall. At speed the decision is late. Turn one or two cells before the edge, not right up against it.
  4. Trapping yourself with the tail. You crawled into a pocket that you yourself closed off with your body — and there's no way out. Always leave an open lane to the outside.
  5. Wandering the centre without a plan. Free roaming in the middle of the field sooner or later surrounds the head with your own body. Stick to structure — the walls and the furrows.

Trap: the head (◉) is locked in a pocket of its own body — there's no way out, a sure loss.

Frequently asked questions

How do I steer the snake?
With the arrow keys or WASD on the keyboard, and on a phone — with swipes across the screen. You only set the direction of the turn; the snake crawls on its own.
Why did the game end?
The snake's head crashed into the wall or into its own tail. Those are the only ways to lose.
Can I turn back around?
No, a 180° reversal is impossible — it would cause an instant collision with the neck. You can only turn left or right.
How do I play with two players?
In two-player mode two snakes crawl across the field. The winner is the one that survives longer or scores more points; hitting the other body is also fatal.
What is the boustrophedon movement?
It is passing over the field in rows back and forth, the way a plough turns furrows: down one column, turn, up the next. Such a route covers every cell and keeps the body from cutting the head off from the food, which is why it delivers the most consistent high score.
How do I avoid trapping myself with a long tail?
Keep one free lane along the perimeter or coil into a tight spiral. Remember that the tail shortens with every step, so a narrow passage is safe if the rear of your body clears the exit by the time you crawl there.
Should I chase every piece of food?
No. If a piece appears in a dangerous corner or requires you to cut the field with your body, it is better to make a loop and wait for the next food. One point is not worth a lost game.
Why do I crash into walls at high speed?
At speed the turn command only takes effect on the next step, and right at the edge there isn't room for that step. Turn one or two cells before the wall, not right up against it.
How do I win in two-player mode?
Play for space, not for food: take the centre and use your body to cut off your opponent's free cells, forcing them to crash. Meanwhile stay near the wall, where you can't be surrounded, and don't go for a head-to-head collision course.
Is there a limit to the snake's length?
The theoretical limit is to fill the whole field with your body, but in practice almost no one reaches it: long before that, room to manoeuvre disappears. The real goal is to survive as long as possible and pack the body as tightly as you can, leaving no unreachable cells.
Ready to crawl?
Create a room, invite a friend by code, or play solo for a high score.

Similar games