Skip to content

Vlor999/gameOfLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gameOfLife

My first version of the game of life in C++

Technologies

  • C++
  • Makefile
  • bash/zsh
  • SFML 2

Structure

  • src the main directory with all the files to write the game.
  • include for all the hpp files that define functions, classes, and others.
  • build to create when you clone the repository.
  • tests to verify every part of the code.

Launch

To launch the game of life:

mkdir -p build && cd build
cmake ..
make
./GameOfLife <options>

or use the sh file :

./launcher.sh <options>

Exemple :

./launcher.sh --p 0.8 --size 1000 1000 

Installation

To install SFML 2 for :

  • macOS:
brew install sfml@2
brew link sfml@2 --force
  • linux:
sudo apt install libsfml-dev

Tests

To tests your changement you can do it locally with :

cd build
cmake ..
make test # or ctest

Otherwise you can use the pipeline into your github repository that will use the same tests case

License

About

My first version of the game of life in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors