Conway's Game of Life in C#

By on 9/5/2011

I wrote this for fun on the train a while ago, and just came across it again recently. So I figured I may as well post it. The code implements a simple game of life simulation, but the interesting bit is that it parallelizes the process using the TPL. I uploaded it to github as a gist, so please feel free to check it out, and see if you can do anything interesting with it :-)

The included sample program that uses the 'LifeSimulation' class initializes the a simple blinker, and then generates and outputs 3 generations.

See more in the archives