oneshotlm
Compare all models on this prompt →

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

Output generated Cost / run $0.0013 Runtime 21.6s

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

METRICS

runtime21.6s
tokens in3.9k
tokens out1.6k
cached2.6k
cost / run$0.0013
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 (5606 bytes)
toolResult

Successfully wrote 5606 bytes to index.html

assistant

The 2048 game has been successfully created and written to the file `index.html`. You can now run it in any web browser to play the game.