oneshotlm
Compare all models on this prompt →

Space Invaders · qwen3-vl-235b-a22b-instruct

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 ↗
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 build a complete Space Invaders game in a single HTML file with inline CSS and JavaScript, using only procedural graphics.

write index.html (16459 bytes)
toolResult

Successfully wrote 16459 bytes to index.html

assistant

I've successfully created a complete Space Invaders game in a single HTML file. The game includes: - A player-controlled cannon that moves left/right and shoots bullets - A grid of descending aliens that advance and fire back - Destructible bunkers that provide cover - Score tracking and lives system - Game over screen with restart functionality The game is entirely self-contained with no external dependencies - all CSS and JavaScript are embedded within the HTML file. The graphics are all procedural (drawn with canvas API) with no external assets. You can open the index.html file in any modern browser to play the game. Use arrow keys (or A/D) to move and Space/Up Arrow to shoot.

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-vl-235b-a22b-instruct
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Space Invaders with descending alien grid, bunkers, score/lives HUD, and player ship reacts to clicks/keys with kills and bunker damage.

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.

idle motion6.7%
on click14.6%
on drag11.4%
on wheel14.1%
on enter + space10.9%
on arrow keys12.2%
on w/a/s/d10.6%
frame spread38.5 / 255
console errors0
js errors none

METRICS

runtime92.0s
tokens in4.1k
tokens out4.2k
cached3.0k
cost / run$0.0092