How to play
You complete Tower of Hanoi when the complete ordered tower is rebuilt on the target right peg without violating disc order. The full Tower of Hanoi position determines the outcome; visual shortcuts never replace the documented Tower of Hanoi terminal rule.
- Tower of Hanoi begins with all discs stacked from largest to smallest on the left peg while the centre and right pegs are empty. The Tower of Hanoi deal identity and Lucas Tower of Hanoi rules v1 are stored together. Restarting Tower of Hanoi reproduces this opening exactly.
- During Tower of Hanoi, you move the top disc of one peg onto an empty peg or onto a larger top disc; covered discs and larger-on-smaller placements are rejected. The Tower of Hanoi engine rejects profile violations, unavailable material, and every action attempted after Tower of Hanoi reaches a terminal result.
- You complete Tower of Hanoi when the complete ordered tower is rebuilt on the target right peg without violating disc order. The full Tower of Hanoi position determines the outcome; visual shortcuts never replace the documented Tower of Hanoi terminal rule.
Strategy tips
- A reliable Tower of Hanoi plan is to treat the largest disc move as the midpoint and recursively transfer every smaller disc to the temporary peg before and after it. A Tower of Hanoi hint is legal and deterministic. The next Tower of Hanoi hint exposes one bounded action; it never claims a forced Tower of Hanoi win.
- A costly Tower of Hanoi mistake is to move a large disc as soon as it is exposed without first arranging the smaller tower on the only peg that leaves the target free. Undo supports studying that Tower of Hanoi decision, while restart preserves the original seeded Tower of Hanoi opening.
- In the Tower of Hanoi endgame, follow the parity-correct smallest-disc cycle and verify that the final larger move leaves a legal ordered destination. Check every remaining Tower of Hanoi action before committing because its terminal rule is enforced immediately.