CalcCafe

Snake Game

Play the classic Snake game free in your browser. Steer the snake with your arrow keys, WASD or a swipe, eat food to grow longer and faster, and try to beat your best score — everything runs locally and works offline.

Reviewed by the CalcCafe editorial team · Last updated 18 July 2026 · How we test our tools

0
Score
0
Best

Arrow keys / WASD to steer — on touch screens, swipe the board. Press any direction to start.

Text alternative: Snake is played on a twenty by twenty grid. The snake starts three segments long, moving right, and advances one cell per step. Eating the food makes it one segment longer and slightly faster; running into a wall or its own body ends the game. The score is the number of foods eaten. This canvas game requires a keyboard or touch screen to play.

How to play

The snake lives on a 20×20 grid. It starts three segments long, moving right, and advances one cell per step in whatever direction you last chose — arrow keys or WASD on a computer, a swipe anywhere on the board on a phone. One piece of food is always on the board; steer the head onto it and the snake grows by one segment, your score goes up by one, and a new food appears in a random empty cell. The run ends the moment the head hits any of the four walls or any part of the snake's own body.

Speed is the real opponent. The snake begins at one step every 150 milliseconds and gets 3 milliseconds faster with every food, bottoming out at 60 milliseconds per step — roughly 17 moves a second. Reversing straight into yourself is impossible: pressing left while moving right is simply ignored, and rapid double-taps are queued so a quick up-then-left is applied cleanly over two steps instead of killing you. Your best score is saved on your device, and New Game restarts instantly — the snake waits for your first direction press before it starts moving.

Strategy tips

Early on, take the shortest sensible path to each food, but never approach it along a wall if you can help it — food that spawns in a corner is the classic beginner's death, because you arrive with no room to turn. A better habit is to approach food so that your exit is open: aim to cross the food travelling toward the middle of the board rather than toward an edge. Keep your turns wide while the snake is short; tight turns are a skill you should save for when the board forces them on you.

Once the snake gets long, stop chasing food directly and start managing space. The safest pattern is the boustrophedon — sweeping back and forth in an S-shape, lawn-mower style — because it visits every cell without the path ever crossing itself. A related trick is tail-chasing: the cell your tail is about to vacate is always safe to enter, so following your own tail closely buys time when the board is crowded. Above all, at high speed resist the urge to hammer keys; one queued input per step is all the game needs, and panic-tapping is how most long runs end.

Frequently asked questions

Is this Snake game free to play?
Yes — completely free, with no sign-up, no ads inside the game and no downloads. Once the page has loaded it works offline too, so you can keep playing without an internet connection.
Does the game collect or upload any data?
No. The whole game runs locally in your browser and nothing about your play is uploaded. The only thing stored is your best score, kept in your browser's local storage on your own device so it survives refreshes. Clearing your browser data removes it.
Why can't I turn straight back the way I came?
A 180-degree reversal would make the snake's head collide with its own neck instantly, so the game deliberately ignores it — pressing left while moving right does nothing. Quick double-taps are queued instead, so an up-then-left combination is applied over two steps rather than being lost.
How fast does the snake get?
The snake starts at one step every 150 milliseconds and speeds up by 3 milliseconds for every food eaten, down to a floor of 60 milliseconds per step — roughly 17 moves per second. The last stretch of a long game is genuinely fast.

People also ask

What is a good score in the Snake game?
On a 20 by 20 board, 20 foods is a respectable casual score, 50 shows real control, and anything past 100 is expert territory because the snake is both very long and very fast by then. The theoretical maximum here is 397, which fills the entire grid.
Who made the original Snake game?
The concept dates back to the 1976 arcade game Blockade by Gremlin Industries, but Snake became world-famous in 1997 when Nokia preloaded Taneli Armanto's version on the Nokia 6110 mobile phone, putting it in hundreds of millions of pockets.
Can the Snake game actually be beaten?
Yes, in principle. If the snake fills every cell of the grid there is no room left for food and the game is complete. On this 20 by 20 board that means growing from 3 segments to 400 — 397 foods — which is why systematic space-filling routes, not reflexes, are what expert players practise.

Related tools

Sources & references

These tools follow our methodology and provide educational estimates only — verify important figures with a qualified professional.