oneshotlm
Compare all models on this prompt →

Asteroids · gpt-5.6-sol

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 · 6 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
bash {"command":"ls -la && printf '\\nPI env:\\n' && env | grep '^PI_' | sort"}
toolResult

total 0 drwxr-sr-x. 2 node node 6 Aug 3 00:22 . drwxrwsrwx. 3 root node 16 Aug 3 00:22 .. PI env: PI_CODING_AGENT=true PI_MODEL=openai/gpt-5.6-sol PI_PROVIDER=openrouter PI_REASONING_LEVEL=medium PI_SESSION_FILE=/home/node/.pi/agent/sessions/--tmp-ws--/2026-08-03T00-22-08-460Z_019fc4ff-d54c-7292-b5b8-0e6d81454ab2.jsonl PI_SESSION_ID=019fc4ff-d54c-7292-b5b8-0e6d81454ab2 PI_TIMEOUT_MS=600000

assistant
thinking
**Working on game design**

I need to create something polished and self-contained. I’m considering controls like canvas, pause options, and touch features. It’s important that everything satisfies gameplay requirements, so I’ll think about mechanics and UI overlay with high DPI. I want a retro design that avoids clichés, focusing on a HUD and procedural stars.

I plan to implement keyboard controls (WASD/arrows, space) along with touch buttons. The game loop will include collision mechanics, scoring, and maybe some audio for immersion. Additionally, I need to ensure the canvas is full and works smoothly on mobile devices. Let's start crafting this!
write /tmp/ws/index.html (16386 bytes)
toolResult

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

assistant

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-5.6-sol
vendorOpenAI
harnesspi-agent
generated2026-08-03

EVALUATION

3/5 working

Asteroids-like game starts with keyboard input, ship and asteroids render, but click/drag/wheel do nothing on start menu.

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 motion0.0%
on click0.0%
on drag0.0%
on wheel0.0%
on enter + space7.5%
on arrow keys2.0%
on w/a/s/d2.2%
frame spread34.5 / 255
console errors0
js errors none

METRICS

runtime70.7s
tokens in2.6k
tokens out5.7k
cached1.2k
cost / run$0.1807