oneshotlm
Compare all models on this prompt →

Brick breaker · qwen-2.5-7b-instruct

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
→ write /tmp/ws/index.html (3129 bytes)
toolResult

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

assistant
→ bash {"command":"ls -lh /tmp/ws/index.html"}
toolResult

-rw-r--r--. 1 node node 3.1K Aug 1 19:50 /tmp/ws/index.html

assistant

The single-page web app for the brick-breaker game has been successfully created and saved in `/tmp/ws/index.html`. You can now open this file in a web browser to play the game. The game features a paddle that can be controlled using the arrow keys or the mouse, a ball that bounces, and a wall of breakable bricks with a scoring system. The game uses procedurally generated graphics via the Phaser Graphics API.

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

modelqwen-2.5-7b-instruct
vendorQwen
harnesspi-agent
generated2026-08-01

METRICS

runtime20.5s
tokens in7.2k
tokens out1.3k
cached0
cost / run$0.0004