How to play

Towers of Hanoi is a puzzle from 1883. A stack of disks sits on the first tower. Your goal is to move the whole stack to the last tower.

The three rules

  1. Move one disk at a time.
  2. Only move the top disk of a tower.
  3. Never place a disk on top of a smaller one.

Controls

Tap the tower you want to move a disk from, then tap the tower you want to move it to. Tap the same tower again to cancel. You can also drag the top disk and drop it on another tower. Illegal moves are refused and the disk stays where it was.

Fewest moves

With three towers and n disks the minimum is 2n − 1 moves: 7 for three disks, 15 for four, 255 for eight. With a fourth tower the minimum drops (for example 5 disks need 13 moves instead of 31).

Tip: to move a stack of n disks, first move the top n−1 disks to the spare tower, move the biggest disk to the target, then move the n−1 disks on top of it.

Levels

You start with three disks. Each level adds one disk, up to eight. Your score carries over as you progress.

Difficulty

ModeWhat changesScore
EasyFour towers from the start, free undos, no time limit×0.5
NormalThree towers (a fourth unlocks later), free undos, no time limit×1
HardNo starting undos and a time limit per level×1.5
ExpertStrict limits on both moves and time, no earned undos×2

Undo

Undo takes back your last move. You begin with a few free undos in most modes, and you can earn more by choosing to watch a short rewarded ad. Ads are never shown without your choice.

Scoring

Every move earns points (100 for each move up to the optimal count, 25 after that), minus a small penalty for the time spent. The total is multiplied by the difficulty. Fewer wasted moves and a faster solve both raise your score.

Scores are calculated and verified on our servers: the app sends your moves, the server replays the game and only legal, completed solutions reach the leaderboard.

Need help?

Email devlex.info@gmail.com.