The Tower of Hanoi is a classic mathematical and strategic puzzle game. It consists of three rods and a number of disks of different sizes which can slide onto any rod. The puzzle starts with the disks stacked in a neat pyramid on the first rod, smallest at the top. The objective is to move the entire stack to the rightmost rod following three simple rules.
Keep these rules in mind while moving your disks:
The minimum number of moves required to solve the puzzle is $2^n - 1$ (where $n$ is the number of disks). For 4 disks, it takes 15 moves.
Yes! The game features a fully responsive touch-optimized layout suitable for phones, tablets, and desktop computers.
No, Tower of Hanoi is 100% free to play directly in your web browser with no downloads required.