oneshotlm
Compare all models on this prompt →

Asteroids · claude-opus-5

Output saved · Stopped by an API error Cost / run $0.3558 Runtime 134.2s

A model request failed and its retries ran out. The output is the HTML saved before that.

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

modelclaude-opus-5
vendorAnthropic · Claude
harnesspi-agent
generated2026-08-03

METRICS

runtime134.2s
tokens in2.4k
tokens out14k
cached2.2k
cost / run$0.3558
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

I'll build a complete Asteroids game in a single self-contained file.

→ write /tmp/ws/index.html (26350 bytes)
toolResult

Successfully wrote 26350 bytes to /tmp/ws/index.html

assistant