🗼 Tower of Hanoi

Shift the whole stack to the right peg — one disk at a time, never a bigger disk onto a smaller one.

Moves

0

Minimum

15

Time

0:00

Best

Tip: with 8 disks the optimal run is 255 moves — recursion beats brute force.

How to play Tower of Hanoi

  1. 1Read the goal at the top of the screen (most games explain themselves inline).
  2. 2Use tap / swipe on mobile, or the arrow keys and space on a desktop.
  3. 3Beat your own score — personal bests are stored on your device.

about 5 min to play 🎯 MediumSolo · pass-and-play, one device

Similar games