Tower of Hanoi to play online
Move the whole tower to the flag, one disc at a time.
Your codex0 / 6 solved
The Tower of Hanoi was sold in Paris in 1883 by the mathematician Édouard Lucas, with a made-up legend about monks moving 64 golden discs. Three pegs, a stack of discs, one rule.
A tower of n discs can be moved in 2ⁿ − 1 moves and not in fewer. That makes eight discs a good 255 moves, if you never slip.
The rules in brief
Drag the top disc to another peg, or tap a peg and then the peg it should go to. The flag marks the goal. Keys 1, 2, 3 choose a peg.
Moving a tower of n discs takes at least 2ⁿ − 1 moves. For 3 discs that is 7, for 8 discs 255.
To move the biggest disc, first move all the others onto the spare peg. Then do the same again on top of it.
With an odd number of discs the smallest disc goes to the goal first, with an even number to the spare peg.
Showing 6 of 6 puzzles
No puzzle matches this selection.
Remove a filter or try a different word.
More from the collection
Cryptograms and secret codes
Caesar, Atbash, Polybius, the Freemasons’ pigpen, Vigenère and the cryptogram: find the hidden sentence.
Word ladders
Change one letter at a time and turn COLD into WARM. Lewis Carroll’s “Doublets”.
Logic puzzles
Nonograms and Einstein puzzles, each with exactly one solution.
Kakuro
A crossword made of sums: digits 1 to 9, no digit twice in a run.
Star Battle
Place stars so every row, column and region has its share, and no two stars touch.
Slitherlink
Draw one closed loop around the numbers: each number counts the sides the loop touches.
Binairo (Takuzu)
Only zeros and ones: equally many in every row and column, never three in a row.
Number puzzles
Magic squares: every row, column and diagonal adds up to the same sum.
Matchstick puzzles
Move a single match and make the sum come true.
Sliding puzzles
The classic fifteen puzzle and its small sibling, the eight puzzle.










