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.
transcript · 4 messages
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.
thinking
Write a single index.html with full Asteroids game.
/workspace/index.html (8221 bytes)Successfully wrote 8221 bytes to /workspace/index.html
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
EVALUATION
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.