oneshotlm
Compare all models on this prompt →

Conway's Game of Life · gpt-4.1-mini

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 (5898 bytes)
toolResult

Successfully wrote 5898 bytes to index.html

assistant

I have created a self-contained single-page web app in index.html that runs Conway's Game of Life on a full-screen canvas. You can click and drag to toggle cells. Controls at the bottom allow you to play/pause, step one generation, randomize, and clear the grid. All code, CSS, and JS are inline with no external dependencies. You can open index.html in a web browser to try it out.

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

modelgpt-4.1-mini
vendorOpenAI
harnesspi-agent
generated2026-08-01

EVALUATION

2/5 partial

Blank grid with only a tiny sparse pattern; click toggled one cell, drag drew a curve, but no animation or full grid activity visible.

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

METRICS

runtime24.8s
tokens in4.3k
tokens out2.1k
cached1.0k
cost / run$0.0047