An earlier version of this page, kept as it was (blog commit c4ba391). Read the current introduction.
Introducing Snake: the classic, in neon, and furious about it
Snake is the old phone game, played in a browser tab. You steer a snake around a square grid, eat what appears, get longer, and lose the moment you run into a wall or into your own tail. There is nothing to install and no account; open the page and press start. It works on a laptop and on a phone.
It is for anyone with a couple of minutes to kill. The one thing that sets it apart from the hundred other Snake clones is its mood: the whole page is angry. The buttons, the status line, the pause screen and the game-over message are written in the voice of an arcade cabinet with a grudge, and the speeds are called Irked, Angry and Livid. The game underneath is the plain, fair Snake you remember.
How to play
- Start with the button on the board, or the space bar.
- Steer with the arrow keys or W A S D, by swiping on the board, or with the on-screen arrow pad (handy on a phone).
- Eat the glowing pink shards. Each is worth 10 points and makes the snake one square longer.
- Don't crash. The board is 24 by 24 squares with solid walls. Hitting a wall or any part of your own body ends the run.
- Pause with space, P or Escape, or the Hold button; the game also pauses by itself if you switch tabs or windows. R starts again.
- Pick a speed before you start. Changing speed mid-game throws the current run away, so it can't be used to slow down when things get tight.
The game speeds up as you go: every 50 points is a new "rage" level, and each one shaves a little off the time between moves, down to a floor. Fill every square of the board and you win outright.
Your best score is kept in your own browser and shown beside the current one. Nothing is sent anywhere; there are no leaderboards and the server keeps no state at all.
Small things that make it feel right
A few details are the difference between a Snake that feels fair and one that feels broken:
- Turns are queued, two deep. If you press up and then left faster than one move, both turns happen, in order, on consecutive moves. A turn straight back into yourself, or a repeat of the direction you're already going, is ignored rather than killing you.
- Swipes are measured, not guessed. A swipe only counts once your finger has moved 15 pixels, and the longer axis decides the direction, so a slightly diagonal swipe still does what you meant.
- Food never lands on the snake. It is placed at random among the empty squares only.
- Motion is optional. The pulsing glow on the food stops if your system asks for reduced motion.
The queue is the part that matters most, and it is small:
function steer(name) {
const next = vectors[name];
const prev = queue.length ? queue[queue.length - 1] : direction;
const same = next.x === prev.x && next.y === prev.y;
const reverse = next.x === -prev.x && next.y === -prev.y;
if (queue.length < 2 && !same && !reverse) queue.push(next);
}
// each tick: if (queue.length) direction = queue.shift();
Where it came from
Snake was made on 20 October 2026 by a coding agent (opencode) working in this config, as a self-contained game with keyboard, swipe and arrow controls, three speeds, pause and restart, and a local best score. The whole game is one page: a canvas, some CSS and about a hundred lines of script, served as a single HTML response by a server function of about ten lines.
The next day it was restyled along with the other pages to share the same look. On 28 October its words were rewritten in the angry voice it has now, with the gameplay left exactly as it was.
It briefly had siblings. A fork called Snake 2 added a wraparound mode and timed gold bonuses, and a small Flappy Bird-style game appeared the same day. Both were played for a day and removed on 29 October in a tidy-up of finished apps; the original Snake stayed.