Space Invaders · qwen3-next-80b-a3b-instruct
Output generated Cost / run $0.0056 Runtime 47.6s
Prompt for this run
Build a playable Space Invaders game on a canvas: a player cannon that moves and shoots, a descending grid of aliens that advance and fire back, destructible bunkers, score, and lives. Procedural 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 Space Invaders game on a canvas: a player cannon that moves and shoots, a descending grid of aliens that advance and fire back, destructible bunkers, score, and lives. Procedural graphics only, no external assets.
I'll create a complete Space Invaders game in a single HTML file with no external resources. This will include all the game mechanics you requested: player cannon, alien grid, bunkers, scoring, and lives.
index.html (18046 bytes)Successfully wrote 18046 bytes to index.html
I've created a complete Space Invaders game in a single HTML file with all the requested features: - Player cannon that moves left/right and shoots - Descending grid of aliens that advance and fire back - Destructible bunkers (4 of them) - Score tracking (points for destroying aliens) - Lives system (3 lives) - Procedural graphics only (no external assets) - Start screen and game over screen - Increasing difficulty (aliens speed up after each wave) The game runs fully sandboxed with no network requests. You can play by opening the index.html file in any modern browser. Use the left and right arrow keys to move, and the spacebar to shoot.