Skip to content

Implementation of a Tower of Hanoi puzzle solver, in Prolog

Notifications You must be signed in to change notification settings

rezzmk/Tower-Of-Hanoi-Prolog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Tower-Of-Hanoi-Prolog

Implementation of a Tower of Hanoi puzzle solver, in Prolog

  • Usage:
?- [hanoi].
true.
  • Example:
?- move(3, a, b, c).
Move top disk from a to b
Move top disk from a to c
Move top disk from b to c
Move top disk from a to b
Move top disk from c to a
Move top disk from c to b
Move top disk from a to b
true

About

Implementation of a Tower of Hanoi puzzle solver, in Prolog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages