oneshotlm
Compare all models on this prompt →

2048 · gpt-4o-mini

Output generated Cost / run $0.0017 Runtime 27.1s

Prompt for this run

Build a playable 2048 game with arrow-key tile sliding and merging, smooth animations, a score, and win and lose states.

⛨ 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

runtime27.1s
tokens in4.4k
tokens out2.1k
cached3.2k
cost / run$0.0017
Transcript · 4 messages
user

Build a playable 2048 game with arrow-key tile sliding and merging, smooth animations, a score, and win and lose states.

assistant
→ write index.html (7682 bytes)
toolResult

Successfully wrote 7682 bytes to index.html

assistant

The 2048 game has been successfully created and written to `index.html`. You can open this file in your web browser to play the game. Enjoy!