Asteroids · gemini-3.1-flash-lite-preview
Output generated Cost / run $0.0043 Runtime 11.1s
Prompt for this run
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.
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
METRICS
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
**Defining the Core Features** I'm now zeroing in on defining the core features of the Asteroids game, specifically for a single-page HTML implementation. Key elements like the thrust-and-rotate ship, shooting, edge wrapping, asteroid splitting, score, and lives are all being ironed out to achieve a concise yet engaging experience.
index.html (5365 bytes)Successfully wrote 5365 bytes to index.html
The Asteroids game is ready. You can test it by opening `index.html` in your browser. Use the **Arrow Keys** to move/rotate and the **Spacebar** to shoot.