oneshotlm
Compare all models on this prompt →

2048 · gpt-4.1-mini

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 ↗
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 (13444 bytes)
toolResult

Successfully wrote 13444 bytes to index.html

assistant

I have built a fully playable 2048 game in a single file named index.html. It includes arrow key controls for sliding and merging tiles, smooth animations, a score display, and messages for win (reaching 2048) and game over states. You can open index.html in a browser to play. Let me know if you want any changes or enhancements!

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-4.1-mini
vendorOpenAI
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Basic 2048 board responds to arrow keys with tile movement, merging, and score updates; WASD/click/drag inert.

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion0.0%
on click0.0%
on drag0.0%
on wheel0.0%
on enter + space0.0%
on arrow keys0.5%
on w/a/s/d0.0%
frame spread22 / 255
console errors0
js errors none

METRICS

runtime51.1s
tokens in6.4k
tokens out4.2k
cached1.0k
cost / run$0.0090