Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 524 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 524 Bytes

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.