My first version of the game of life in C++
C++Makefilebash/zshSFML 2
- src the main directory with all the files to write the game.
- include for all the
hppfiles that define functions, classes, and others. - build to create when you clone the repository.
- tests to verify every part of the code.
To launch the game of life:
mkdir -p build && cd build
cmake ..
make
./GameOfLife <options>or use the sh file :
./launcher.sh <options>
./launcher.sh --p 0.8 --size 1000 1000 To install SFML 2 for :
- macOS:
brew install sfml@2
brew link sfml@2 --force- linux:
sudo apt install libsfml-devTo tests your changement you can do it locally with :
cd build
cmake ..
make test # or ctestOtherwise you can use the pipeline into your github repository that will use the same tests case
- MIT License in the file: LICENSE.