Word & Logic · Interactive Game

Tower of Hanoi Logic

Transfer a stack of four graduated disks from Peg A to Peg C without ever placing a larger disk onto a smaller one.

Loading interactive game...
Advertisement

How to Play & Controls

Click a source peg to lift its top disk, then click a destination peg to place it.

Winning Strategy & Pro Tips

  • Always move the smallest disk (Disk 1) every odd-numbered turn in a consistent cyclic direction across pegs.
  • To solve 4 disks in the theoretical minimum of 15 moves, first assemble disks 1–3 onto Peg B, move Disk 4 to Peg C, then rebuild 1–3 onto Peg C.
  • With N disks, the optimal minimum move count is always 2^N − 1.

Origins & Design History

Invented in 1883 by French mathematician Édouard Lucas under the pseudonym 'N. Claus de Siam', the Tower of Hanoi became computer science's quintessential illustration of recursion: solving N disks simply requires solving N−1 disks twice.

Cognitive & Skill Benefits

Tower of Hanoi activates prefrontal executive planning—requiring players to pursue sub-goals that temporarily appear to move away from the final arrangement.

Earn XP While You Play: Completing rounds or beating milestones automatically awards local CurioPlay XP stored privately inside your browser.