oneshotlm
Compare all models on this prompt →

Brick breaker · gpt-5.6-luna-pro

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
thinking
**Planning Phaser Game Development**

I need to create an index and inspect the directory or library, possibly just to write things down. The goal is to build a polished single-file Phaser game, likely using Phaser 3. I’ll focus on getting the script source right. The game should be responsive, with graphics generated through the Graphics `generateTexture` method, including physics for bricks and a paddle. I’ll ensure the Phaser API is fully integrated and set up for scoring and game state management. Let’s get started on this!
write /tmp/ws/index.html (7620 bytes)
toolResult

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

assistant
edit {"path":"/tmp/ws/index.html","edits":[{"oldText":" this.ball.body.world.on('worldbounds', (body, up, down) => {\n if (body === t
toolResult

Successfully replaced 1 block(s) in /tmp/ws/index.html.

assistant

Created `/tmp/ws/index.html` with a self-contained Phaser brick-breaker game featuring: - Arrow-key and mouse paddle controls - Click/Space launch - Bouncing ball and breakable brick wall - Score and lives system - Win/game-over states with restart - Procedurally generated Phaser textures and graphics - No external assets 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-pro
vendorOpenAI
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Neon-styled brick breaker with paddle, ball, bricks; click launches ball and breaks bricks, arrows move paddle.

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 click2.2%
on drag1.1%
on wheel1.1%
on enter + space0.0%
on arrow keys0.2%
on w/a/s/d0.0%
frame spread55.3 / 255
console errors0
js errors none

METRICS

runtime47.3s
tokens in13k
tokens out5.0k
cached24k
cost / run$0.0229