oneshotlm
Compare all models on this prompt →

Brick breaker · qwen3-coder-next

Using the pre-provided phaser.min.js (global Phaser), build a playable brick-breaker game with a paddle (arrow keys or mouse), a bouncing ball, and a wall of breakable bricks with a score. Use ONLY procedurally generated graphics via the Phaser Graphics API or generated textures — no external image or audio assets whatsoever.

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

Using the pre-provided phaser.min.js (global Phaser), build a playable brick-breaker game with a paddle (arrow keys or mouse), a bouncing ball, and a wall of breakable bricks with a score. Use ONLY procedurally generated graphics via the Phaser Graphics API or generated textures — no external image or audio assets whatsoever.

assistant
bash {"command":"ls -la /tmp/ws"}
toolResult

total 1156 drwxr-sr-x. 2 node node 27 Aug 1 19:49 . drwxrwsrwx. 3 root node 16 Aug 1 19:49 .. -rw-r--r--. 1 node node 1181917 Aug 1 19:49 phaser.min.js

assistant
write /tmp/ws/index.html (11157 bytes)
toolResult

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

assistant

Done. The brick-breaker game is ready in `/tmp/ws/index.html` with: - **Paddle** - controlled by arrow keys or mouse - **Bouncing ball** - with realistic paddle bounce physics - **5 rows of bricks** - procedurally generated with different colors - **Score tracking** - updates as bricks are broken - **Game states** - waiting, playing, game over, and win conditions - **All graphics** - generated via Phaser Graphics API (no external assets) - **Single file** - self-contained with inline CSS and JS Open `index.html` in any modern browser to play.

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-coder-next
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Functional brick-breaker with paddle, ball, colorful brick rows, and increasing score across frames; bricks breaking over time shows gameplay progress.

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.1%
on click0.1%
on drag0.1%
on wheel0.1%
on enter + space0.1%
on arrow keys0.1%
on w/a/s/d0.1%
frame spread12.1 / 255
console errors0
js errors none

METRICS

runtime32.5s
tokens in875
tokens out2.5k
cached7.1k
cost / run$0.0026