********************************************************************** ************************************************************************ *** ___ ___ ___ ___ ___ ___ ___ ___ ___ *** *** | | | | | | | | | | | | | | | | *** *** | | |__ |__ |___| |__ |___ |__ |___| |___| | |___| *** *** | | | | | \ | | | | | | \ | | | *** *** |___ | | |___ | \ |___ ___| |___ | | | \ |___ | | *** *** *** ***==================================================================*** *** *** *** Explore the Universe of Linear Automata ! *** *** *** ***==================================================================*** *** *** *** Game of Life 2.2 Life in Line 1.4 *** *** *** ***==================================================================*** *** *** *** Written by Rainer Umbach *** *** *** ************************************************************************ ********************************************************************** GAME OF LIFE 2.2 ---------------- It`s a BASIC program, released for 1990 S.A.U.G. competition and SaarAG public domain series. This Version is not too bad (several editing functions, and and and ...). There are some `structures` in the DATA drawer (excluding MST.dat !). Load them and be surprised. There is not any documentation, but after a time you should know what`s going on. Compilation may be successful with a BASIC Compiler using Long Addressing. The source is about 1130 lines long/big/great. I never will write such a l-a-r-g-e program in BASIC again, never. It`s been the only language I know, when I got my Amiga in `88 (except 6502 Assembler), so I`m terrible sorry... Ohne kurze Anleitung geht es aber doch nicht, also: " Der wohl bekannteste zellulaere Automat ist denn auch das beruehmte `Spiel des Lebens` (`Life`), das der Mathematiker John Horton Conway von der Universitaet Cambridge in den sechziger Jahren erfunden hat. Dabei ist jede Zelle in einem von zwei Zustaenden, naemlich lebendig oder tot. Die Regeln sind sehr einfach: Eine tote Zelle erwacht nach dem Ticken der Uhr zu neuem Leben, wenn sie davor genau drei lebendige Nachbarn besessen hat; eine lebendige Zelle dagegen stirbt mit dem naechsten Ticken, wenn sie von weniger als zwei oder mehr als drei lebendigen Nachbarn umgeben ist." (Spektrum der Wissenschaft 10/88, S.8). Die Implementierung sieht aber folgendermassen aus: Jede Zelle erwacht bei `live at` lebendigen Nachbarzellen zum Leben. Ausserdem behaelt jede Zelle bei `stay at` lebendigen Nachbarn ihren Zustand bei. Diese Formulierung hat programmtechnische Gruende und muesste logisch aequivalent zur obigen sein. `live at` und `stay at` sind Programmvariablen, die Sie selbst setzen koennen. Das Zitat wuerde dann ungefaehr so lauten: Eine tote Zelle erwacht nach dem Ticken der Uhr zu neuem Leben, wenn sie davor genau `live at` lebendige Nachbarn besessen hat; eine lebendige Zelle dagegen stirbt mit dem naechsten Ticken, wenn sie nicht von `live at` oder `stay at` lebendigen Nachbarn umgeben ist." LIFE IN LINE 1.4 ---------------- Another Basic program concerning LIFE. The program contains a special documentation. Read it and keep your Amiga running ........ Version 1.4 especially has been released in March `90 for the S.A.U.G. competition. Several minor bugs were removed. Notice for compilation: Long Adressing may be helpfull and remember that compiling with double precission numbers may transform zero to e-47 or anything else that unequals zero!! That may lead to strange errors. Thanks to Michele Bynum for helping me to fight those english words ... and remember: Jeder macht seine eigenen Fehler. Distribution ------------ These are public domain programs. Version 2.0 and 1.3 had been released on Taifun #102. There is no reason against copying them freely, user to user, BBS to BBS, ... to ... Copy them, they want to travel, they told me. If you are really interested in LIFE and if you are doing some research on that subject, please contact me and write about your results. That was the real reason for me writing these programs, to share the results everyone has achieved. Please write to - RAINER UMBACH WOLFEN - MailBox PELA - 3/12/2400 8n1 SCHULWEG 6 Germany/0561/102040 D-3501 ESPENAU 2 (there`s a special guest file WEST-GERNAMY to leave a message) Credits ------- Of course to A.K. Dewdney, without whom I never would have written any program concerning the GAME OF LIFE. And to Douglas R. Hofstadter & Daniel C. Dennett and their book THE MINDS`S I. The first time I ever heard something about LIFE. That`s it --------- And always remember: When in doubt, try a small tactical nuclear weapon. Besser waere es aber, mir zu schreiben. Vielleicht bringe ich dann doch irgendwann einmal ein Update dieser Programme heraus oder eine C Version - dieser Basic-Krams ist halt, auch wenn er compiliert wurde, nicht das Ultimo an Geschwindigkeit, Uebersichtlichkeit und Kuerze. Diese Basic Programme werden mit wachsender Laenge zu Monstern, das ist ja bekannt. Hoffe auf reges Interesse, Rainer.