home *** CD-ROM | disk | FTP | other *** search
/ Más de 2,500 Juegos / CD2.iso / zipdat / 0985 / 0985.txt next >
Encoding:
Text File  |  1996-12-25  |  1.2 KB  |  29 lines

  1. HANOWE  : Towers of Hanoi (Windows version, English)
  2.  
  3. Title   : HANOIWE
  4. Version : 1.4
  5. Date    : Dec 26,1996
  6. Author  : J R Ferguson
  7. Download: http://www.xs4all.nl/~ferguson
  8. E-mail  : j.r.ferguson@iname.com
  9.  
  10. This program may be used and copied freely without  charge,  but  only  for
  11. non-commercial  purposes.  The  author is not responsible for any damage or
  12. loss of data that may be caused by using it.
  13.  
  14. Towers of Hanoi. A classical recursive algorithm for which a  'legend'  was
  15. thought  up.  In  Hanoi there would be monks that had a sheer inhuman task:
  16. Nine stone disks, all with a different diameter and a hole in  the  middle,
  17. are  piled on a pole, the smallest op top. Two more poles are placed beside
  18. it. The task consists  of  moving  all  disks  from  the  leftmost  to  the
  19. rightmost pole, using the middle pole as a place to store disks in-between.
  20.  
  21. There are two rules that must be observed:
  22.   Only one disk can be moved at a time.
  23.   Never place a disk on top of one that is smaller.
  24.  
  25. According to the legend, the world will be at end when this task is done.
  26.  
  27. In  this  game,  you  may  fulfill  the  task yourself, or you may make the
  28. computer show you how.
  29.