The original five-minute rabbit hole

Easy to learn.
Hard to leave.

2048 is a single-player number puzzle about managing space. Each move shifts the whole board, so one casual swipe can shape the next ten decisions.

Play 2048

Rules

How a round works

Use the arrow keys, WASD, the on-screen controls, or swipe. Every tile moves as far as it can in that direction. When two equal tiles meet, they merge and add their new value to your score.

A new 2 or 4 appears after each successful move. The round ends only when the board is full and no neighboring tiles match. Reach 2048 to win, then keep playing if you want a larger tile.

A stronger opening

Keep your largest tile in one corner.

Build along one edge, avoid random direction changes, and protect empty cells. Undo is available for one move when you need to recover from a slip.

Open source

One puzzle, three native experiences

This repository includes the browser game plus SwiftUI and Jetpack Compose editions. Each client shares the same visual language and familiar play flow while using platform-native controls and storage.

Created by Son Nguyen. Browse the implementation, report an issue, or contribute on GitHub.