Previous Page > Software Index > Towers of Hanoi.

Name Towers of Hanoi
Year of release 2006
Publisher Ricardo Fernandes Lopes
Producer / Author(s) Ricardo Fernandes Lopes
Memory 3k
Type Puzzle Game
Original Cost PD
The Tower of Hanoi or Towers of Hanoi is a mathematical puzzle. It consists of three pegs, and a number of disks of different sizes which can slide onto any peg. The puzzle starts with the disks neatly stacked in order of size on one peg, smallest at the top making a conical shape.

The objective of the game is to move the entire stack to another peg, obeying the following rules:

  • Only one disk may be moved at a time.

  • Each move consists of taking the upper disk from one of the pegs and sliding it onto another peg, on top of the other disks that may already be present on that peg.

  • No disk may be placed on top of a smaller disk.

Use keys 1, 2 and 3 to play

You can read the code in the listing archive

Screen shot


Click here to go back