How to play
The board is a 4×4 grid that starts with two tiles, each showing a 2 or a 4. On every turn you choose a direction and all tiles slide as far as they can that way. When two tiles with the same number collide, they merge into one tile with their sum: 2 and 2 become 4, 4 and 4 become 8, and so on. Your goal is to create a tile with the number 2048.
After every move that changes the board, a new tile appears in a random empty square: 9 times out of 10 it is a 2, otherwise a 4. The board slowly fills up, so every move needs a little planning. When the grid is full and no neighbouring tiles match, the game is over.
Gabriele Cirulli wrote 2048 in 2014 as a small clone of earlier tile-merging games and released it as open source. This version keeps its rules and adds an undo of up to 200 moves.
Rules
- Tiles slide until they hit the edge of the board or another tile.
- Two tiles with the same value merge into one. The new tile carries the sum, and that sum is added to your score.
- A tile can merge only once per move. Four 2s in a row moving left become 4 and 4, not a single 8.
- When three equal tiles line up, the two closest to the wall you move towards merge first.
- A new tile spawns only after a move that actually moved or merged something. A move that changes nothing costs nothing.
- Reaching 2048 wins the game, but you may keep going and aim for 4096, 8192 and beyond.
Controls
- Mouse: press on the board and drag in the direction you want to move. A short drag of about 30 pixels is enough.
- Touch: swipe anywhere on the board. The board does not scroll the page while you swipe, so your thumb is free to play.
- Keyboard: the arrow keys, or W A S D for up, left, down and right.
- Undo takes back your last move, including the tile that spawned. Press it again to step further back, up to 200 moves.
- New game starts a fresh board at any time.
Your current game and your best score are stored in your browser, so you can close the page and continue later on the same device.
Corner strategy
Keep your largest tile in one corner and move mostly in two directions, say left and down, so it stays there; use a third direction only when those two are blocked, and avoid the fourth. Line up the next tiles in descending order along that edge, so each merge feeds the next, and merge stray 2s and 4s early before they trap a larger number. Before you swipe, picture where the new tile might land and whether it could block a merge. When a move goes wrong, step back with Undo and try another direction to see the difference.
Frequently asked questions
Can I keep playing after I reach 2048?
Yes. When you make a 2048 tile a message appears with a Keep going button. Press it and the game continues with the same board, and you can keep merging to 4096 and higher.
How is the score calculated?
Every time two tiles merge you gain the value of the new tile. Merging two 8s into a 16 adds 16 points. Bigger merges are worth more, so the score grows faster as you go.
When is the game over?
The game ends when every square is filled and no two neighbouring tiles share the same number, so no move is possible. You can use Undo to go back, or press Try again.
Sources
- Cirulli G (2014). 2048. Source code of the original game, MIT licence. It starts with two tiles, makes each new tile a 2 nine times out of ten and has no undo.