What Is Snake?
Did you know the secret to beating Snake relies on an advanced mathematical concept? The game requires you to navigate a growing snake around a grid without hitting the walls or your own tail. Computer scientists solve the game using a 'Hamiltonian cycle'—a path that visits every square exactly once without crossing itself. Originally tracing its roots to the 1976 arcade game Blockade, Snake gained global fame when design engineer Taneli Armanto programmed it for the Nokia 6110 in 1997. Test your reflexes and spatial awareness by playing our browser-based version now.
How to Play Snake
- Press the arrow keys (or swipe on mobile) to change the snake's direction.
- Navigate the snake's head toward the food items that spawn randomly on the grid.
- Watch the snake's tail grow one segment longer for every piece of food you eat.
- Avoid crashing into the outer walls of the play area.
- Avoid crashing into any part of your own tail as it trails behind you.
- Keep eating food to increase your score until you trap yourself.
Basic Rules
- The snake moves forward continuously at a set speed.
- You can only change its direction by 90 degrees left or right.
- You cannot stop the snake from moving.
- You cannot reverse direction directly into yourself (e.g., pressing Down while moving Up).
- Hitting a wall ends the game instantly.
- Hitting your own body ends the game instantly.
Strategy Tips for Beginners
- Look at the entire board, not just the food. Plan your route to the food while ensuring you have a clear exit path.
- Hug the walls. Running along the outer edge keeps the center open for maneuvering.
- Follow a zig-zag pattern. When the snake grows very long, moving in tight, parallel lines maximizes your available space.
- Never rush into a blind alley formed by your own tail.
- Keep calm as the speed increases. Quick, jerky movements often lead to fatal mistakes.
Real Examples of Gameplay
The Wall Hug
Food spawns near the center, but your tail blocks the direct path. Instead of risking a tight squeeze, you route the snake head along the far right wall, wrap around the top, and safely approach the food from behind.
The Zig-Zag Save
Your snake occupies half the board. To reach the food safely, you weave back and forth in tight columns, packing your tail efficiently so the rest of the board remains clear.
The Emergency Loop
You realize you are heading straight into a wall with your tail blocking the left. You quickly tap Right, Down, and Left in rapid succession, curling the snake's head into a tiny loop just in time for your tail to move out of the way.
Variations of Snake
- Classic (Walled): Standard mode where hitting the outer boundary ends the game.
- Wrap-Around: Moving through a wall teleports the snake to the opposite side of the screen.
Why People Love Snake
- The controls require zero explanation—anyone can play instantly.
- You clearly see exactly why you lost every time, encouraging you to try again.
- The increasing speed and length provide a natural, escalating difficulty curve.
- It delivers pure arcade nostalgia.
Play Snake Online for Free
Play Snake directly in your browser. We built this version with responsive controls for both keyboard arrows and mobile swipe gestures. Chase your high score, practice your zig-zag patterns, and enjoy the classic arcade experience with no downloads required.
Comparison
| Version | Difficulty | Players | Typical Time |
|---|---|---|---|
| Standard | Medium | 1 | 2 to 5 min |
Frequently Asked Questions
How do you beat Snake?
You officially 'beat' the game by growing the snake until it occupies every single square on the grid, leaving no empty space. Doing this manually requires following a perfect Hamiltonian cycle—a continuous loop that covers the entire board.
Who invented Snake?
The core concept originated in 1976 with the arcade game Blockade by Gremlin Industries. However, the specific version we call 'Snake' was programmed by Taneli Armanto for Nokia phones in 1997.
Can I play Snake on my phone?
Yes. Our version supports touch controls. Simply swipe up, down, left, or right anywhere on the screen to change the snake's direction.
Start Playing Now
Snake remains the ultimate test of spatial management and quick reflexes. Guide your snake, eat the food, and see if you can fill the entire board. Start playing now.