Games

2048

Slide the tiles, merge equal numbers and try to reach 2048. Four directions, one rule — and surprisingly deep.

Open in its own tab

The game only loads when you start it (587 kB). Works on touch screens too.

About the game

The 2014 web hit that started a thousand clones. Every move adds a new tile; plan ahead or the board fills up. Works with the keyboard and with swipes on a phone.

Under the hood

Plain JavaScript and CSS transitions, about a dozen small files.

Controls

KeyAction
Arrow keys or W A S Dslide all tiles
Swipethe same on a touch screen

Credits

By
Gabriele Cirulli
Licence
MIT
Source code
github.com/gabrielecirulli/2048
Changes for this site
SOURCE.txt
Size
587 kB