Conway's Game of Life · claude-opus-4.8
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.
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.
thinking
I'm starting to build out the single-page application.
index.html (7333 bytes)Successfully wrote 7333 bytes to index.html
Created `index.html` — a fully self-contained Conway's Game of Life. Features: - **Full-screen canvas** that resizes with the window (preserving existing cells) - **Click-and-drag to toggle** cells (paints alive/dead based on the first cell you touch); touch supported too - **Play/Pause**, **Step**, **Randomize**, **Clear** buttons - **Speed** and **Cell size** sliders - Toroidal (wrap-around) grid, generation + live-cell counter - Keyboard shortcuts: `Space` play/pause, `s` step, `r` randomize, `c` clear Open it in any browser — no network or external files needed.
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
EVALUATION
Game of Life simulation runs with visible cellular evolution, controls for play/step/randomize/clear all functional.
Vision grade · anthropic/claude-sonnet-5
MEASUREMENTS
Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.