JavaScript Snake
Classic Snake written in strikingly little code, with both wrap-around and solid-wall modes.
How to play
Steer with the arrow keys, eat food to grow longer and score higher. Touch your own tail and the run ends; the walls kill or wrap depending on the mode.
Arrow keys.
Integration notes
One of the smallest entries at a few dozen kilobytes — zero loading friction. Tiny tweaks like an invincibility mode or speed power-ups spin it into fresh variants, so it gets reused endlessly.
FAQ
Is JavaScript Snake free to play?
Yes. JavaScript Snake is completely free, runs in your browser, and needs no install or account.
Is JavaScript Snake open source?
Yes. It hosts the original open-source code by patorjk, released under MIT. Source: https://github.com/patorjk/JavaScript-Snake
How do you play JavaScript Snake?
Arrow keys.
More like this
▶ Playable T-Rex Runner
The Chrome offline dino, taken straight from the Chromium source — as authentic as it gets.
▶ Playable Snake.io (Offline)
Slither-style snake arena — grow by eating pellets, avoid hitting other snakes, AI bots included.
▶ Playable Hextris
Hexagon-flavored arcade puzzler: spin a central hex to stack and clear incoming colored blocks.