oneshotlm
Compare all models on this prompt →

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.

⛨ sandboxed Open in new tab ↗

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

modelqwen3-next-80b-a3b-instruct
vendorQwen
harnesspi-agent
generated2026-08-01

METRICS

runtime47.6s
tokens in7.4k
tokens out4.5k
cached1.1k
cost / run$0.0056
Transcript · 4 messages
user

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.

assistant

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.

→ write index.html (18046 bytes)
toolResult

Successfully wrote 18046 bytes to index.html

assistant

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.