Saved

Press the star next to a tool's name to save it.

All my tools

Snake Game

Play this free snake game in your browser: steer the snake with the arrow keys, WASD or a swipe, eat food to grow and avoid the walls and your own tail.

Restored your last values ·

Press an arrow key or W, A, S, D to start and steer. On a phone, swipe on the board. Space or P pauses; tap the board to pause or resume.

The game runs in your browser. Your high score is stored only on this device.

Game

–

Recent results

Snake is one of the simplest and most popular arcade games ever made. This free snake game runs in your browser, so you can play it on a computer or phone without installing anything.

You steer a snake that keeps moving by itself. Eat the food to grow longer, and avoid the walls and your own body. [1]

How to play the snake game

The snake moves one square at a time in the direction it faces. You can only turn left or right relative to its movement, because turning straight back would make it hit itself. Each time its head reaches the food, the snake grows by one square and your score goes up by one. [1]

The run ends when the head touches a wall or any part of the snake’s body. [1] The longer the snake gets, the less room you have, so the game gets harder the better you play.

Controls

  • Keyboard: arrow keys or W, A, S, D steer the snake.
  • Touch: swipe on the board in the direction you want to turn.
  • Pause: press Space or P, tap the board, or use the Pause button.

The game queues up to three quick turns, so a fast combination such as up then left is not lost if you press both keys within one step. This matters on the fast speeds.

Speeds

Choose a speed before you start. Changing it starts a new game so that scores stay comparable.

SpeedStep time
Slow170 ms
Normal115 ms
Fast75 ms
Insane50 ms

Our own working: Normal is a good starting point. Slow is useful on a touch screen while you get used to swiping.

Strategy tips

  • Keep the snake along the edges early on and leave the middle open. This gives you more room to turn.
  • Plan two moves ahead. Look at where the food is and where your tail will be after the next steps.
  • Avoid making tight spirals. A snake that coils around itself runs out of room fast.
  • When the snake is long, follow a steady back-and-forth path that covers the board row by row.
  • Do not rush to the food if it means trapping yourself. Waiting one move is often safer.

A short history of snake

The idea began with arcade games in the 1970s, where two players steered lines that grew as they moved. [1] Single-player versions with food followed on home computers, and in 1998 a version of snake was preloaded on Nokia 6110 phones, which made it popular with millions of people. [1]

This game is our own implementation. It has its own look and uses only the generic rules of the genre.

Common mistakes in the snake game

  • Pressing two keys at once and turning into your own neck. The game blocks a direct reverse, but a quick pair of turns can still trap you.
  • Chasing food along the wall. Food next to a wall limits your turns, so approach it from the open side when you can.
  • Ignoring the tail. The tail square frees up as you move, so you may follow your own tail closely, but only if you are not eating on that step.
  • Playing too fast too soon. Raising the speed before your routes are automatic usually lowers your score.

When the snake fills the whole board there is no space left for food, and the game ends. That is the best result you can reach, and it takes careful planning from the first move.

Practice routines that help

Try a one-minute drill on Slow where you only collect food along a snaking route that covers every row. Then repeat it on Normal. The goal is to build a habit of moving in long, regular sweeps, not in short zigzags. After a few sessions most players see their score rise without playing any faster.

Another useful drill is to play with the food placed in awkward corners, which happens by chance. When it appears, stop and think about which side to approach from before you move. A pause of a second costs nothing, since the game waits for you when you press Pause.

High score and privacy

When a run ends, the game compares your score with your best one. If you beat it, the new high score is saved in your browser. Nothing is sent to a server, and clearing your browser data resets the record. If your browser blocks storage, the game still works without a saved record.

Playing on a phone

Swipe anywhere on the board. A short swipe of about two dozen pixels is enough. If a swipe is too short, the game treats it as a tap and pauses, which is a handy way to take a break. Make sure your page is not scrolling, because the board blocks touch scrolling so the swipes work.

Why play snake

Snake is a quick way to practise planning and quick reactions. A round takes from a few seconds to a few minutes, so it fits into any short break. Try beating your own high score on each speed.

What next

Use this often? Add Snake Game to your Home screen.

Frequently asked questions

What is the snake game?

Snake is an arcade game where you steer a growing line around a board, eat food and avoid walls and your own body.

How do I control the snake on my phone?

Swipe on the board in the direction you want to turn. A tap pauses or resumes the game.

Can I pause the snake game?

Yes. Press Space or P, tap the board or use the Pause button. Press Start to continue.

Does the game save my high score?

Yes, in your browser on this device only. Clearing your browser data removes it, and nothing is sent to a server.

Why did the snake game end?

The run ends when the snake’s head hits a wall or its own body. Plan your turns early so you keep enough room.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Fun & Lifestyle Tools