Snake
The timeless arcade classic, reborn in HTML5. Eat, grow, don't bite yourself.
About Snake
Snake is arguably the most widely played arcade game in human history. Its earliest recognisable ancestor is Gremlin's 1976 black-and-white coin-op Blockade, in which two players competed to trap each other with growing walls. By 1982 the Apple II had Worm, and in 1997 Nokia pre-installed a solo version called simply "Snake" on the monochrome 6110 handset. That single decision pushed Snake onto hundreds of millions of pockets throughout the late 1990s and early 2000s and made it, for a generation, the first video game anyone ever played. Our HTML5 remake keeps the mechanics that made the original iconic: one button at a time, a tightly bounded grid, and a snake that simply will not stop.
The appeal is the tension between two opposing forces. Every apple you eat makes your score climb and rewards the risk you just took — but it also grows your body by one segment, shrinking the safe space you have left to navigate. Good Snake is therefore a slow-motion puzzle about not painting yourself into a corner. Expert players can fill almost the entire grid before making the single mistake that ends the run, and the world's top scores on the Nokia version ran into the millions of apples collected.
How to Play Snake
Use the arrow keys on desktop (or WASD) to steer. On a phone or tablet, swipe in any of the four directions on the play area, or use the on-screen D-pad. Collect each apple that appears to grow one segment longer and add points to your score. There are no levels, no power-ups, and no time pressure — the run continues as long as you can avoid hitting a wall or your own tail. Snake cannot stop moving and cannot reverse direction in a single step (trying to turn 180° is treated as a no-op for safety), so plan every turn two or three cells ahead.
Your high score is saved in your browser automatically. Because the game uses a fixed-tick loop, every move happens in the same amount of real time; you cannot "pause" simply by not pressing a key, and the snake will keep travelling in its last direction until you send a new input. Many players rest their thumb on the input device so they can tap through emergencies in rapid succession.
Strategy Guide: 7 Tips For Higher Scores
- Hug the perimeter first. Early in a run, travel along the walls before you start carving the interior. You reduce the amount of tail you have to track in your head.
- Commit to a pattern. A boustrophedon sweep (snake back and forth like a lawn-mower) lets you visit every cell safely when the body is short.
- Keep the tail visible. Try never to loop around your own body such that you cannot see both the head and the tip of the tail from one quick glance.
- Don't chase every apple. If the apple spawns in a dangerous pocket, it is often safer to keep grazing and wait for the next one.
- Create a "garage." Once your snake is long, designate a specific corner you can coil into when you need to reset your mental model.
- Slow down mentally, not physically. The snake's speed is fixed, so your only speed advantage is calm decisions.
- Plan 3-4 moves ahead. Expert players always know their next three turns before the apple is even eaten.
Common Mistakes
- Trying to reverse. 180° turns do not work; attempting them wastes a tick.
- Hesitating at the wall. A wall-hug works only if you are fully committed.
- Forgetting the tail moves too. The cell your tail just vacated becomes safe.
- Rushing apples near the center. Late-game, center apples are traps.
FAQ
Can the snake wrap around the edges?
Not in this build. Hitting any wall ends the run. Treat the walls like permanent obstacles and plan your routes accordingly.
Does the game get harder as I grow?
Effectively yes. The grid itself does not change, but your longer body leaves less safe space, so choices that were free early on become risky.
Is Snake suitable for kids?
Absolutely. There is no violence, no timed countdown, and the controls are easy to learn on any device. It is one of the best "first video games" ever made.
How is my score calculated?
You earn a fixed number of points per apple. The total is saved to your browser's localStorage so returning visits can beat your own record.
Does the snake speed up?
This version uses a constant tick rate. Other Snake variants accelerate with score — you can feel the difference by playing several modern clones.
Can I pause the game?
Leaving the window or switching tabs generally pauses most browsers' rendering. There is no explicit pause button in this build.
Is there a perfect Snake strategy?
A "Hamiltonian cycle" theoretically lets the snake fill every cell. In practice, perfect play is boring to watch; most humans aim for "long run with steady risk" instead.
Who made the original Snake?
Gremlin's Blockade (1976) is the grandparent, but the version most people remember is the 1997 port by Taneli Armanto for the Nokia 6110. This reskin uses mpaterakis' open-source HTML5 engine.