oneshotlm
Compare all models on this prompt →

Conway's Game of Life · llama-3.1-70b-instruct

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

Successfully wrote 3016 bytes to index.html

assistant

This code creates a full-screen canvas grid where you can click and drag to toggle cells. There are also play/pause, step, randomize, and clear controls. The Game of Life is implemented using the standard rules: any live cell with fewer than two live neighbors dies, any live cell with two or three live neighbors lives, any live cell with more than three live neighbors dies, and any dead cell with exactly three live neighbors becomes a live cell.

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

modelllama-3.1-70b-instruct
vendorMeta · Llama
harnesspi-agent
generated2026-08-01

EVALUATION

2/5 partial

Blank white canvas until drag toggles a few cells; no idle animation, click/wheel/keys had no visible effect.

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

METRICS

runtime23.2s
tokens in4.5k
tokens out1.0k
cached0
cost / run$0.0022