oneshotlm
Compare all models on this prompt →

Conway's Game of Life · glm-5.3

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.

⛨ sandboxed Open in new tab ↗
transcript · 4 messages
user

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.

assistant
write index.html (6694 bytes)
toolResult

Successfully wrote 6694 bytes to index.html

assistant

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.

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

modelglm-5.3
vendorZ.ai · GLM
harnesspi-agent
generated2026-08-27

EVALUATION

3/5 working

Game of Life grid works: click/drag draws cells, space toggles play running to gen 74, but cells died to 0 over time.

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.

idle motion0.0%
on click0.0%
on drag0.5%
on wheel0.0%
on enter + space1.1%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread7.7 / 255
console errors0
js errors none

METRICS

runtime24.9s
tokens in5.0k
tokens out2.2k
cached2.8k
cost / run$0.0136