oneshotlm
Compare all models on this prompt →

Brick breaker · mistral-medium-3.1

Output generated Cost / run $0.0046 Runtime 16.6s

Prompt for this run

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 ↗

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

modelmistral-medium-3.1
vendorMistral AI
harnesspi-agent
generated2026-08-01

METRICS

runtime16.6s
tokens in4.9k
tokens out2.0k
cached3.7k
cost / run$0.0046
Transcript · 4 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 index.html (6524 bytes)
toolResult

Successfully wrote 6524 bytes to index.html

assistant

A self-contained **Brick Breaker** game (`index.html`) is now ready in the current directory. **Features:** - Procedurally generated paddle, ball, and bricks (no external assets) - Arrow-key or mouse-controlled paddle - Bouncing physics, collision detection, and scoring - Game-over screen with restart button Run it by opening `index.html` in a browser. The game uses the local `phaser.min.js` as requested.