Conway's Game of Life written in C.
First make sure that a C compiler like gcc or clang, cmake and make are installed.
Clone the repository:
git clone --depth 1 --branch=main https://github.com/thehxdev/gol
cd golThen Build GoL:
mkdir build
cmake -DOPTIMIZE=1 -B build/ -S .
cmake --build build/Once you built GoL, execute it from build/ directory.
./build/golNote
Make sure that nix experimental features (nix-command and flakes) are enabled.
Execute GoL directly as a Nix Flake:
nix run github:thehxdev/gol