Skip to content

amandabadger/hanoi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Hanoi

A python Tower of Hanoi implementation.

Description

Play the Tower Of Hanoi game. Move all of the disks from the first peg onto the last peg, following the rules of the hanoi game.

Rules

Move one disk at a time.

Disks can only be placed on larger disks or empty pegs.

Win by moving all of the disks onto peg 3.

To Run

This is a basic python3 script, so navigate to the directoy you install it in, and type ./hanoi.py

About

A python Tower of Hanoi implementation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages