GitHunt
JE

Jean1000levrai/Towers-of-Hanoi

play the towers of hanoi or solve them

Towers-of-Hanoi

Licence

Example for 2 Rings

tower_preview

๐Ÿ“‘ Table of Contents

โ„น๏ธ About
โœ… Features
๐Ÿ› ๏ธ Installation
๐Ÿ“„ License

โ„น๏ธ About

This is a project made by me (Jean1000) when I was in high school. I learnt about the Tower of Hanoi, and how to solve problems through code. This project put to a challenge my problem solving skills.
Play the towers of hanoi or solve them

โœ… Features

  • Graphic interface
  • Play and try to solve the puzzle
  • Computer solves the problem
  • From 3 to 8 disks

๐Ÿ› ๏ธ Installation

1. Prerequisites

  • python3.10 or above
  • pip
  • create a new folder
  • cd path/to/your/folder
  • nothing more, YAYY XD

2. Download

In any shell, or PowerShell for Windows

bash

git clone https://Jean1000levrai/Towers-of-Hanoi.git
cd Towers-of-Hanoi
python3 -m venv .venv
source .venv/bin/activate    # windows: .venv\Scripts\Activate.ps1
pip install -r requirements.txt

3. Launch it and Play!

bash

cd path/to/your/folder
cd src   # don't forget this
python3 main.py

๐Ÿ“„ License

This project is licensed under the MIT License โ€” see the LICENSE file for details.

Jean1000levrai/Towers-of-Hanoi | GitHunt