TowersOfHanoi

Content rating
Everyone
1+
Downloads
Content rating
Everyone
Learn more
Screenshot image
Screenshot image

About this app

The Tower of Hanoi (also called The problem of Benares Temple[1] or Tower of Brahma or Lucas\' Tower[2] and sometimes pluralized as Towers, or simply pyramid puzzle[3]) is a mathematical game or puzzle consisting of three rods and a number of disks of various diameters, which can slide onto any rod. The puzzle begins with the disks stacked on one rod in order of decreasing size, the smallest at the top, thus approximating a conical shape. The objective of the puzzle is to move the entire stack to the last rod, obeying the following rules:

1. Only one disk may be moved at a time
2. Each move consists of taking the upper disk from one of the stacks and placing it on top of another stack or on an empty rod.
3. No disk may be placed on top of a disk that is smaller than it.

With 3 disks, the puzzle can be solved in 7 moves. The minimal number of moves required to solve a Tower of Hanoi puzzle is 2n − 1, where n is the number of disks.

From: https://en.wikipedia.org/wiki/Tower_of_Hanoi
Graphics library credit: https://android.processing.org
Updated on
Jul 15, 2025

Data safety

Safety starts with understanding how developers collect and share your data. Data privacy and security practices may vary based on your use, region, and age. The developer provided this information and may update it over time.
No data shared with third parties
Learn more about how developers declare sharing
No data collected
Learn more about how developers declare collection
Content rating
Everyone
Learn more

App support

About the developer
Bernard Michael Elbourn
create@elbourn.com
72 Magdalen Court BROADSTAIRS CT10 1DF United Kingdom