Skip to content
Tower of Hanoi puzzle game
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Tower of Hanoi


Tower of Hanoi is a mathematical puzzle where the objective is to move a stack of blocks from one stack to another.


Tower of Hanoi has 3 easy to follow rules:

  1. Only one block can be moved at a time
  2. Every move involves taking the top block from one of the stacks and placing it on top of another stack
  3. No block can be put on top of a smaller block

How To Play

  1. Open the game in a new tab
  2. Click a block to select it
  3. Click a stack to move the selected block to
  4. ???
  5. Profit

Tech/framework used

  • HTML
  • CSS
  • Javascript (vanilla)


First project and I had to pick one so this was the one.

About the developer

Handwritten by Kevon Eaglin. General Assembly DC WDI20 student. Awesome dude.

You can’t perform that action at this time.