First post, by orac81
LIFE1D
https://github.com/orac81/miniapples/raw/refs … main/life1d.zip
This is a version of the classic 1D Cellular Automata pattern generator, for 8086 DOS/VGA, in just 71 Bytes!
This is an old-school (and well known) effect, but it uses a different approach to most other programs I have seen, in particular I think using MOD 5 generates interesting graphics.
When running, hit SPACE for next pattern, ESC to quit. (CLR or MODE 80 after)
See file "life1d.txt" for more details.
There is an SDL2/linux version in the zip file too. See "sdl_life" folder and "sdl_life1d.txt" for details.
There is a Turbo-C (TCTINY lib) version of the code (180 bytes) in the TC folder, and my original 1992 shareware version, which actually has a CGA option.
Also a load of pix in the "screenshot" folder.
I expect someone on pouet will tell me it can be done in 32 bytes!