Engineering >> Computer Science & Engineering

Tower of Hanoi

by Alec Mandell

 

Submitted : Fall 2014


During this project I had to put much thought in how to have a program that would prompt the user to enter the amount of disks he/she would be using in the game Towers of Hanoi.  From there, the program would have to use this knowledge of how many disks there were to read back to the user the moves he/she should make and how many moves it would take.  After researching the game in depth one comes to the conclusion that the pattern associated with the game is a recurring pattern; making the best way to solve the problem by initiating a recursive sequence into the program.

 


 

[ Back ]

Advisors :
Arcadii Grinshpan, Mathematics and Statistics
Jing Wang, Computer Science & Engineering
Suggested By :
Jing Wang