Bohdan Stupak
Write a program that simulates Conway's game of life

The Rules
For a space that is ‘populated’:
Each cell with one or no neighbors dies, as if by solitude.
Each cell with four or more neighbors dies, as if by overpopulation.
Each cell with two or three neighbors survives.
For a space that is ‘empty’ or ‘unpopulated’
Each cell with three neighbors becomes populated.

Given 2-dimensional bool array of cells (false for ‘empty’ an true for ‘populated’) and number of game turns.

Expected output is 2-dimensional arrays of cells after given number of turns.

By Bohdan Stupak in C# on Jul 15 2020

Most Popular Job Functions