This project is coded in C++ just using the terminal for output. It uses the ANSI escape codes for moving the cursor around
./GameOfLife width height percent radius speed
Property | Description |
---|---|
width | Width of the area |
height | Height of the area |
percent | Spawn rate of the cells on initiation |
radius | Radius of spawn on initiation |
speed | Frequency of actualisation in Hz |
./GameOfLife 200 50 50 20 10
This project is using cmake. If you want to use simply build with make, do this following commands :
git clone https://github.com/Fgdou/GameOfLife
cd GameOfLife
mkdir build
cd build
cmake -G "Unix Makefiles" ../
make
./GameOfLife 30 20 50 10 10
You can replace the "Unix Makefiles" by an other build system like "Visual Studio 17 2022".
See the list on cmake-generators.