Tower of Hanoi (Tour de Hanoi) +- HP Forums (http://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: HP Prime Software Library (/forum-15.html) +--- Thread: Tower of Hanoi (Tour de Hanoi) (/thread-6086.html) |
Tower of Hanoi (Tour de Hanoi) - StephenG1CMZ - 04-21-2016 03:04 AM Prompted by my recent involvement with a team activity to solve the Tower of Hanoi, I produced this little program.. Unlike all the existing versions I have seen, this one allows you to enter a challenge time, and calculates the average time per move - or enter an average move time and calculate how long a practical activity with real objects will need. Version 1 is available in English Francais and Polskie (with help from Google Translate). It implements the minimum 3-towers solution to the problem. It lists the required moves in lists L1 (from) and L2 (to). There is no animation of the contents of each tower. |