Thanks all for the Life Javascript references. Phil, the super-short Life engine is especially charming. Looks like it'll be perfectly easier to roll my own...good to see these examples. -- Scott Original email: ----------------- From: Phil Carmody thefatphil@yahoo.co.uk Date: Fri, 30 Aug 2013 06:59:13 +0100 (BST) To: math-fun@mailman.xmission.com Subject: Re: [math-fun] Looking for Javascript Life engine From: "scott@scottkim.com" <scott@scottkim.com>
I'm proposing to Google an interactive Google Doodle to honor Martin Gardner, which would contain 6 minigames (one for each letter of GOOGLE), highlighting six things Gardner wrote about. One of those games of course should be a version of Life. Does anyone know of or have a Life engine that could be modified for this use? I'd prefer to open-source the code, but that is not essential. I'm guessing it should be in Javascript to be browser friendly (the Turing Google Doodle was open-source Javascript).
A noble idea. Here's a tiny modern JS-based life engine, only 376 bytes: http://js1k.com/2013-spring/demo/1478 Phil -- () ASCII ribbon campaign () Hopeless ribbon campaign /\ against HTML mail /\ against gratuitous bloodshed [stolen with permission from Daniel B. Cristofani] _______________________________________________ math-fun mailing list math-fun@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/math-fun -------------------------------------------------------------------- mail2web.com - Microsoft® Exchange solutions from a leading provider - http://link.mail2web.com/Business/Exchange