oneshotlm
Compare all models on this prompt →

Top-down alien shooter · grok-4.6

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 · 6 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
thinking
The user wants me to build a top-down alien shooter using Phaser. Let me first check what's in the current directory and understand the Phaser library available.

I'll inspect the workspace and Phaser build so I can create a self-contained top-down shooter.

bash {"command":"ls -la /tmp/ws && head -c 200 phaser.min.js && echo && wc -c phaser.min.js"}
toolResult

total 1156 drwxr-sr-x. 2 node node 27 Aug 13 01:24 . drwxrwsrwx. 3 root node 16 Aug 13 01:24 .. -rw-r--r--. 1 node node 1181917 Aug 13 01:24 phaser.min.js !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Phaser",[],e):"object"==typeof exports?exports.Phaser=e():t.Phaser=e() 1181917 phaser.min.js

assistant
thinking
I have Phaser available as a global. I need to build a complete top-down alien shooter in a single index.html file with:

Building a self-contained Phaser shooter with procedural graphics, WASD movement, mouse aim, waves, and escalating difficulty.

write /tmp/ws/index.html (24589 bytes)
toolResult

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

assistant
thinking
The file is written. Let me verify it exists and is valid. The user asked for a single-page web app with Phaser, procedurally generated graphics, WASD movement, aim and fire, waves, health, score, inc...

`index.html` is ready: a self-contained Phaser top-down shooter using only procedural textures. **Xenolith** — hold the outpost - **WASD** move, **mouse** aim, **click / space** fire - Four alien types (grunt, runner, spitter, brute) with HP, speed, and acid spit - Health bar, score, wave counter, medkit drops - Waves grow denser and faster; every 5th wave is a brute surge - Menu + game-over retry (Enter / Space) No network, no extra assets — only local `phaser.min.js`.

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

modelgrok-4.6
vendorxAI · Grok
harnesspi-agent
generated2026-08-13

EVALUATION

2/5 partial

Menu works and game starts via Enter/Space showing wave and player, but arrows cause a full red screen and WASD leads to quick 'DOWNED' death.

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.3%
on click1.9%
on drag1.5%
on wheel1.6%
on enter + space9.4%
on arrow keys99.6%
on w/a/s/d99.6%
frame spread16.1 / 255
console errors0
js errors none

METRICS

runtime118.1s
tokens in14k
tokens out9.2k
cached1.9k
cost / run$0.0813