oneshotlm
Compare all models on this prompt →

Asteroids · ministral-14b-2512

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 /tmp/ws/index.html (13150 bytes)
toolResult

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

assistant

The Asteroids game is now complete and saved as `index.html` in `/tmp/ws/`. You can open this file in any modern web browser to play the game. ### **Game Features:** - **Vector Ship**: Rotate with arrow keys, thrust forward, and shoot with spacebar. - **Asteroids**: Procedurally generated with varying sizes and speeds. - **Collision**: Ship collides with asteroids (loses a life), bullets destroy asteroids (score increases). - **Asteroid Splitting**: Large asteroids split into smaller ones when hit. - **Screen Wrapping**: Ship and bullets wrap around screen edges. - **Score & Lives**: Tracked at the top of the screen. - **Game Over**: Displays final score and restart button. ### **Controls:** - **Left/Right Arrow**: Rotate ship. - **Up Arrow**: Thrust forward. - **Spacebar**: Shoot bullets. Enjoy 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

modelministral-14b-2512
vendorMistral AI
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Asteroids game with ship, drifting asteroids, and score/lives HUD; shooting split asteroids (score 100) but ship rotation/thrust not visually evident.

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.2%
on click0.7%
on drag0.7%
on wheel0.7%
on enter + space0.9%
on arrow keys0.8%
on w/a/s/d0.8%
frame spread9.6 / 255
console errors0
js errors none

METRICS

runtime38.0s
tokens in6.3k
tokens out3.6k
cached5.5k
cost / run$0.0010