oneshotlm
Compare all models on this prompt →

Mario-style platformer · mercury-2

Output generated Cost / run $0.0024 Runtime 5.8s

Prompt for this run

Using the pre-provided phaser.min.js (global Phaser), build a playable side-scrolling platformer in the classic Mario style: run and jump across scrolling platforms, stomp enemies, collect coins, and reach a goal flag. Use ONLY procedurally generated graphics, no external image or audio assets.

⛨ 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

modelmercury-2
vendorInception
harnesspi-agent
generated2026-08-01

METRICS

runtime5.8s
tokens in4.6k
tokens out1.9k
cached669
cost / run$0.0024
Transcript · 4 messages
user

Using the pre-provided phaser.min.js (global Phaser), build a playable side-scrolling platformer in the classic Mario style: run and jump across scrolling platforms, stomp enemies, collect coins, and reach a goal flag. Use ONLY procedurally generated graphics, no external image or audio assets.

assistant
→ write index.html (5355 bytes)
toolResult

Successfully wrote 5355 bytes to index.html

assistant

The **index.html** file has been created in the current directory. It contains a complete, self‑contained side‑scrolling platformer built with the pre‑provided `phaser.min.js`. All graphics are generated procedurally (colored rectangles, circles, and simple shapes), and the game includes: * Running and jumping on scrolling platforms * Stomping enemies * Collecting coins for points * Reaching a goal flag to win Open `index.html` in a browser to play the game. No external assets or network requests are required.