Skip to content

cammarosano/hanoi_tower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hanoi_tower

A Tower of Hanoi solver written in C - it displays on your terminal!

hanoi tower solver in action

Just for:

  • fun!
  • getting familiar with single-linked lists
  • solving a problem with a simple recursive function

Usage:

make
./hanoi_tower  n_rings  [time_ms]

Example: ./hanoi_tower 8 500 will solve for 8 rings, with a time interval of 500 ms between each move.
time_ms defaults to 1 second if not informed.

About

A Tower of Hanoi solver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published