oneshotlm
Compare all models on this prompt →

Top-down alien shooter · gpt-4.1-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

Writing a single self-contained index.html with Phaser, implementing a top-down alien shooter with procedural graphics, WASD movement, mouse aiming/firing, waves of aliens with increasing difficulty, health, and score: - Player: a simple colored triangle or polygon - Aliens: colored circles or polygons with some variation - Bullets: small rectangles or circles - Health and score displayed as text - Increasing waves: more aliens, faster speed or health - No external assets, no network, only phaser.min.js as script include I will build the entire code in index.html now.

write index.html (8987 bytes)
toolResult

Successfully wrote 8987 bytes to index.html

assistant

I created index.html with a Phaser-based top-down alien shooter: - Player is a green triangle moving with WASD, collides with world bounds - Aim with the mouse, shoot bullets with left click - Bullets shoot toward pointer, disable on timeout or alien hit - Aliens spawn in increasing waves, move downward, damage player on impact or escape - Player health and score shown, game over stops play with message - All graphics procedurally generated with Phaser graphics — no external assets - Difficulty increases with more aliens per wave and faster, tougher aliens Open index.html in a browser to play. Let me know if you want enhancements!

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-4.1-mini
vendorOpenAI
harnesspi-agent
generated2026-08-01

EVALUATION

2/5 partial

Top-down shooter renders aliens and player ship, but no visible shooting/health UI, and WASD input led to a quick game over.

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 motion2.2%
on click2.3%
on drag2.3%
on wheel1.1%
on enter + space1.4%
on arrow keys2.1%
on w/a/s/d3.3%
frame spread12.7 / 255
console errors0
js errors none

METRICS

runtime43.7s
tokens in5.4k
tokens out3.0k
cached0
cost / run$0.0070