Skip to content

tchikl-h/Game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game-of-life

RULES :

  1. Any live cell with fewer than two live neighbours dies, as if caused by under-population.
  2. Any live cell with two or three live neighbours lives on to the next generation.
  3. Any live cell with more than three live neighbours dies, as if by over-population.
  4. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

PREREQUISITES

You will need to have the sfml "LibLapin" installed.

HOW TO :

make re

make clean

./game_of_life

You can just click to highlight a cell.

Once you've drew what you want, just press spacebar and it will launch the game.

You can, whenever you want, pause the game by pressing spacebar or quit it with escap

PICTURE : Game of life

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published