/tower-of-hanoi-simulation

Tower of hanoi problem solving simulation

Primary LanguagePython

drawing

Tower of hanoi simulation

Step-by-step visualization of the process of solving of tower-of-hanoi problem

Installing / Getting started

python3 -m pip install -r requirement.txt

The only required package for now is pygame

Run

Run the simulation with the following command

python3 -m runner

Configuration

Below is a list of available options

disk_num

Type: int
Default: 5

Number of discs

Example:

python3 -m runner --disk-num=5  # Will run the simulation with 5 disks