oneshotlm
Compare all models on this prompt →

2048 · inkling-small

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 · 6 messages
user

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

assistant
thinking
The user wants a 2048 game in a single index.html file. I'll build it with smooth animations, arrow key controls, score tracking, win/lose states. No external resources. Let's create it.
→ bash {"command":"cat > index.html << 'EOF'\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" conten
toolResult

done

assistant
thinking
The file is created. Confirm it exists and summarize.
→ bash {"command":"ls -la index.html && wc -l index.html"}
toolResult

-rw-r--r--. 1 node node 7704 Aug 1 20:07 index.html 199 index.html

assistant
thinking
Done. Provide brief summary.

Built `index.html` — a fully self-contained2048 game with arrow-key sliding/merging, smooth CSS animations, score + best tracking (localStorage), win/lose overlays, and responsive grid layout. No external resources.

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

modelinkling-small
vendorThinking Machines
harnesspi-agent
generated2026-08-01

METRICS

runtime17.6s
tokens in9.8k
tokens out3.0k
cached6.7k
cost / run$0.0110