home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn User 4
/
AUCD4.iso
/
arcade
/
arcgames
/
hanoi
/
!Hanoi
/
!Help
next >
Wrap
Text File
|
1993-12-17
|
2KB
|
42 lines
!Hanoi
Tower of Hanoi (desktop version)
By D. Salt
For those of you who haven't heard of this puzzle (all two of you), the
objective is to move all the tiles from one stack to one of the other two,
moving only one tile at a time onto either an empty stack or onto a stack
containing only larger tile.
The rest of you can start reading here.
Each stack is represented by a vertical black bar, with any tiles on that
stack displayed 'in front' of the bar. (This is analogous to the 'real'
version where you have three poles and each tile has a hole in the middle.)
You will see a moves counter shown at the bottom of the middle stack. This
is shown as 'Moves: x (y)' where x is the number of moves you have made, and
y is the minimum number required to complete the puzzle (this is always (2 ^
number of tiles) - 1).
To move a tile from one stack to another, click on it (don't miss!) and drag
it to anywhere on the destination stack (ie. another tile, the black bar,
the white background). Dragging it to the light grey bits isn't allowed. If
the move is valid, the tile will be moved, and the moves counter is updated.
You can tell when you've completed it because the light grey bits disappear.
If you want to start again with the same number of tiles, click anywhere in
the game window or on the !Hanoi bar icon.
You can change the number of tiles (between 4 and 10) via the 'New game'
menu option. Clicking on 'New game' will start a new game (obviously).
Additionally, you can force the computer to play for you by clicking on
'Auto play'. This causes a new game to be started... just sit back and
watch. You can abandon at any time by clicking on 'Auto play' again.
The scroll bar is only present so that the resize icon can be present, and,
as such, is ignored by !Hanoi. You can drag it all you like, but nothing
will happen.