Asteroids · ministral-14b-2512
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.
/tmp/ws/index.html (13150 bytes)Successfully wrote 13150 bytes to /tmp/ws/index.html
The Asteroids game is now complete and saved as `index.html` in `/tmp/ws/`. You can open this file in any modern web browser to play the game. ### **Game Features:** - **Vector Ship**: Rotate with arrow keys, thrust forward, and shoot with spacebar. - **Asteroids**: Procedurally generated with varying sizes and speeds. - **Collision**: Ship collides with asteroids (loses a life), bullets destroy asteroids (score increases). - **Asteroid Splitting**: Large asteroids split into smaller ones when hit. - **Screen Wrapping**: Ship and bullets wrap around screen edges. - **Score & Lives**: Tracked at the top of the screen. - **Game Over**: Displays final score and restart button. ### **Controls:** - **Left/Right Arrow**: Rotate ship. - **Up Arrow**: Thrust forward. - **Spacebar**: Shoot bullets. Enjoy the game! 🚀🌠
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 game with ship, drifting asteroids, and score/lives HUD; shooting split asteroids (score 100) but ship rotation/thrust not visually evident.
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.