Snake Game Tips: How to Get a High Score (and How Fast the Snake Gets)

By Dawid Siedlarz · · 3 min read

Play Snake free →

Short answer: To get a high score in Snake, keep the snake moving along the walls while it is short, switch to a back-and-forth zigzag once it is long, and never turn towards food unless you can see a way out afterwards. Make each turn one step at a time: the game takes only one change of direction per step. You can play Snake online for free in any browser, with no download.

Try it right here, or open Snake full screen.

Snake is one of the oldest video game ideas: steer a line around a box, eat food, grow longer, don't hit anything. The rules never change during a game. What changes is the snake's length and speed, and both work against you.

How our Snake works

  • The board is a 20 × 20 grid: 400 squares.
  • The snake starts 3 squares long in the middle of the board, and waits for your first move.
  • Each piece of food adds one square to the snake and one point to your score.
  • The walls are solid. Hitting a wall or any part of your own body ends the game.
  • Every 5 pieces of food, the snake gets faster, until it reaches top speed.

Because the snake fills squares as it grows, the theoretical maximum score is 397: the 400 squares of the board minus the 3 the snake starts with.

How fast does the snake get?

The snake moves one square per step. A step starts at 150 milliseconds and gets 10 ms shorter after every fifth piece of food, down to 60 ms:

ScoreSnake lengthTime per stepSquares per secondCrossing the board
03150 ms6.73.0 s
1013130 ms7.72.6 s
2023110 ms9.12.2 s
303390 ms11.11.8 s
404370 ms14.31.4 s
45 and more48+60 ms16.71.2 s

So the speed stops rising at a score of 45, and the snake is then 2.5 times as fast as at the start. From there on only the length keeps growing, which is why the strategy has to change around that point.

Snake tips for a higher score

  1. Hug the walls early. While the snake is short, travel along the edges and cut inward only to grab food. The centre of the board stays empty for later, when you need room.
  2. Switch to a zigzag when you are long. Sweep the board in back-and-forth rows. A snake that follows a fixed pattern can never trap itself, because the path ahead is always the one it left behind. On a 20 × 20 board there is a route that visits every square once and returns to the start, so in principle a perfect sweep can fill the whole board.
  3. One turn per step. The game accepts one change of direction per step, and it ignores a turn straight back into the snake. If you are moving right and press up and then left very quickly, the left press is dropped and the snake only goes up. To make a U-turn, press up, wait for the snake to actually move up, then press left.
  4. Look one turn further. Before turning towards food, check that there is space to turn again after you eat it. Food next to a wall or inside a loop of your body is a classic trap.
  5. Follow your tail. Your tail moves away every step you don't eat. When you are in doubt, steering towards the tail is usually safe: that square will be empty by the time you get there.
  6. Take the long way round. If the food is on the far side of your own body, go around it. A few extra steps cost nothing; a squeeze through a one-square gap often ends the game.

Common mistakes

  • The quick double turn. Pressing two directions in a hurry, then crashing because only one counted. Turn, see it happen, turn again.
  • Speeding up your decisions with the snake. After a score of 45 the snake does not get any faster. Use wider, calmer loops instead of tight turns.
  • Splitting the board. Cutting straight across the middle with a long snake divides the free space in two, and the food will appear in the half you can't reach.

Play Snake and other arcade games

Snake on Extensive Harmony works with the arrow keys or WASD on a computer and with swipes or the on-screen arrow pad on a phone. Your best score is saved in your browser. Want more quick arcade rounds? Try Brick Buster or Space Rocks, or browse all free arcade games.