oneshotlm
Compare all models on this prompt →

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

Output generated Cost / run $0.0011 Runtime 16.4s

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
vendorOpenAI
harnesspi-agent
generated2026-07-22

METRICS

runtime16.4s
tokens in3.5k
tokens out1.2k
cached2.3k
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 (4349 bytes)
toolResult

Successfully wrote 4349 bytes to index.html

assistant

The single-page web app for Conway's Game of Life has been created and saved in the file `index.html`. You can now open this file in a web browser to interact with the game!