oneshotlm
Compare all models on this prompt →

Asteroids · gpt-4o-mini

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 ↗
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 (6487 bytes)
toolResult

Successfully wrote 6487 bytes to index.html

assistant

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

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
vendorOpenAI
harnesspi-agent
generated2026-07-22

EVALUATION

2/5 partial

Ship triangle and gray circle asteroids drift, but asteroids look like flat filled circles not vector polygons, and ship rotation/thrust barely visible.

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion3.6%
on click3.3%
on drag3.4%
on wheel3.2%
on enter + space3.2%
on arrow keys3.4%
on w/a/s/d3.4%
frame spread15 / 255
console errors0
js errors none

METRICS

runtime21.7s
tokens in1.3k
tokens out1.7k
cached2.7k
cost / run$0.0014