Welcome to our complete JavaScript implementation of the classic Towers of Hanoi brain puzzle. The object of the game is to reassemble the tower of disks on either of the remaining posts.

To start, click on any disk and move it to one of the other posts. The catch is that you may move only one disk at a time, and you may never place a larger disk on top of a smaller one. Keep moving the disks around the three posts until you have a completed tower.

To save your sanity, start with a small number of disks. The minimum number of possible moves increases geometrically as the number of disks increases. Whereas it's possible to solve the 3 disk game in just 7 moves, the eight disk game requires at least 255 moves!