From ged@lns61.tn.cornell.edu Thu May 12 13:42:39 EDT 1994 Article: 32546 of rec.puzzles Xref: glinda.oz.cs.cmu.edu rec.puzzles:32546 Path: cantaloupe.srv.cs.cmu.edu!fs7.ece.cmu.edu!europa.eng.gtefsd.com!gatech!newsxfer.itd.umich.edu!zip.eecs.umich.edu!panix!ddsw1!news.kei.com!hookup!batcomputer!cornell!travelers.mail.cornell.edu!newsstand.cit.cornell.edu!lns598.lns.cornell.edu!lns62.lns.cornell.edu!GED From: ged@lns62.lns.cornell.edu (Gregory E. Dionne) Newsgroups: rec.puzzles Subject: LIFE source code Date: Thu, 12 May 1994 00:02:10 GMT Organization: Cornell Lab of Nice Scientists (CLNS) Lines: 169 Message-ID: <0097E491.17A095E0@lns62.lns.cornell.edu> Reply-To: ged@lns61.tn.cornell.edu NNTP-Posting-Host: lns62.lns.cornell.edu To the folks who requested a life program: Yes, I know it is in VMS FORTRAN and designed for VT100 terminals...but hey, at least I posted _something_ ?! BTW, I used a 1-D array as opposed to the traditional 2D array... and a few programming tricks to make execution time run a little faster (like updating only the elements that change from screen to screen instead of redrawing the screen each cycle). I don't know if anyone would actually want to use this code... but hey, you never know. The code reads an initialization file: LIFE.DAT it then uses that to plot the stuff on screen. -Greg O / ---------------------------------X --- cut here ----------------------------- O \ DIONNE:[FOR]LIFE.FOR;1 DIONNE:[FOR]LIFE.DAT;16