xnzvl / CLIps

Collection of programming exercises.
1 stars 0 forks source link

Hanoi Towers implementation #1

Open xnzvl opened 6 months ago

xnzvl commented 6 months ago
xnzvl commented 4 months ago

CLI usage should look something like this

# basic usage
$ ./hanoiTowers.py

# with custom number of layers
$ ./hanoiTowers.py --layers <number>
$ ./hanoiTowers.py -l <number>
xnzvl commented 4 months ago

then CLI in-app should look like:

# move selected range of a tower
> move <towerIndex> <layerCount>

# set back to default
> reset