Snake

Arcade Open source

By Frank Force · MIT license. Source · All credits

About Snake

The snake game you already know. Eat to grow, and the longer you get the less room you leave yourself. There is a versus mode too, where you race a computer snake to ten apples.

How to play

Turn your phone sideways, then tap the on-screen direction pad to steer.

Rules of Snake

  • The board is twenty four cells across and eighteen down, and the snake never stops moving.
  • Every apple adds one segment and one point, and in the classic run it also makes the snake slightly faster.
  • The classic run reaches its top speed at twenty apples and holds there for the rest of the game.
  • Hitting a wall or your own body ends the run immediately, because there are no lives.
  • You cannot turn straight back on yourself, so a reversing input is ignored rather than fatal.
  • Once you are past five points a bonus fruit turns up from time to time, worth five points and two extra segments, and it vanishes after about six seconds if you leave it.
  • Versus mode is against a computer snake rather than a second person, it runs at one fixed speed, and the first side to ten apples wins.

Controls

  • Swipe to change direction
  • Arrow keys on a desktop

What makes it worth playing

  • The classic: eat to grow, do not hit yourself
  • Every piece of food makes the puzzle tighter
  • Best score kept between sessions
  • Clean, readable board

Screenshots

Snake gameplay screenshot 1Snake gameplay screenshot 2

Captured from this build on 2026-08-26.

Tips from playing it

  • Move along the edges and leave the middle open for later.
  • Plan the exit before you go for food in a tight space.
  • As you get long, follow your own tail. It is always a safe path.

Why this game is here, and what we changed

Picked from the MIT-licensed LittleJS Arcade by Frank Force after checking the licence at source rather than trusting the repository label, and after confirming the game makes no requests to any other site. We host it on our own servers, so it loads straight into the game with no third-party ad code and no pre-roll video. We played it through on a real phone-sized screen on 2026-08-26 before publishing this page, and the screenshots above are from that session rather than from the original project.

More on how we pick and fix these: what we changed in the open-source games and how we test a game.

snakeclassicarcadevs computer
Category
Arcade
Plays in
Your browser, no download
Orientation
Landscape
Players
One player.
Difficulty
Easy for a minute, unforgiving after that
Typical session
1 to 5 minutes a run
Last tested by us
2026-08-26
Created by
Frank Force (MIT)