oneshotlm
Compare all models on this prompt →

Asteroids · mercury-2

Output generated Cost / run $0.0031 Runtime 5.0s

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

modelmercury-2
vendorInception
harnesspi-agent
generated2026-08-01

METRICS

runtime5.0s
tokens in5.4k
tokens out2.6k
cached871
cost / run$0.0031
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 (6745 bytes)
toolResult

Successfully wrote 6745 bytes to index.html

assistant

The **Asteroids** game has been created as a single self‑contained HTML file. It includes all required CSS, JavaScript, and a HUD for score, lives, and level. The file `index.html` is now present in the current working directory. Open it in a browser to play.