Game of Life
Introduction
The Game of Life PHP and JavaScript Libraries were written in May, 2007. But what exactly is Game of Life? From Wikipedia:The Game of Life is a cellular automaton devised by the British mathematician John Horton Conway in 1970. It is the best-known example of a cellular automaton. The "game" is actually a zero-player game, meaning that its evolution is determined by its initial state, needing no input from human players. One interacts with the Game of Life by creating an initial configuration and observing how it evolves. A variant exists where two players compete.That's all very interesting, but an example might be clearer:

For more information about the Game of Life specifically check my blog
Demo
This first example is a simple JavaScript implementation of the Game of Life. Try it out below:Click here to see the extended version of the above demonstration. In this version you can change the rules by which the game is played and you are also able to alter the width and height of the grid.
Last but not least: to see a working demo of the Game of Life animated GIF generator, check here. This
application enables you to create images like the one shown above
Download
You can download the Game of Life packages below so you can implement them on your own website.| Language | Description |
|---|---|
| JavaScript | GoL Basic JavaScript implementation |
| JavaScript + PHP | GoL Extended implementation |
| JavaScript + PHP | GoL Animated Gif Generator |
You may use these scripts freely as long as you keep the reference to this site. Good luck!
Usage
Using these scripts is quite easy. To implement the Basic JavaScript implementation use an iframe or a direct link:<iframe width="340" height="380" src="GoF_Basic_JS.html" frameborder="0"></iframe> To use the extended implementation, just copy the file to your webserver and place a link to GoL_extended.php on your website. And again, last but not least, to use the Game of Life Animated Gif Generator just copy all the files and link to the directory you copied it to. Everything should work immediately as long as you've got the gd library installed, but that should be nothing to worry about right now.
You can find more in the coding section