the short versions are not equivalent, proggy won't work with them
> 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 automat
On Sunday, December 31, 2017 at 11:13:41 PM UTC+13, Wu Xi wrote:
> 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 = 55 ; height = 55# 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 neighbou