Tower Of Hanoi is a puzzle game for the Sugar desktop. The goal of the game is to move the stack of disks to any one of the initially empty rods.
- Only one disk can be moved at a time.
- Larger disks cannot be put on top of smaller ones.
Tower Of Hanoi can be run on the Sugar desktop. Please refer to;
Dependencies:-
- Python >= 3.10
- PyGObject >= 3.42
- PyGame >= 2.5
These dependencies need to be manually installed on Debian, Ubuntu and Fedora distributions.
Running outside Sugar
-
Install the dependencies
-
Clone the repo and run -
git clone https://github.com/vaibhav-sangwan/tower-of-hanoi.git
cd tower-of-hanoi
python main.py
Running inside Sugar
- Open Terminal activity and change to the Tower Of Hanoi activity directory
cd activities\TowerOfHanoi.activity
- To run
sugar-activity3 .