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.
transcript · 6 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.
{"command":"ls -la /workspace && find /workspace -maxdepth 2 -type f -print | head -50","timeout":10}total 4 drwxrwxrwx 2 node node 64 Jul 22 18:28 . drwxr-xr-x 1 root root 4096 Jul 22 18:28 ..
/workspace/index.html (7770 bytes)Successfully wrote 7770 bytes to /workspace/index.html
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
EVALUATION
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.