oneshotlm
Compare all models on this prompt →

Asteroids · minimax-m3

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 /workspace && find /workspace -maxdepth 2 -type f -print | head -50","timeout":10}
toolResult

total 4 drwxrwxrwx 2 node node 64 Jul 22 18:28 . drwxr-xr-x 1 root root 4096 Jul 22 18:28 ..

assistant
write /workspace/index.html (7770 bytes)
toolResult

Successfully wrote 7770 bytes to /workspace/index.html

assistant

Created `/workspace/index.html` with a fully self-contained playable Asteroids game. Features include: - Canvas-based procedural vector graphics - Thrust and rotation controls - Screen-edge wrapping - Shooting with cooldown - Asteroids that split into smaller pieces - Score, wave, lives, and best-score tracking - Particle effects and screen glow - Start, restart, and pause controls - No external assets, resources, or network requests Controls: - `W` / `↑`: Thrust - `A` / `←`: Rotate left - `D` / `→`: Rotate right - `Space`: Fire - `P`: Pause - `Enter`: Start or restart

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

modelminimax-m3
vendorMiniMax
harnesspi-agent
generated2026-07-22

EVALUATION

4/5 working

Vector Asteroids launches with Enter, ship and asteroids render and respond to arrows/WASD; mouse inputs correctly ignored.

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 + space4.6%
on arrow keys4.0%
on w/a/s/d4.4%
frame spread16.2 / 255
console errors0
js errors none

METRICS

runtime69.0s
tokens in6.6k
tokens out3.1k
cached0
cost / run$0.0056