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.
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
METRICS
Transcript · 4 messages
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.
index.html (11139 bytes)Successfully wrote 11139 bytes to index.html
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.