Skip to content

The Towers of Hanoi as an experiment with Lua

Notifications You must be signed in to change notification settings

niksilver/hanoi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Towers of Hanoi... in Lua

An exercise to try out Lua.

To run the code with (say) 4 discs:

hanoi = require('hanoi') ; hanoi.printSolution(4)

To run the unit tests:

lua hanoi-tests.lua -v

About

The Towers of Hanoi as an experiment with Lua

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages