nlloyd1 / GameOfLife

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GameOfLife

c++ simulator of Conway's Game of Life, a cellular simulation.

How to Play

Activate (click on) the cells that will begin the simulation as living cells. Black cells represent active (living) cells, white cells represent inactive (dead) cells. Press the space bar to see the next generation of cells (one click = one generation). Press and hold the space bar to see mulitple generations at a time.

Rules

    A live cell with exactly three live neighbors will survive to the next round
    A live cell with less than two live neighbors will die of underpopulation
    A live cell with more than three live neighbors will die of overpopulation
    An inactive cell with three live neighbors will come to life through repopulation

About


Languages

Language:C++ 98.5%Language:C 1.5%