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

- happy4
^{th}: A firework display in obfuscated TeX - thirteen: Print dates of Friday 13th days
- jeopardy: Build a jeopardy game in LaTeX
- othelloboard: Typeset Othello (Reversi) diagrams of any size, with annotations