Space Invaders · qwen3-coder-next
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.
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.
/tmp/ws/index.html (23931 bytes)Successfully wrote 23931 bytes to /tmp/ws/index.html
I've created a complete Space Invaders game in a single self-contained HTML file. Here's what's included: **Features:** - Player cannon with movement (arrow keys) and shooting (space bar) - Descending grid of 50 aliens (5 rows × 10 columns) with 5 different colors - Progressive difficulty: aliens move faster as you progress - 4 destructible bunkers with realistic block-based damage - Enemy counter-fire from aliens - Particle explosion effects - Starfield background animation - Score system with level progression - 3 lives system - Start screen and game over screens **Controls:** - Left/Right Arrow keys to move - Space bar to shoot **Game Flow:** - Start from the start screen - Defeat all aliens to advance to the next level - Aliens move faster and shoot more frequently each level - Game ends when you run out of lives or aliens reach your position - Restart button to play again The game uses entirely procedural graphics with no external assets and runs completely offline in any modern browser.
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
Only a static start menu is shown; clicking START GAME (which requires clicking the button, not center click) never occurred, so no gameplay is visible.
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.