Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!imagery!p27.f22.n282.z1.FIDONET.ORG!Philip.Craig From: Philip.Craig@p27.f22.n282.z1.FIDONET.ORG (Philip Craig) Newsgroups: comp.sys.mac.programmer Subject: Need 'Game-of-Life' algor Message-ID: <10.25E5268B@imagery.FIDONET.ORG> Date: 16 Feb 90 15:02:59 GMT Sender: ufgate@imagery.FIDONET.ORG (newsout1.26) Organization: FidoNet node 1:282/22.27 - Macintosh SmorgasBo, Bloomington MN Lines: 15 In a message to All [15 Feb 90 06:56:00] Rob Mitchell wrote: > I'm writing an application that requires some sort of moving > graphics picture to move on the screen, so I thought of using the > Game-of-Life. I wrote it in undergrad school, but I don't remember > the algorithm or the rules (2 neighbors - born; 3,4,5 neighbors - > live; 6,7,8 neighbors - die. Something like that). Try: 2,3 neighbours - live; 3 neighbours - born; 1,4,5,6,8 neighbours - die. -- Philip Craig - via FidoNet node 1:282/33 UUCP: ...!uunet!imagery!22.27!Philip.Craig ARPA: Philip.Craig@p27.f22.n282.z1.FIDONET.ORG