Twenty Forty-Eight
Slide a four-by-four tile board, merge equal values once per move, and continue past the 2048 milestone until no legal move remains.
How it works
Try it in your browser.
Slide the board up, down, left, or right using arrow keys, WASD, or the on-screen direction pad. Equal adjacent tiles merge once per move and a new tile appears after a valid slide. Reaching 2048 is a milestone; the run ends only when no move is possible.
- Focus the labeled board and use an arrow key or W, A, S, D to slide. The direction pad provides four touch- and pointer-sized buttons with the same movement actions.
- The board is a four-by-four grid. Each cell announces its row, column, and number or empty state, and the scoreboard shows both the current total and accepted move count.
- Begin run or New run resets the board, score, move count, and deterministic local spawn sequence. Sound is opt-in and synthesized locally; a hidden tab pauses input and audio until you return.
How to play
How to Play
Start with two numbered tiles on a four-by-four board. Choose a direction to slide every tile as far as it can travel. When two equal values meet during the same move, they combine into one tile worth twice as much; a tile cannot merge twice in one slide.
After a slide changes the board, one new low-value tile appears in an empty square. A direction that changes nothing is ignored: it adds no move, spawns no tile, and does not change the score. This distinction helps make a crowded board easier to reason about.
Reaching a tile marked 2048 is a milestone, not a terminal state. You may continue building larger values. The run ends only when the board has no empty square and no equal neighboring tiles that can combine; the final score and move total remain visible.
Input and access
Controls
- Focus the board region and press an arrow key or W, A, S, or D to slide in that direction. The board takes keyboard input only while it has focus, so arrows remain available for normal page navigation elsewhere.
- For pointer or touch play, use the four clearly labeled direction buttons. They are standard buttons and accept Enter or Space when focused. The button path and the keyboard path call the same move function and produce the same score.
- Begin run and New run start from the same seeded arrangement and local spawn sequence, which makes a reset reproducible. Sound remains off until selected, uses short generated tones, and pauses together with input when the page loses visibility or focus.
A complete round
Rules & Scoring
A valid slide moves the full board once. Equal values merge into their sum and contribute that value to the score, with each source tile participating in at most one merge during a move. The board then receives one new tile in a vacant cell.
A no-change direction is not a move. It does not spawn a tile or increment the counter. The game does not use a countdown, lives, undo, or a penalty for an ineffective direction, so players can test a direction without losing a turn.
The number 2048 is not treated as a win or stop condition; play remains active above it. A loss is recorded only after the resulting board has no legal direction. That rendered end state is the natural game-over boundary; ordinary merges are not breaks.
A steadier start
Tips
- Try to keep your largest tile near one corner and build smaller values toward it. This is a planning aid rather than a required pattern, but changing direction repeatedly can scatter large values across the board and reduce their future merge paths.
- Before each slide, follow the entire row or column to see which pairs will meet and which tiles will be blocked by a different value. A merged tile moves only once in that slide, so a new value cannot immediately merge again in the same direction.
- Use the visible score and move count to review a run, not as a speed target. Reaching 2048 does not end play, and a careful ineffective direction costs nothing; choose the next move after looking for at least one empty position or merge.