Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (23 sloc) 803 Bytes

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.