oneshotlm
Compare all models on this prompt →

Conway's Game of Life · mercury-2

Output generated Cost / run $0.0034 Runtime 6.3s

Prompt for this run

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 ↗

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

modelmercury-2
vendorInception
harnesspi-agent
generated2026-08-01

METRICS

runtime6.3s
tokens in6.3k
tokens out3.2k
cached2.7k
cost / run$0.0034
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 []
toolResult

Validation failed for tool "write": - root: must be object Received arguments: []

assistant
→ write index.html (4121 bytes)
toolResult

Successfully wrote 4121 bytes to index.html

assistant

The **index.html** file has been created in the current directory. It contains a full‑screen canvas implementation of Conway’s Game of Life with click‑and‑drag cell toggling and controls for play/pause, step, randomize, and clear. No external resources are required. You can open the file in a browser to run the application.