Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Latest commit

 

History

History
42 lines (36 loc) · 1.17 KB

README.md

File metadata and controls

42 lines (36 loc) · 1.17 KB

GameOfLife in Terminal

Intro

This project is coded in C++ just using the terminal for output. It uses the ANSI escape codes for moving the cursor around

Usage

./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

Example

Example

./GameOfLife 200 50 50 20 10

Build project

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.

Sources