Compare all models on this prompt →
2048 · granite-4.1-8b
Output generated Cost / run $0.0007 Runtime 29.0s
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
modelgranite-4.1-8b
vendorIBM · Granite
harnesspi-agent
generated2026-08-01
METRICS
runtime29.0s
tokens in7.0k
tokens out3.5k
cached3.1k
cost / run$0.0007
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 (10959 bytes)toolResult
Successfully wrote 10959 bytes to index.html
assistant
The single‑page **2048** game has been created and saved as **index.html** in the current directory. You can open this file in any browser to play the game with arrow‑key controls, smooth tile animations, a score display, and win/lose states—all without any external resources. Enjoy!