oneshotlm
Compare all models on this prompt →

Conway's Game of Life · mistral-medium-3.1

Output generated Cost / run $0.0063 Runtime 25.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

modelmistral-medium-3.1
vendorMistral AI
harnesspi-agent
generated2026-08-01

METRICS

runtime25.6s
tokens in5.7k
tokens out3.0k
cached5.5k
cost / run$0.0063
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 (11139 bytes)
toolResult

Successfully wrote 11139 bytes to index.html

assistant

Created a self-contained `index.html` file with Conway's Game of Life. Features: - Full-screen canvas grid with adjustable cell size - Click-and-drag to toggle cells (maintains state during drag) - Controls: - Play/Pause (toggles animation) - Step (single generation advance) - Randomize (fills grid with random live cells) - Clear (resets grid) - Real-time stats: generation count and population - Responsive design that adapts to window resizing Open the file in any modern browser to run. No network requests or external dependencies.