Skip to content

jachsu/Tower-of-Hanoi

Repository files navigation

Tower of Hanoi

It's a mathematical game. Recursion is used to solve the problem.

Usage

Console_controller.py: Change the ConsoleController parameters to set number of cheese and number of stools. Enter two integer with a whitespace in between in the console to indicate the source stool and destination stool. Type 'want to exit' to exit the game.

tour.py: the algorithm finds the solution and displays each step in the console.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages