oneshotlm
Compare all models on this prompt →

Brick breaker · mistral-large-2512

Output generated Cost / run $0.0044 Runtime 25.5s

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-large-2512
vendorMistral AI
harnesspi-agent
generated2026-08-01

METRICS

runtime25.5s
tokens in4.7k
tokens out1.8k
cached1.5k
cost / run$0.0044
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 /tmp/ws/index.html (6154 bytes)
toolResult

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

assistant

The brick-breaker game is ready! Open `/tmp/ws/index.html` in a browser to play. **How to play:** - Move the paddle with **arrow keys** or **mouse** - Click to start the game - Break all bricks to win - Don't let the ball fall below the paddle The game uses only procedural graphics (no external assets) and runs entirely offline. Enjoy!