Asteroids · muse-spark-1.2
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.
index.html (31141 bytes)Successfully wrote 31141 bytes to index.html
{"command":"ls -lh index.html && head -n 5 index.html"}-rw-r--r--. 1 node node 31K Aug 13 01:24 index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
Playable Asteroids built in single `index.html` (no external assets). **Controls:** Arrow keys / WASD to rotate & thrust, SPACE to fire, SHIFT to hyperspace, P to pause. Touch buttons on mobile (rotate, thrust, hyperspace, fire). **Features:** - Momentum-based vector ship with wrapping, thrust flame & invulnerability shield - Asteroids with procedural jagged polygons (Large 20pts → 2× Medium 50pts → 2× Small 100pts), faster as they split - UFO saucers (250pts) that hunt and shoot back - Screen-wrap for all objects, 120-star parallax + grid, scanlines & vignette, particle explosions, glow vector graphics - Score, high-score (localStorage), lives, level progression, hyperspace with risk, extra life every 10,000pts, sound via WebAudio (toggle)
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 leads to a playable vector ship game with asteroids and UFO after starting via Enter/Space; UI is clean but gameplay density looks sparse.
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.