Spatial puzzles

Tower of Hanoi

Move the whole tower to another peg, never placing a larger disc on a smaller one.

  • 2–10 min
  • Single player

Loading the game…

How to play

  1. Move one disc at a time from the top of a peg.
  2. A disc may only rest on a larger disc or an empty peg.
  3. Move the whole tower to the right-hand peg.

Controls

Click a peg to lift its top disc, then a peg to drop it. Keys 1, 2, 3 select pegs.

About this game

Free Tower of Hanoi with 3 to 8 discs. Compare your moves with the proven minimum of 2ⁿ − 1.

Discs
3 to 8
Target
2ⁿ − 1 moves
Extra
Undo