oneshotlm
Compare all models on this prompt →

Conway's Game of Life · seed-2-1-turbo

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
thinking
I'm planning a Conway's Game of Life web app, and have confirmed the first two features.Remaining requirements are confirmed, I'll write the single-file app now.
write /tmp/ws/index.html (9857 bytes)
toolResult

Successfully wrote 9857 bytes to /tmp/ws/index.html

assistant
thinking
File written, will verify validity.

Created `/tmp/ws/index.html` — a full-screen Conway's Game of Life with: - **Canvas grid** that auto-resizes to fill the window - **Click-and-drag** to toggle cells (sets mode based on first cell clicked) - **Controls**: Play/Pause, Step, Randomize, Clear, and speed slider (1–60 ticks/sec) - **Stats display** showing generation count and alive cells - **Keyboard shortcuts**: Space = play/pause, N/→ = step, R = randomize, C = clear - **Torus wrap-around** at grid edges - **Touch support** for mobile

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

modelseed-2-1-turbo
vendorByteDance · Seed
harnesspi-agent
generated2026-08-13

EVALUATION

4/5 working

Full-screen Game of Life grid with working play/pause (via space/enter/arrows), step, random, clear controls; simulation evolves correctly.

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.1%
on drag0.8%
on wheel0.0%
on enter + space55.2%
on arrow keys34.3%
on w/a/s/d25.5%
frame spread54.2 / 255
console errors0
js errors none

METRICS

runtime54.3s
tokens in7.0k
tokens out3.7k
cached2.7k
cost / run$0.0113