Towers of Hanoi: Difference between revisions

Content added Content deleted
m (→‎pictorial moves: added wording to the REXX section header.)
m (→‎pictorial moves: added highlighting to the REXX section header.)
Line 3,354: Line 3,354:
Quite a bit of code has been dedicated to showing a "picture" of the towers with the disks, and the movement of the disk (for each move).   "Coloring" of the disks is attempted with dithering.
Quite a bit of code has been dedicated to showing a "picture" of the towers with the disks, and the movement of the disk (for each move).   "Coloring" of the disks is attempted with dithering.


In addition, it shows each move in a countdown manner (the last move is marked as #1).
In addition, it shows each move in a count<u>down</u> manner (the last move is marked as #1).


It may not be obvious from the pictorial display of the moves, but whenever a disk is moved from one tower to another, it is always the top disk that is moved &nbsp; (to the target tower).
It may not be obvious from the pictorial display of the moves, but whenever a disk is moved from one tower to another, it is always the top disk that is moved &nbsp; (to the target tower).