Skip to content

thehxdev/gol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoL

Conway's Game of Life written in C.

Build

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 gol

Then Build GoL:

mkdir build
cmake -DOPTIMIZE=1 -B build/ -S .
cmake --build build/

Usage

Once you built GoL, execute it from build/ directory.

./build/gol

Nix

Note

Make sure that nix experimental features (nix-command and flakes) are enabled.

Execute GoL directly as a Nix Flake:

nix run github:thehxdev/gol

About

Conway's Game of Life written in C

Resources

Stars

Watchers

Forks

Contributors