oneshotlm
Compare all models on this prompt →

2048 · mistral-large-2512

Output generated Cost / run $0.0079 Runtime 44.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

modelmistral-large-2512
vendorMistral AI
harnesspi-agent
generated2026-08-01

METRICS

runtime44.6s
tokens in6.5k
tokens out3.7k
cached2.0k
cost / run$0.0079
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 /tmp/ws/index.html (13365 bytes)
toolResult

Successfully wrote 13365 bytes to /tmp/ws/index.html

assistant

The 2048 game is ready! Open `/tmp/ws/index.html` in a web browser to play. Use the **arrow keys** to slide and merge tiles. The game includes: - **Score and best score** tracking (persists in localStorage) - **Smooth animations** for tile movement - **Win/lose states** (2048 tile = win, no moves left = lose) - **Restart button** to reset the game - **Fully self-contained** (no external resources)