Snake Game Online

Guide the snake, eat yellow food, and grow as long as you can without crashing.

0Score
--Best
15Grid
Press start, then use arrow keys.
How to play

Eat, grow, and stay alive.

Move the snake

Use arrow keys on desktop or the on-screen D-pad on mobile.

Eat food

Each yellow square adds one point and grows the snake by one segment.

Avoid crashes

Hitting any wall or your own body ends the run immediately.

About the game

Snake: The Game That Defined Mobile Gaming

Screenshot of the Snake game grid with the green snake and a red food pellet on SimpleGames.online
Eat the food, grow longer, and avoid crashing.

The Snake game has one of the most well-documented origin stories in gaming history. While grid-based snake games existed in arcades in the 1970s, the version that became iconic worldwide was pre-installed on Nokia mobile phones starting in 1997, programmed by Taneli Armanto. That Nokia Snake was the first mobile game many people ever played, shipping on hundreds of millions of handsets and making it arguably the most-played mobile game in history before the smartphone era.

Snake belongs to a category of games defined by self-competition and organic difficulty scaling. The challenge grows naturally without any deliberate difficulty system: early in a game, avoiding your own body is trivial, but as the snake grows longer, the available safe space shrinks dramatically. The final stages of a long run require careful pre-planning many moves in advance — a fundamentally different cognitive mode than the early reactive phase.

Snake also holds an important place in programming education. Implementing a Snake game is a standard project in introductory computer science courses, teaching array manipulation, game loops, collision detection, and event handling all in one compact exercise. Many developers who work on the game for the first time describe it as the moment abstract programming concepts finally clicked into place.

Tips & strategy

Grow longer without crashing.

Hug the walls early

In the early stages when the snake is short, moving along the perimeter keeps the entire center of the grid open for maneuvering. It reduces the risk of accidentally trapping yourself while you are still building length.

Plan the path, not just the next move

When the snake reaches medium length, think two or three turns ahead rather than reacting only to the food's current position. A longer but safer path to food beats a shorter path that boxes you in.

Coil toward a corner when long

As the snake grows, deliberate coiling into one corner keeps the body compact and predictable. This makes navigating the remaining open space much easier than letting the snake sprawl loosely across the grid.

Never cut off your exit

Before committing to any direction, check that the path ahead does not close off into a dead end. Eating a piece of food that seals your only exit is the most common way games end at high scores.

Frequently asked questions

Common questions about Snake.

How do I control the snake on mobile?

The game includes on-screen direction buttons arranged in a D-pad layout below the board — Up, Down, Left, and Right. On desktop you can also use your keyboard arrow keys. Both control methods work at the same time, so you can switch between them freely.

Does the snake speed up as it grows?

In the current version, the snake moves at a constant speed regardless of length. This keeps the game accessible and focused on spatial planning rather than reaction time. The challenge comes entirely from the shrinking available space.

Why is my best score not saving?

Best scores are stored in your browser's local storage. If you are using a private browsing or incognito window, local storage does not persist when the window closes. Play in a regular browser window to keep your best score between sessions.

What happens when the snake fills the whole grid?

If the snake grows to fill every square on the 15×15 grid, you win with a perfect score. This is extremely rare and requires near-perfect spatial planning for every move over a long session.

Related games