Slide and Merge
Slide numbered tiles on a 4 by 4 board and merge equal ones to reach 2048.
V2 · 0:11 demoPlay
Full screenV2 · 17 KB · one HTML file
Prompt
A 4 by 4 puzzle1 What it does where I swipe or use the arrow keys to slide numbered tiles4 What must happen, and tiles with the same number merge into one4 What must happen. Show my score and tell me when I reach 2048 or when no moves are left4 What must happen.Exactly as it was typed.
- What it doesWhat it is, and the size of the board.
- Who it’s forThis prompt leaves “who it’s for” to the AI.
- How it should feelThis prompt leaves “how it should feel” to the AI.
- What must happenHow you play it, on a phone and a computer. The one rule of the game. What the screen shows, and both ways a game ends.
What this teaches
Say the rules and the ways the game can end, and the game follows them.
- "swipe or use the arrow keys" makes it playable on a phone and a computer.
- "tiles with the same number merge into one" is the whole rule in one sentence.
- "tell me when I reach 2048 or when no moves are left" names both endings.
Changes
Add an undo button and remember my best score.Change request · V1 → V2
What changed
- An Undo button takes back your last move.
- The best score is remembered the next time you play.
What stayed: The board, the rules, the score and both endings work as before.
Try a change
Each one starts your own draft in the Studio. Nothing is built until you press Build.
How it was made
- V1 Built on Oct 14, 2026 · Direct · Verified on the second try · 211 s · Tested on desktop and phone · 1 AI Credit
- V2 Changed on Oct 14, 2026 · Verified on the first try · 72 s · Tested on desktop and phone · one change, no AI Credits
Known limitations
- Undo goes back one move only.
- The best score and the game in progress are kept in this browser only.