oneshotlm
Compare all models on this prompt →

Space Invaders · gpt-5.6-luna

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
thinking
**Creating index.html**

I need to create an index.html file, and I should probably inspect my current working directory. It's important to write the full details and ensure everything is playable and polished. I’m thinking about including a canvas, controls, and arrow keys (A, D), along with space for pause and restart functionality — I need to implement that. Maybe I should test the syntax using Node.js before I finish my writing. Let’s keep this organized!
write /tmp/ws/index.html (9505 bytes)
toolResult

Successfully wrote 9505 bytes to /tmp/ws/index.html

assistant

Created `/tmp/ws/index.html` with a fully self-contained, playable Space Invaders game featuring: - Canvas-based procedural graphics - Player cannon movement and shooting - Descending alien formation with firing enemies - Destructible bunkers - Score, waves, and lives - Game-over and pause states - Keyboard and mobile controls - No external assets, resources, or network requests

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

modelgpt-5.6-luna
vendorOpenAI
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Space Invaders with menu, aliens, bunkers, cannon, and score/lives HUD; keyboard starts and controls game, click/drag/wheel do nothing on menu.

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 motion0.0%
on click0.0%
on drag1.0%
on wheel0.0%
on enter + space11.3%
on arrow keys9.2%
on w/a/s/d8.3%
frame spread30.7 / 255
console errors0
js errors none

METRICS

runtime26.5s
tokens in6
tokens out3.6k
cached2.3k
cost / run$0.0131