tijmenvanetten / gameoflife

Game of Life in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conway's Game of Life

a C++ implementation of the Game of Life simulation as conceived by John Conway

gameoflife

Rules:

  • a life cell with less than 2 life neighbors dies
  • a life cell with 2 or 3 life neighbors lives on
  • a life cell with more than 3 life neighbors dies
  • a dead cell with 3 life neighbors becomes alive

Run

git clone https://github.com/tijmenvanetten/gameoflife.git
cd gameoflife
make;./GameOfLife

More information:

https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

About

Game of Life in C++


Languages

Language:C++ 96.3%Language:Makefile 3.7%