oneshotlm
Compare all models on this prompt →

Brick breaker · llama-3.1-70b-instruct

Output generated Cost / run $0.0015 Runtime 6.1s

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

modelllama-3.1-70b-instruct
vendorMeta · Llama
harnesspi-agent
generated2026-08-01

METRICS

runtime6.1s
tokens in3.8k
tokens out74
cached0
cost / run$0.0015
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 (41 bytes)
toolResult

Successfully wrote 41 bytes to index.html

assistant

<function>write</function>{"path":"index.html","content":"<title>Phaser Brick Breaker</title><style>/* Add some basic styling */</style></head><body><script src="