oneshotlm
Compare all models on this prompt →

Asteroids · mimo-v2.5-pro

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
thinking
The user wants me to build a complete Asteroids game in a single HTML file with inline CSS and JS. This is a classic arcade game that needs:

1. A ship that can rotate, thrust, and shoot
2. Asteroids that float around and split when hit
3. Screen wrapping for both ship and asteroids
4. Score tracking and lives
5. All procedural vector graphics on canvas
6. No external resources

Let me create a comprehensive, polished implementation.
write /workspace/index.html (19293 bytes)
toolResult

Successfully wrote 19293 bytes to /workspace/index.html

assistant
thinking
The file has been written. Let me verify it's there.

Done! `index.html` is ready at `/workspace/index.html`. Here's what's packed inside: **Gameplay** - **Ship** — vector-drawn with thrust flame animation - **Rotate** (← / → / A / D), **Thrust** (↑ / W), **Fire** (Space), **Hyperspace** (Shift — random teleport, small chance of death) - Edge wrapping for ship, bullets, and asteroids - 3 asteroid sizes that split: large → 2 medium → 2 small each, with point values (20 / 50 / 100) - 3 lives, invincibility flash on respawn, level progression with increasing asteroid count **Visuals** - Procedural vector graphics only — no external assets or network requests - Glowing neon ship, bullets, and asteroids - Starfield with twinkling stars - Particle explosions (debris lines + sparks) on asteroid/ship destruction - Blinking invincibility indicator during shield **HUD** - Padded score display, persistent high score (localStorage), level counter, and ship-shaped life icons - Controls hint overlay during early gameplay

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

modelmimo-v2.5-pro
vendorXiaomi · MiMo
harnesspi-agent
generated2026-07-22

EVALUATION

3/5 partial

Vector asteroids render and drift with title screen and ship visible, but ship never appears to rotate/thrust/fire in response to keyboard input.

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.1%
on click2.8%
on drag2.7%
on wheel2.5%
on enter + space2.5%
on arrow keys2.6%
on w/a/s/d2.2%
frame spread8.3 / 255
console errors0
js errors none

METRICS

runtime116.5s
tokens in8.1k
tokens out6.7k
cached1.6k
cost / run$0.0093