catalog / games

2048

Sliding tile puzzle: merge equal tiles on a 4×4 grid until 2048 appears.

17 capabilities 2 sections reference specification

Build against it

# give your agent the catalog — no account, no install
claude mcp add provespec -- npx -y provespec-mcp

# then, from any agent session
spec_get(slug: "2048")                → the capability tree
spec_checklist(slug: "2048")          → the questions to answer
spec_grade(slug: "2048", grades: [...])  → parity % + the gap list

# or just fetch it
curl https://provespec.com/catalog/2048/spec.json

Grade every capability below as yes · partial · no · na, with a file reference as evidence. Whatever you leave ungraded counts as missing — the gap list is the work queue.

Or just paste this to your agent

Use the ProveSpec MCP server. Fetch the "2048" spec with
spec_get, then walk spec_checklist and grade this repository against it —
one verdict per capability, each with a file reference as the note.
Call spec_grade with the results and give me the gap list as the plan.

If the server is not registered, add it first:
  claude mcp add provespec -- npx -y provespec-mcp

The specification

AI 12

Board
  • 4×4 grid state 16 cells empty cells hold no tile
  • Spawn a tile after every move 90% a 2, 10% a 4, in a random empty cell
  • Two starting tiles placed before the first move
Movement
  • Slide all tiles one direction up/down/left/right tiles travel as far as they can
  • Merge equal adjacent tiles the merged tile doubles
  • One merge per tile per move 4,4,8 sliding left gives 8,8 — not 16
  • A move that changes nothing is rejected no tile spawns on a no-op move
Scoring
  • Score increases by each merged value
  • Best score persists survives reload
End states
  • Win at 2048 continuable after winning
  • Game over when no move is possible grid full and no equal neighbours
History
  • Undo the last move at least one level

UI 5

Grid
  • Tiles rendered with value-dependent styling larger values visually distinct
  • Slide and merge animation tiles move rather than teleport
Input
  • Arrow keys and swipe gestures
Status
  • Current score, best score, new-game button
  • Win and game-over overlay with keep-going and retry
Download spec.json All 53 specs