2048 Game
Slide numbered tiles on a 4x4 grid and merge equal pairs to build a 2048 tile. Arrow keys or on-screen arrows, auto-save, best score and a move timer.
The interactive tool loads here when JavaScript runs.
About this toolWhat is 2048?
Every move slides all tiles on the 4 by 4 board as far as they go in one direction. Two tiles with the same number that collide merge into one tile with their sum, and the value of the new tile is added to your score. After each move that changes the board, a new tile appears on a random empty square: a 2 nine times out of ten, otherwise a 4.
Reach a 2048 tile to win. You can then keep playing for a higher score. The game ends when the board is full and no two neighbouring tiles match. The board, score, move count and time are saved in your browser after every move, so you can close the tab and continue later.
Use the arrow keys on a computer. On a phone the on-screen arrow buttons appear below the board; there are no swipe gestures.
- Classic 4 by 4 board with 90% 2s and 10% 4s
- Correct one-merge-per-move rule in all four directions
- Auto-save after every move, best score and move counter
- Timer that starts on your first move
- Keep Playing after 2048; on-screen arrows for phones
Updated
How to use 2048
- Press an arrow key (or tap an arrow button on mobile) to slide every tile in that direction.
- Watch for pairs: equal tiles that meet merge into their sum and add that sum to Score.
- Keep going until you build a 2048 tile. Choose Keep Playing to continue for a bigger score, or New Game to start over.
- The game ends when no move can change the board. Click Try Again or New Game in the Game Status card.
- Your progress saves automatically; the Best card shows the top score from this browser.
Background and insight
Gabriele Cirulli released 2048 as a weekend project in March 2014 and published the source code. It was inspired by an earlier clone called 1024, which in turn borrowed from Threes, a paid mobile game released a few weeks before. Its open source made it one of the most forked game projects on GitHub.
The merge rule has a detail that catches people out: a tile can merge only once per move, and merges resolve from the side you are moving toward. Sliding [2, 2, 2, 2] left gives [4, 4], not [8]. Sliding [2, 2, 4] left gives [4, 4], and the new 4 does not merge with the old one until the next move. Sliding [2, 2, 2] left gives [4, 2], because the pair nearest the wall merges first.
Each merge adds the new tile's value to the score. Building a tile of 2 to the power n entirely from spawned 2s scores (n minus 1) times its value, so one 2048 tile is worth 10 x 2048 = 20,480 points. Real games score a little less, because tiles that spawn as 4s were never earned by a merge.
Common use cases
A short thinking break
Games auto-save after every move, so you can play a few moves and come back later.
Learning corner strategy
Practise keeping the biggest tile in one corner and building a descending chain beside it.
Number practice
Every merge doubles a tile, so you see 2, 4, 8 and onward up to 2048.
Score chasing
After winning, Keep Playing lets you aim for 4096 or 8192 on the same board.
Tips and limitations
- Pick a corner for your largest tile and keep it there. Mostly use two directions (for example Down and Left), a third when needed, and the fourth only in emergencies.
- Keep the row along your corner full, so a move away from the corner cannot slide the big tile out of place.
- Build a snake: in the corner row, tiles should decrease from the corner outward (1024, 512, 256, 128), then continue on the next row in the opposite direction.
- Do not chase small merges on the far side of the board. Each one is worth little and tends to pull the board apart.
- If a move does not change anything, no tile spawns and the move counter does not go up.
Sources and further reading
- gabrielecirulli/2048, GitHub. The original 2048 source code, released in 2014
- 2048 (video game), Wikipedia. Background on 1024 and Threes
Frequently asked questions
Why did four 2s in a row become two 4s instead of an 8?
Each tile can merge only once per move. Sliding [2, 2, 2, 2] left merges the first pair and the second pair, giving [4, 4]. The two 4s can merge on your next move. This is the rule of the original 2048 and it is what makes long chains take planning.
What is the best strategy for 2048?
Keep your largest tile in one corner and build a descending chain from it along the edge. Use mainly two directions toward that corner, keep the edge row full so it cannot shift, and only press the direction away from the corner when nothing else works. Most lost games start with the big tile being forced out of its corner.
How is the 2048 score calculated?
Every merge adds the value of the new tile to your score. Merging two 8s adds 16, merging two 1024s adds 2048. Tiles that appear on their own add nothing, so a game where more 4s spawn ends with a slightly lower score for the same board.
Can I keep playing after reaching 2048?
Yes. When the 2048 tile appears, the win banner offers Keep Playing and New Game. Keep Playing closes the banner for the rest of that game and you can continue toward 4096 and beyond until the board locks up.
Is my 2048 game saved if I close the browser?
Yes. The board, score, move count and elapsed time are written to local storage after every move, and the game resumes where you left off when you return in the same browser. Clearing site data or using a private window starts a new game.
Can I play 2048 with swipes on my phone?
Not with swipes. On narrow screens four arrow buttons appear under the board, and tapping them moves the tiles exactly as the arrow keys do on a computer.
Is there an in-depth guide to 2048?
Yes. “Classic Browser Games: Rules and Strategies That Actually Work” covers the background, how it works, common pitfalls and worked examples. Read the full guide.
Related Tools You May Like
Free, in-browser tools that pair well with this one.