Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erickarpovits/towers-of-hanoi-project
Implementation of Towers of Hanoi in C++ and Allegro with an option for the user to play it themselves :)
https://github.com/erickarpovits/towers-of-hanoi-project
allegro allegro-5 allegro-framework allegro5 allegro5-library codeblocks-ide cplusplus cplusplus-11 game-development linked-lists object-oriented-programming stacks towers-of-hanoi
Last synced: about 1 month ago
JSON representation
Implementation of Towers of Hanoi in C++ and Allegro with an option for the user to play it themselves :)
- Host: GitHub
- URL: https://github.com/erickarpovits/towers-of-hanoi-project
- Owner: EricKarpovits
- Created: 2021-02-08T04:51:32.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-04T14:58:57.000Z (over 3 years ago)
- Last Synced: 2024-10-12T16:22:19.428Z (about 1 month ago)
- Topics: allegro, allegro-5, allegro-framework, allegro5, allegro5-library, codeblocks-ide, cplusplus, cplusplus-11, game-development, linked-lists, object-oriented-programming, stacks, towers-of-hanoi
- Language: C++
- Homepage: https://erickarpovits.github.io/Towers-of-Hanoi-Project
- Size: 11.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Towers of Hanoi - [Eric Karpovits](https://github.com/EricKarpovits)
The Towers of Hanoi is a game in which a stack of disks is moved from the first peg to a third peg with the help of an intermediate post. Only one disk may be moved at one time and larger disks may never be on top of smaller disks.
3Blue1Brown Towers of Hanoi Video Explanation: [link](https://www.youtube.com/watch?v=2SUvWfNJSsM)
This project represents the culmination of the Algorithms/Recursion unit.
The game was inspired by [`Math is Fun`](http://www.mathsisfun.com/games/towerofhanoi.html)
Levels of Achievement:
-----
* C : Use console to create an animation of recursive solution.
* A-: Use Allegro to create an animation of the recursive solution. Hard coding number of discs is OK.
* A : Use Allegro to create a clickable walk through of the recursive solution. User should be able to change number of discs (typical range is 5 - 7).
* A+: Make the game also playable by the user.
* **All Levels Achieved**