# 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).

Sources | `/macros/plain/contrib/hanoi` |

Version | 20120101 |

License | Public Domain Software |

Maintainer | Brian Blackmore |

Contained in | TeX Live as hanoi |

Topics |
process game diagrams, gamebooks, and other amusements |

## Suggestions

Maybe you are interested in the following packages as well.

- bridge-pln: Plain TeX macros for writing about bridge
- labyrinth: Draw labyrinths and solution paths
- gamebook: Typeset gamebooks and other interactive novels
- jeopardy: Build a jeopardy game in LaTeX