Towers of Hanoi
A downloadable game for Windows and macOS
A school project where the recursive solution to Towers of Hanoi needed to be implemented. An additional requirement was to add a hint system.
The way I made the hint system was to save all the states in the ideal solution as well as the all the players moves since the last ideal state of the game. When the hint button is pressed the move given is the next ideal state if currently at an ideal state. If not currently at an ideal state the game will undo the player's move until an ideal state is reached.
Game by Carlo Albino
Assets by kenney.nl
GitHub repo: https://github.com/CarloAlbino/TowersOfHanoi
Leave a comment
Log in with itch.io to leave a comment.