Asteroids · seed-2-1-turbo
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
I will build a classic Asteroids game with procedural vector graphics in a single HTML file, and the first required feature is a vector ship with thrust and rotation.All required game features have been confirmed, and the corresponding code will be written directly.
/tmp/ws/index.html (13147 bytes)Successfully wrote 13147 bytes to /tmp/ws/index.html
thinking
File written, will verify validity.
Built the Asteroids game at `/tmp/ws/index.html` — a fully self-contained canvas game with: - **Vector ship**: rotate with ←/→ or A/D, thrust with ↑/W, wraps around screen edges - **Shooting**: Space to fire, bullets also wrap and have limited lifetime - **Asteroids**: procedural jagged shapes, split into 2 smaller pieces when hit (large → medium → small) - **Score/Lives/Level** UI at the top (20/50/100 points by size) - **Particle effects** for explosions and thrust flame - **Invulnerability** after respawn (blinking ship) - **Screen wrapping** for all objects - **No external assets** — all procedural vector graphics on canvas Open `index.html` in a browser and press Space to start.
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
Asteroids menu starts game on space/enter, ship and asteroids render with vector graphics, keyboard controls respond, but mouse inputs do nothing.
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.