Function File: B = gameoflife (A, ngen, delay)

Runs the Conways’ game of life from a given initial state for a given number of generations and visualizes the process. If ngen is infinity, the process is run as long as A changes. Delay sets the pause between two frames. If zero, visualization is not done.

Package: miscellaneous