This repository contains a parallel implementation of John Conway's Game of Life A.K.A Life using MPI and CUDA
count => number of neighbouring cells whose state := "on"
-
Death :
if count < 2 or count > 3 : cell.state = "off"
-
Survival :
if count == 2 or count == 3 : if cell.state == "on": cell.state = "unchanged"
-
Birth :
if cell.state == "off and count == 3 : cell.state = "on"