About Snake

The classic snake game, made entirely of text characters.

Snake is the arcade classic, played in your browser. You steer a snake around a walled board. It never stops moving, so all you choose is where it turns. Every ● you eat makes it longer, and the longer it gets, the harder it is to stay out of your own way. Eat ten to clear the level, and the next one is faster, with new walls in your path. Crash three times and the run is over.

Everything is a character

Every part of the board is a text character drawn in a monospace font:

The font is DejaVu Sans Mono, trimmed down to just the characters Charcadia uses. Because the board is a grid of characters rather than pictures, it stays sharp at any screen size, in both the light and dark themes.

How the levels work

Level 1 is an open field with walls only round the edge. Each level after that brings a new layout: two long bars, two pillars, a box with a door on each side, four corners, a cross, and a comb of walls reaching in from the edges. From level 8 the layouts come round again, with a few short walls scattered in at random, one more each level up to eight. The game checks that every open square can still be reached before it places a wall.

The snake starts each level on the left, facing right, and waits for your first key. It speeds up a little every level until level 12, then holds that pace. The board is sized to fit your screen, with about 560 squares in all. The strategy guide has tips for the later levels.

Small and fast

Snake is written in plain HTML, CSS and JavaScript, with no frameworks. The whole game is a few kilobytes once compressed, plus the font.

There's no account and no server-side game data. Your best score and your choice of head, theme and controls are saved only in your own browser.

Part of Charcadia

Snake is part of Charcadia, a small family of games, each built entirely from text characters. Its siblings are Chase, a maze chase; Crash, a racer; Ships, a space shooter; Jump, a platformer; Bricks, a brick breaker; Paddles, a paddle duel; Cross, a road-crossing game; Skeet, a clay shooting game; Hockey, an air hockey game; Launch, a trebuchet launcher; and Derby, a home run derby.

Who makes it

Snake is made by Cory Webb Media. It's free to play.

How long can you grow?

Play Snake