|
| 1 | +--- |
| 2 | +Tags: |
| 3 | + - environments |
| 4 | +--- |
| 5 | + |
| 6 | +# Towers of Hanoi |
| 7 | + |
| 8 | +The classic Towers of Hanoi puzzle implemented as an external, graphical environment |
| 9 | +using Java and interfaced with Soar via SML. To see how the agent performs the task, |
| 10 | +you must launch the Soar debugger and tell it to connect to a remote Soar agent. |
| 11 | + |
| 12 | +The Towers of Hanoi is a puzzle that consists of three rods and a number of disks |
| 13 | +of different sizes which can slide onto any rod. The puzzle starts with the disks |
| 14 | +in a neat stack in ascending order of size on one rod, the smallest at the top, |
| 15 | +thus making a conical shape. The objective of the puzzle is to move the entire |
| 16 | +stack to another rod, obeying the following rules: |
| 17 | + |
| 18 | +* Only one disk may be moved at a time. |
| 19 | +* Each move consists of taking the upper disk from one of the rods and sliding |
| 20 | +it onto another rod, on top of the other disks that may already be present on |
| 21 | +that rod. |
| 22 | +* No disk may be placed on top of a smaller disk. |
| 23 | + |
| 24 | +*Description of game rules derived from [its Wikipedia page](https://web.archive.org/web/20211023052945/http://en.wikipedia.org/wiki/Towers_of_Hanoi) |
| 25 | +and is released under the [Creative Commons license](https://web.archive.org/web/20211023052945/http://creativecommons.org/licenses/by-sa/3.0/).* |
| 26 | + |
| 27 | +## Download Links |
| 28 | + |
| 29 | +* [Java_Tower_of_Hanoi_Example.zip](https://github.com/SoarGroup/website-downloads/raw/main/Examples-and-Unsupported/Java_Tower_of_Hanoi_Example.zip) |
| 30 | + |
| 31 | +## Associated Agents |
| 32 | + |
| 33 | +There is one basic agent embedded within the environment that will automatically |
| 34 | +be sourced when you launch it. |
| 35 | + |
| 36 | +**Note**: You cannot run the many Towers of Hanoi agents available in the |
| 37 | +*Agents* downloads section with this environment. Those ones are not designed to |
| 38 | +be run with the I/O interface of this external environment. |
| 39 | + |
| 40 | +## Documentation |
| 41 | + |
| 42 | +While there is no explicit documentation, the Soar Debugger tutorial does have a |
| 43 | +section that explains how to hook up the debugger to this type of environment. |
| 44 | + |
| 45 | +## Associated Publications |
| 46 | + |
| 47 | +None |
| 48 | + |
| 49 | +## Developers |
| 50 | + |
| 51 | +Taylor Lafrinere |
| 52 | + |
| 53 | +## Soar Versions |
| 54 | + |
| 55 | +* Soar 8 |
| 56 | +* Soar 9 |
| 57 | + |
| 58 | +## Language |
| 59 | + |
| 60 | +Java |
0 commit comments