ITT: very small programs that manage that do complex things
Let's start with nanopond, a full artificial life simulation composed of a single c file: http://adam.ierymenko.name/files/nanopond-1.9.c
bumpu
>>58482752
anything from the demoscene
>>58484396
>thread
>>58482752
Why didn't you compile it with emscripten so that we can mess with it? Right now I have no idea what that program is even supposed to do.
>>58482752
This one is even shorter and easier to understand.
http://users.tpg.com.au/wagnerbe/qbasic/life.bas
And it was done in the DOS days.
>>58485862
John Conway's Game of Life is not an "artificial life" program
>>58485735
you can compile it easily in linux
gcc -O6 -ftree-vectorize -funroll-loops -fomit-frame-pointer -o nanopond nanopond-1.9.c -lSDL
also read the damn comments
>>58482752
>composed of a single c file
>#include <stdint.h>
>#include <stdio.h>
>#include <stdlib.h>
>#include <string.h>
>#include <time.h>
>#include <SDL.h>