On 12/31/17 8:15 PM, Wu Xi wrote:
def neighbours(point):
x,y = point
yield x + 1 , y
yield x - 1 , y
yield x , y + 1
yield x , y - 1 #this is proof that life can emerge
inside of computers and cellular automatons,
yield x + 1 , y + 1
import time , itertools
__doc__=" Mr Conway_s Game Of Life simulation in python 2 and 3 "
width = 100 ; height = 50# size of life habitat , e.g. a simulated
meteorite, bolide , etc.
vmap = [['D' for w in range(width)] for h in range(height)] # D =
Dead at first
def neighbo