Snake

Eat, grow, and do not hit the walls

Snake is the classic arcade chase rebuilt as a single self-contained browser page. You guide a short serpent across a twenty-by-twenty grid, starting at just three segments long. Each time the snake's head reaches the glowing food square, the snake grows by one segment and your score ticks up by one. The moment the head hits a wall or runs into its own body, the run ends.\n\nWhat makes this build comfortable is the control it hands you. Three speed tiers, Slow, Medium and Fast, change how often the board updates, so you can learn the timing on Slow before pushing for a high score on Fast. Your best score for each speed is stored only on your own device, and the food generator is written so a new pellet never appears on top of the snake.\n\nSteering works the same on every device. On desktop, use the arrow keys or WASD; on a phone or tablet, swipe in the direction you want to turn, and tap Play again to return to the menu. A quick press of P pauses and resumes without losing your position, which is handy when something interrupts a long run.\n\nThe whole game is one self-contained HTML file with no external libraries, no fonts to download, no network requests after load and no tracking. It runs in any modern browser, reflows to a portrait phone screen, needs no account and nothing to install. A full run lasts exactly as long as your reflexes hold out.

How to play

  1. Pick Slow, Medium or Fast from the start screen to begin a run.
  2. Steer the snake with the arrow keys, WASD, or by swiping on a touch screen.
  3. Eat the food square to grow one segment longer and add a point to your score.
  4. Avoid running the head into any wall or into the snake's own body.
  5. The run ends on collision, then your score and best are shown on the game-over screen.

Controls

  • Keyboard: Arrow keys or WASD to change direction
  • Touch: swipe in any direction to steer the snake
  • Keyboard: press P to pause and resume
  • Buttons: choose a speed on the start screen, then Play again to return to the menu

Tips

  • Keep the snake near the centre early on so you always have room to turn.
  • Plan two moves ahead; a tight loop leaves no escape once the board fills up.
  • On Fast, make only gentle direction changes, since sharp turns at speed end runs quickly.

Frequently asked questions

Is Snake free to play?

Yes. It runs entirely in your browser with no cost, no account and nothing to download.

Does it work on a phone?

Yes. Swipe controls are fully supported and the board reflows to a portrait phone screen.

Are my scores saved?

Your best score for each speed tier is stored locally on your device only, and is never sent over the network.

Can I pause a run?

Yes. Press P at any time to pause and press it again to resume without losing your position.

More games