Tower of Hanoi
-
I wrote a simple Tower of Hanoi solver utilizing the classic recursive function. It uses an array of Struct variables for the tiles. Its a fun little implementation and it is commented pretty well. May be a good example for those new to programming. Let me know what you think
Download ID: LYQ33MNDS4
-
-
Looks nice! Maybe you could turn it into a game and add a mode for letting the user try to solve it as well?
-
I like this. This code only contains 70 lines and 1 x if. Nice recursion. It would be a nice example for a code-learning library, indeed.