https://github.com/neuralcortex/towers_of_hanoi_react
Graphical solution to solve the Towers Of Hanoi problem
https://github.com/neuralcortex/towers_of_hanoi_react
csv-export javascript react tower-of-hanoi towers-of-hanoi w3schools webapp
Last synced: 16 days ago
JSON representation
Graphical solution to solve the Towers Of Hanoi problem
- Host: GitHub
- URL: https://github.com/neuralcortex/towers_of_hanoi_react
- Owner: NeuralCortex
- License: mit
- Created: 2023-11-11T10:20:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-11T10:25:22.000Z (over 2 years ago)
- Last Synced: 2025-03-21T22:28:51.291Z (about 1 year ago)
- Topics: csv-export, javascript, react, tower-of-hanoi, towers-of-hanoi, w3schools, webapp
- Language: CSS
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Towers of Hanoi React 1.0.0

## Overview
Towers of Hanoi is a mathematical puzzle game based on a divide-and-conquer approach. The game consists of three stacks with discs of varying sizes arranged in ascending order. The objective is to move all discs from Stack 1 to Stack 3 (the rightmost stack) while adhering to the following rules:
- Only the provided stacks may be used.
- No larger disc can be placed on top of a smaller disc.
The program uses a recursive algorithm to solve the puzzle. A table on the right side of the interface displays all necessary steps to complete the solution, which can be exported as a CSV file. The program supports up to 10 discs, requiring 1023 steps to solve.
## Installation and Setup
To run the web app, follow these steps:
1. Install [Node.js](https://nodejs.org).
2. Clone this repository or download the project files.
3. Navigate to the project's main directory in your terminal.
4. Run `npm install` and wait for the installation to complete.
5. Run `npm start` to launch the app in development mode, or
6. Run `npm run build` to create a production-ready build.
## Technologies Used
This web app was created using [Create React App](https://github.com/facebook/create-react-app). The following tools were used:
- [Visual Studio Code](https://code.visualstudio.com/)
- [Node.js](https://nodejs.org)
- [Google Chrome](https://www.google.com/chrome/)
## Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). For more information on available scripts and customization, refer to the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).