60
Exercise: Game of Life
•Write a ZPL program for the game of life on a toroidal world, i.e. top wraps to bottom, left wraps to right
•The world is populated by organisms -- bits
•Any 1 bit with exactly 2 neighbors in this generation lives on in the next generation; all other 1s go to 0
•Any 0 bit with exactly 3 neighbors is born in the next generation; all other 0s stay 0
Þ
Expect a homework assignment via email