The parts that were genuinely hard — and how they were solved.
Tests that check against published research
The test suite validates classification against known values from the literature — the R-pentomino stabilising at 1,103 generations, apgcodes matching published Catagolue entries. A browser-API shim lets the engine run under Node, so the simulation logic is testable without a headless browser.
Zero dependencies is a constraint, not a boast
There is no runtime dependency in the entire project — no framework, no canvas library, no build step. The one dev dependency renders icons. Every render loop, every spatial optimisation and every piece of UI is written and owned, which is why 24,000 lines still start instantly.
Installable and offline-capable
Full PWA support with maskable icons and standalone display, so it installs to a phone home screen and runs without a network — the simulation never needed a server in the first place.