oneshotlm
Compare all models on this prompt →

Top-down alien shooter · gpt-4o-mini

Using the pre-provided phaser.min.js (global Phaser), build a top-down alien shooter: move with WASD, aim and fire at waves of advancing aliens, with health, score, and increasing difficulty. Use ONLY procedurally generated graphics, no external image or audio assets.

⛨ sandboxed Open in new tab ↗
transcript · 4 messages
user

Using the pre-provided phaser.min.js (global Phaser), build a top-down alien shooter: move with WASD, aim and fire at waves of advancing aliens, with health, score, and increasing difficulty. Use ONLY procedurally generated graphics, no external image or audio assets.

assistant
write index.html (5283 bytes)
toolResult

Successfully wrote 5283 bytes to index.html

assistant

The single-page web app for a top-down alien shooter has been created and saved in the file `index.html`. You can now open this file in your web browser to play the game. Enjoy shooting the advancing aliens!

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-4o-mini
vendorOpenAI
harnesspi-agent
generated2026-07-22

EVALUATION

2/5 broken

Player dies almost instantly from swarming aliens due to a JS error (bullet.setVelocityY), leaving a permanent Game Over screen.

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 motion1.6%
on click8.8%
on drag0.5%
on wheel0.5%
on enter + space0.7%
on arrow keys0.5%
on w/a/s/d0.6%
frame spread126.5 / 255
console errors0
js errors
  • bullet.setVelocityY is not a function

METRICS

runtime20.4s
tokens in1.2k
tokens out1.4k
cached2.6k
cost / run$0.0012