hanoi – Tower of Hanoi in TeX
The Plain TeX program (typed in the shape of the towers of Hanoi) serves both as a game and as a TeX programming exercise. As a game it will solve the towers with (up to) 15 discs (with 15 discs, 32767 moves are needed).
| CTAN path | /macros/plain/contrib/hanoi/hanoi.tex |
|---|---|
| Version | 20120101 |
| License | Public Domain Software |
| Maintainer | Brian Blackmore |
| Contained in | TeXLive as hanoi |
| Topics |
process game diagrams, gamebooks, and other amusements |
