The Tower of Hanoi is a mathematical game which can be solved iteratively or recursively.
This is a simple implementation of the puzzle created using React.
- node + TypeScript
- โ React (and
dnd-kit
for drag & drop) - โก๏ธ Vite as development server
- ๐ Render for deployment
Checkout the repo:
git clone https://github.com/mttmantovani/hanoi-tower.git
cd hanoi-tower
and install all dependencies:
npm install
Make sure you have node >= v18. You can use nvm to manage node
versions.
Build the app:
npm run build
Start the app with npm start
and visit http://localhost:3000
in your browser.