oneshotlm
Compare all models on this prompt →

Conway's Game of Life · qwen3-coder-next

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 /tmp/ws/index.html (16341 bytes)
toolResult

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

assistant

Created `index.html` with a complete Conway's Game of Life implementation featuring: - **Full-screen canvas** with interactive grid - **Click-and-drag** to toggle cells (drag to draw patterns) - **Controls**: Play/Pause, Step, Randomize, Clear - **Statistics**: Generation counter and population count - **Keyboard shortcuts**: Space (play/pause), R (randomize), C (clear), S (step) - **Responsive design** that adapts to window size - **Modern UI** with dark theme and smooth interactions All CSS, JavaScript, and HTML are in a single self-contained file with no external dependencies.

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

modelqwen3-coder-next
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Game of Life grid works with drag-drawn glider pattern, play/step/randomize/clear controls, and Enter/Space toggling play state; population dies out over generations.

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 drag1.1%
on wheel0.0%
on enter + space1.3%
on arrow keys0.2%
on w/a/s/d0.3%
frame spread15.6 / 255
console errors0
js errors none

METRICS

runtime42.9s
tokens in5.1k
tokens out3.4k
cached1.6k
cost / run$0.0035