Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 580 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 580 Bytes

Towers of Hanoi

This animates a solution for the 8-disc Towers of Hanoi. It cycles continuously, moving the disks to each peg in turn, with a brief pause in between each completed migration.

It uses a recursive solution, so can be used as an example of how to write such things in BASIC, given its lack of general local varaibles.

screenshot

File Description
README.md This file
hanoi.prg RUNnable executable
hanoi.bas BASIC source code