Tower of Hanoi | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 7

Tower of Hanoi

if one day you played at the Tour of Hanoi, this program solves the problem posed by the game: it shows you the minimum moves required by the game to move the discs from tower 1 to tower 3. Have fun! https://code.sololearn.com/WfrFIPEBY2hS/?ref=app

28th Nov 2017, 9:51 PM
JosuƩ Charles
JosuƩ Charles - avatar
3 Respostas
+ 7
OK @Adam Schmitt. I am working on your suggestion. Thanks brother!
4th Dec 2017, 8:14 PM
JosuƩ Charles
JosuƩ Charles - avatar
11th Jun 2019, 2:17 AM
JosuƩ Charles
JosuƩ Charles - avatar
+ 2
Nice code. It would be nice if you could show a picture of the Tower of Hanoi game to help the readers out. It would be even more nice to animate the moves to show the progression of the game!
3rd Dec 2017, 4:16 AM
Adam Schmitt
Adam Schmitt - avatar