Another short but very fun program has been typed in to show the abilities of our beloved KIM-1:
Anybody should know this 'Game' and it's setup.
The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970.
https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
I found the KIM-1 program in the November 1980 issue of Micro journal.
Find it here: https://drive.google.com/drive/folders/1HeCXI9gARtp1b2qIzhkK-8aVnDWO5Kpj?usp=share_link
Usage:
The program loads to adress $2000.
Setup:
$2001 Chars per Line (std $20)
$2005 Lines per screen (std $10)
$2009 skip frames (std. $0)
Enter your living cells at the start:
ENTER V,H ?
These coordinates are displacements
from an origin at the center of the
screen. A coordinate may be any
decimal digit less than 8 followed by a '-'
or a <space>. Positive directions are
down and to the right. After all is set,
'/' starts the simulation.
You can try it out yourself, even if you do not own a KIM-1 or clone with Hans Otten's superb KIM-1 simulator.
Thanks to David H. for testing and bughunting.
Stay childish,
yours, webdoktor
UPDATE
I inserted some Ansi magic to clear the screen and move the cursor home.
Now it looks like an animation:
You can find all code on my GIT:
https://github.com/netzherpes/KIM-1-Game-of-Life
Leave a Reply