Skip to main content

Familiar Tower of Hanoi

··
Game Classic Machine Translation

How to Play
#

Select the number of disks, then press Start. Click a pillar to pick up the top disk or place one down.

About
#

Tower of Hanoi is a classic math puzzle. Three pegs, and a stack of disks — move them all from one peg to the opposite one, following these rules:

  • Only one disk may be moved at a time.
  • A larger disk may not be placed on top of a smaller one.

I built this as a small JavaScript exercise before job hunting in college. I figured I could solve the Tower of Hanoi in my sleep, so I wanted to test whether I truly understood it — or had just memorized the solution without realizing it.