[colorforth] Enhancement: Game of Life
- Subject: [colorforth] Enhancement: Game of Life
- From: Dirk Harms-Merbitz <dirk@xxxxxxxxx>
- Date: Mon, 20 May 2002 21:55:41 -0700
Wolfram's A New Kind of Science has lots of thoughts on cellular automata.
On Mon, May 20, 2002 at 09:46:25PM -0700, Bob Shafer wrote:
> If you insert "gen" as the first green word of the "s" definition in block
> 100 of the game of life posting, then "s" becomes "step" instead of
> "stop"; it allows you to single-step the generations of the cells. I
> almost added this as a separate keystroke, but I wanted to call it "s" and
> I already had an "s" keystroke. I almost went ahead anyway (colorForth
> wouldn't care), but then I realized the code for "s" could itself do the
> job with that simple addition of "gen", and nicely, too.
>
> So, instead of
>
> : s show ... ;
>
> try
>
> : s gen show ... ;
>
> ...
>
> I'll try to stop sending email on this subject now. :-)
> ------------------------
>
> To Unsubscribe from this list, send mail to Mdaemon@xxxxxxxxxxxxxxxxxx with:
> unsubscribe ColorForth
> as the first and only line within the message body
> Problems - List-Admin@xxxxxxxxxxxxxxxxxx
> Main ColorForth site - http://www.colorforth.com
> ------------------------
To Unsubscribe from this list, send mail to Mdaemon@xxxxxxxxxxxxxxxxxx with:
unsubscribe ColorForth
as the first and only line within the message body
Problems - List-Admin@xxxxxxxxxxxxxxxxxx
Main ColorForth site - http://www.colorforth.com