oneshotlm
Compare all models on this prompt →

Tetris · gpt-4o-mini-2024-07-18

Output generated Cost / run $0.0009 Runtime 12.3s

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-2024-07-18
vendorOpenAI
harnesspi-agent
generated2026-08-01

METRICS

runtime12.3s
tokens in3.2k
tokens out874
cached1.9k
cost / run$0.0009
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 (2765 bytes)
toolResult

Successfully wrote 2765 bytes to index.html

assistant

The Tetris game has been successfully built and written into the file named `index.html`. You can now find it in the current directory.