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
Status | Prototype |
Platforms | Windows, macOS |
Author | Carlo Albino |
Genre | Puzzle |
Tags | Board Game, Singleplayer |
Code license | MIT License |
Average session | A few minutes |
Languages | English |
Inputs | Keyboard, Mouse |
Links | Source code |
Leave a comment
Log in with itch.io to leave a comment.