READER EDITION / ISSUE 001 / Revised 2026-11-15
Creative Agentic Computing
CodeFarmer / Issue 001
PROMPT-IN 002 / THE COMPLETE BRIEF

Grow a world
from a rule.

Complete brief / keep the acceptance checks
Build Digital Garden in one self-contained HTML file named 002-digital-garden.html. Use embedded CSS and JavaScript, system fonts and a 24-column by 16-row grid of accessible toggle buttons. Use Conway-style rules: a living cell survives with two or three living neighbors; an empty cell becomes alive with exactly three. Cells beyond the fixed edges are dead. Store age from 1 through 9 for living cells, capped at 9; zero means empty. Use color for age and a visible dot for life. Create a deterministic initial garden from seed 1974, with about 27 percent living cells. Add Grow/Pause, One generation, Reseed and Clear. Growing advances every 350 ms. Pause while editing, restoring, switching away or focusing the notebook. Let people click or tap cells. Support arrow-key focus movement and Space to toggle. Keep the page itself within a narrow viewport; allow the garden alone to scroll sideways so cell targets remain usable. Add a text notebook. Copy garden writes JSON with version=1, width=24, height=16 and 384 integer cell ages. Restore must validate every field and keep the current garden unchanged if validation fails. Explain that readers save the notebook text themselves. Separate the simulation rules for testing. Check an empty garden, a stable block, a period-two blinker, fixed boundaries, reproducible seeds, valid save/restore and malformed input. Test the controls and narrow-screen layout in a browser. Report actual results.