Skip to content

sjvandy/Towers-of-Hanoi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Towers of Hanoi

A simple game of an ancient mathematical puzzle that starts off with three stacks and many disks.

Objective

The objective of the game is to move the stack of disks from the leftmost stack to the rightmost stack.

Rules

The game follows three rules:

  1. Only one disk can be moved at a time.
  2. Each move consists of taking the upper disk from one of the stacks and placing it on top of another stack or on an empty rod.
  3. No disk may be placed on top of a smaller disk.

Enjoy!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages