Conway's Game of Life implemented by a man page
| LICENSE | ||
| mott.1 | ||
| README.md | ||
mott
Demonstration
curl https://codeberg.org/cve/mott/raw/branch/main/mott.1 | man -l -
Description
Mott the Hoople and the Game of Life -- R.E.M.
mott implements Conway's Game of Life by abusing the Turing completeness of the roff language. By default, it renders the first 24 generations of the classic glider on an 8x8 grid.
Currently, only systems that use groff are supported, meaning your macOS or BSD system will probably not work. Support for mandoc is planned however.
MOTT24(1) General Commands Manual MOTT(1)
NAME
mott — implements Conway’s Game of Life as a manual page
DESCRIPTION
The mott utility is a manual page that implements Conway’s Game of Life
by abusing the Turing completeness of the roff(7) language.
24 GENERATIONS OF THE GLIDER
| | X | | | | | | |
| | | X | | | | | |
| X | X | X | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
‐‐‐
| | | | | | | | |
| X | | X | | | | | |
| | X | X | | | | | |
| | X | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
‐‐‐
| | | | | | | | |
| | | X | | | | | |
| X | | X | | | | | |
| | X | X | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
‐‐‐
[...]