oneshotlm
Compare all models on this prompt →

Asteroids · gpt-4o-mini-2024-07-18

Output generated Cost / run $0.0013 Runtime 19.7s

Prompt for this run

Build a playable Asteroids game on a canvas: a thrust-and-rotate vector ship that shoots and wraps around the screen edges, splitting asteroids into smaller pieces, with score and lives. Procedural vector graphics only, no external assets.

⛨ 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

runtime19.7s
tokens in3.8k
tokens out1.5k
cached2.6k
cost / run$0.0013
Transcript · 4 messages
user

Build a playable Asteroids game on a canvas: a thrust-and-rotate vector ship that shoots and wraps around the screen edges, splitting asteroids into smaller pieces, with score and lives. Procedural vector graphics only, no external assets.

assistant
→ write index.html (5591 bytes)
toolResult

Successfully wrote 5591 bytes to index.html

assistant

The Asteroids game has been successfully built and written to `index.html`. You can open this file in a web browser to play the game. Enjoy!