oneshotlm
Compare all models on this prompt →

Asteroids · kimi-k3

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
Write a single index.html with full Asteroids game.
write /workspace/index.html (8221 bytes)
toolResult

Successfully wrote 8221 bytes to /workspace/index.html

assistant

Done — `/workspace/index.html` contains a complete, self-contained Asteroids game: - **Ship**: rotate (←/→ or A/D), thrust (↑/W) with flame particles, momentum + damping, max speed cap, screen wrapping - **Shooting**: Space/J, max 8 bullets, cooldown, bullets wrap and expire - **Asteroids**: procedurally generated irregular polygons that drift/rotate; large split into two of next size (3 tiers, scoring 20/50/100) - **Gameplay**: 3 lives with respawn invulnerability (blinking), increasing wave sizes per level, particle explosions, title/game-over screens (Enter to start) - All vector graphics drawn on canvas, zero external assets or network requests.

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

modelkimi-k3
vendorMoonshot · Kimi
harnesspi-agent
generated2026-07-28

EVALUATION

3/5 working

Vector Asteroids game starts with Enter/Space, ship rotates with arrows/WASD, asteroids render, but pointer inputs don't affect the 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 + space3.6%
on arrow keys2.4%
on w/a/s/d2.2%
frame spread11.6 / 255
console errors0
js errors none

METRICS

runtime67.3s
tokens in3.4k
tokens out3.0k
cached2.3k
cost / run$0.0128