Please enter the number of discs to be moved



"The Tower of Hanoi (also called the Tower of Brahma or Lucas' Tower and sometimes pluralized as Towers, or simply pyramid puzzle) is a mathematical game or puzzle. It consists of three rods and a number of disks of different diameters, which can slide onto any rod. The puzzle starts with the disks stacked on one rod in order of decreasing size, the smallest at the top, thus approximating a conical shape." (see https://en.wikipedia.org/wiki/Tower_of_Hanoi last accessed 15 June 2021).

This game is played out on screen with user entering the number of discs, any more than 6 and it will take ages to complete. Part of MIT Professional Certificate in Coding: Full Stack Development with MERN assignment in week 10.

More improvements to come in the future to include better colours and more info onto the DOM.