I have just implemented one of the most cursed things ever!
An implementation of Conway's Game of Life in a MANUAL PAGE, by abusing the Turing completeness of the roff language.
On most systems (a system that uses groff and man-db), the following command will give you a live demonstration:
$ curl https://codeberg.org/cve/mott/raw/branch/main/mott.1 | man -l -
Support for other roff implementations such as mandoc is planned.
You can find more about it here: https://codeberg.org/cve/mott
EDIT: Fixed typos.
@cve oh that is adorable!
@cve Can you configure how many iterations are shown?
@cve@tech.lgbt is it possible to implement any form of interactivity? i'd assume not since man
runs through less
which is static to my knowledge, but still
@cve this is a horrible abomination and I love it!
@cve Finally life has a manpage.
@cve that's a slippery slope towards running DOOM in man