Tower of Hanoi Puzzle
Move the discs, 3 to 8
Only for iPhone
Free · Designed for iPhone. Not verified for macOS.
iPhone
New: How the machine solves it — open the real recursion the game runs, at any point in the puzzle, and watch a problem reduce to a smaller copy of itself.
The Tower of Hanoi is the example every computer science course reaches for when it teaches recursion. Most versions of it let you push discs around and stop there. This one shows you the reasoning.
HOW THE MACHINE SOLVES IT
Tap it at any point in the game — even from a position you got yourself into by mistake — and the game opens the real chain of questions it asks itself before its next move:
For 5 discs to reach the right → first 4 to the middle
For 4 discs to reach the middle → first 3 to the right
For 3 discs to reach the right → first 2 to the middle
For 2 discs to reach the middle → first 1 to the right
Disc 1 moves: the left → the right
That is not a written explanation kept alongside the game. It is the same computation that powers the hint, recorded as it descends — so it can never drift out of step with what the game actually does. Solve one puzzle and you have seen, step by step, how a problem is solved by reducing it to a smaller copy of itself.
THE PUZZLE
Move the whole stack to the far peg. A larger disc may never rest on a smaller one. That is the only rule.
• Three to eight discs — from a warm-up to a real sitting.
• Your move count shown against the shortest possible one (2ⁿ−1), and a record kept for every level.
• Undo, and a restart that does not lose your place.
• Large discs and easy targets, so it plays with a thumb.
Full offline play. No account, no sign-up. In English and Albanian.
A Closer Look
Ratings & Reviews
- This app hasn’t received enough ratings or reviews to display an overview.
The developer, SpaceCode L.L.C., indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy .
Data Not Collected
The developer does not collect any data from this app.
Accessibility
The developer has not yet indicated which accessibility features this app supports. Learn More
Information
- Seller
- ENISI CENTER SH.P.K.
- Size
- 71.7 MB
- Category
- Puzzle
- Compatibility
Requires iOS 15.0 or later and a device with the A12 Bionic chip or later.
- iPhone
Requires iOS 15.0 or later and a device with the A12 Bionic chip or later.
• iPhone XS
• iPhone XS Max
• iPhone XR
• iPhone 11
• iPhone 11 Pro
• iPhone 11 Pro Max
• iPhone SE (2nd generation)
• iPhone 12 mini
• iPhone 12
• iPhone 12 Pro
• iPhone 12 Pro Max
• iPhone 13 Pro
• iPhone 13 Pro Max
• iPhone 13 mini
• iPhone 13
• iPhone SE (3rd generation)
• iPhone 14
• iPhone 14 Plus
• iPhone 14 Pro
• iPhone 14 Pro Max
• iPhone 15
• iPhone 15 Plus
• iPhone 15 Pro
• iPhone 15 Pro Max
• iPhone 16
• iPhone 16 Plus
• iPhone 16 Pro
• iPhone 16 Pro Max
• iPhone 16e
• iPhone 17 Pro
• iPhone 17 Pro Max
• iPhone 17
• iPhone Air
• iPhone 17e
• iPhone 18 Pro
• iPhone 18 Pro Max
• iPhone Duo - Mac
Requires macOS 12.0 or later and a Mac with Apple M1 chip or later. - Apple Vision
Requires visionOS 1.0 or later and a device with the A12 Bionic chip or later.
- iPhone
- Languages
- English
- Age Rating
4+
- 4+
- Copyright
- © 2026 SpaceCode
