Conway's Game of Life · glm-5.3
Output generated Cost / run $0.0136 Runtime 24.9s
Prompt for this run
Run Conway's Game of Life on a full-screen canvas grid with click-and-drag to toggle cells, plus play/pause, step, randomize, and clear controls.
TAKE IT TO CODE
A single self-contained HTML file — copy it and open in any browser, or reuse the prompt with your own pi-agent run.
RUN
METRICS
Transcript · 4 messages
Run Conway's Game of Life on a full-screen canvas grid with click-and-drag to toggle cells, plus play/pause, step, randomize, and clear controls.
index.html (6694 bytes)Successfully wrote 6694 bytes to index.html
Done — `index.html` contains the full app: - **Full-screen canvas grid** with a subtle grid overlay; cells auto-fit on window resize - **Click & drag** to toggle cells (drag paints with the value of the first cell clicked; right-click drag erases) - **Controls**: ▶ Play/Pause, Step, Randomize (25% density), Clear, plus a speed slider (1–30 gen/s) - **Live stats** (generation & live cell count) and **keyboard shortcuts**: Space, S, R, C All CSS/JS is inline and there are no external resources — it runs fully offline.