Snake, No Engine

The other half of the experiment: Snake with no engine at all, written as a React component so it could ship inside the article about writing it. It loads in the time it takes to blink.

React canvas · loads instantly

score 0best 0

Snake

Arrows / WASD to steer. Swipe on mobile.

space pauses · high score stays in your browser

How to play

  • arrows or wasd steer · swipe on mobile
  • space or p pauses · your best score stays in your browser

Changelog

  • 2026-07-09·Shipped inside its own blog post.
Read the story: Snake, Playable Right Here in This Post