2048 Controls and Keyboard Shortcuts
On desktop use the arrow keys or WASD to slide tiles and press Z to undo; on mobile swipe in any direction and tap the on-screen undo button. Undos are limited to 5 per ranked game and are not replenished.
Full 2048 controls reference
| Action | Desktop | Mobile |
|---|---|---|
| Move tiles up | Up arrow or W | Swipe up |
| Move tiles down | Down arrow or S | Swipe down |
| Move tiles left | Left arrow or A | Swipe left |
| Move tiles right | Right arrow or D | Swipe right |
| Undo last move | Z key | Undo button |
How a single move works
Every control does the same thing under the hood: it shifts all tiles as far as they can go in the chosen direction at once, and any two equal tiles that collide along the way merge into one tile of double the value. You are never moving a single tile — you are sliding the whole board. A new tile (a 2 about 90% of the time, a 4 about 10%) then spawns in a random empty cell, but only if at least one tile actually moved or merged. That last detail is the key to good control: pressing into a wall where nothing can shift is a true no-op that costs you nothing, while a direction that does move tiles always adds a new one, gradually filling the board.
One more rule worth knowing at the keyboard: a tile created by a merge cannot merge again in the same move. Four 8s in a row become two 16s in one swipe, not a single 32. Chains resolve one layer per press, which is why holding a direction down feels different from tapping it deliberately.
Getting the most out of the undo key
Undos are the one control with a budget: five per ranked game, not replenished, and not carried between games. The mistake worth avoiding is spending them exploratively — undoing a move to see what a different direction would have done. Because a no-op swipe costs nothing, you can already test any direction that is blocked for free; what you cannot take back cheaply is a move that actually shifted the board. Reserve Z for the move that dislodged your corner tile, and you will almost always still have one left when the endgame arrives.
Tips for mobile players
Deliberate, full swipes register far more reliably than quick flicks, so make a clear gesture from one side of the board toward the other rather than a short stab. If swipes are landing late or being intercepted by the browser's own back and refresh gestures, the fix is to install 2048.now to your home screen — see why 2048 feels laggy on mobile for how the PWA changes that and what else causes stutter.