oneshotlm
Compare all models on this prompt →

Tetris · gpt-4o-mini

Output generated Cost / run $0.0016 Runtime 21.0s

Prompt for this run

Build a playable Tetris on a canvas with all seven tetrominoes, rotation, line clears, increasing speed, a next-piece preview, and score.

⛨ 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

modelgpt-4o-mini
vendorOpenAI
harnesspi-agent
generated2026-07-22

METRICS

runtime21.0s
tokens in4.2k
tokens out2.0k
cached3.1k
cost / run$0.0016
Transcript · 4 messages
user

Build a playable Tetris on a canvas with all seven tetrominoes, rotation, line clears, increasing speed, a next-piece preview, and score.

assistant
→ write index.html (6845 bytes)
toolResult

Successfully wrote 6845 bytes to index.html

assistant

The Tetris game has been successfully built and is available in a single file named `index.html`. You can find the file in the current directory.