game of life help please

3 views (last 30 days)
androSLO
androSLO on 11 Apr 2013
Hello,
I have to do for school a game named "game of life". I have a network in which are some cells alive( matric, where are live cells marked with 1 and other with 0). Rules of survival are simple:
a)if has live cell less than 2 neighbours dies of loneliness
b)if has live cell more than 3 neighbours dies from overpopulation
c)if has dead cell exactly 3 neighbours it became alive
i really don't know how to do this..:( sorry Please help me i would be very gratefull everybody.

Answers (0)

Categories

Find more on Conway's Game of Life in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!