oneshotlm
Compare all models on this prompt →

Conway's Game of Life · gpt-4o-mini-2024-07-18

Output generated Cost / run $0.0011 Runtime 18.6s

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

modelgpt-4o-mini-2024-07-18
vendorOpenAI
harnesspi-agent
generated2026-08-01

METRICS

runtime18.6s
tokens in3.5k
tokens out1.2k
cached2.2k
cost / run$0.0011
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 (3919 bytes)
toolResult

Successfully wrote 3919 bytes to index.html

assistant

The single-page web app for Conway's Game of Life has been created successfully and saved as `index.html` in the current directory. You can open this file in a web browser to use the application.