oneshotlm
Compare all models on this prompt →

Conway's Game of Life · muse-spark-1.2

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 · 6 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 (22483 bytes)
toolResult

Successfully wrote 22483 bytes to index.html

assistant
bash {"command":"ls -lh index.html && head -n 5 index.html"}
toolResult

-rw-r--r--. 1 node node 22K Aug 13 01:27 index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

assistant

Conway's Game of Life built as a single `index.html` — full-screen canvas, no external resources. **Controls:** - **Play/Pause** (Space), **Step** (S), **Randomize** (R), **Clear** (C) buttons in header - **Click-and-drag** to paint cells — dragging toggles to same state (dragging over live cells erases, over dead cells paints). Works with mouse & touch (pointer events) - **Speed** slider (1–60 fps), **Wrap edges** & **Trails** toggles - **Zoom** buttons + mouse wheel/pinch, brush size with `[`/`]` - **Presets:** Glider / Pulsar / Gosper Glider Gun for quick patterns Canvas auto-sizes to fill viewport, recalculates grid (cols×rows) on resize while preserving centered pattern, with gradient cells, grid lines, generation/population counters, and keyboard shortcuts (`?` for help).

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

modelmuse-spark-1.2
vendorMeta
harnesspi-agent
generated2026-08-13

EVALUATION

4/5 working

Game of Life renders with random seed, simulates when running, and controls (play/step/randomize) respond 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.0%
on drag0.7%
on wheel42.9%
on enter + space38.7%
on arrow keys24.0%
on w/a/s/d22.5%
frame spread42.7 / 255
console errors0
js errors none

METRICS

runtime26.8s
tokens in20k
tokens out8.6k
cached5.3k
cost / run$0.0561