Cellular Automaton Template — Now for sale in the Scirra Store!
<h3>Summary</h3><div class="deshr"></div><p>Cellular automata (CA) are elegant 2D simulations that follow a very simple set of live/die rules. The best known example of one is Conway's Game of Life. </p><p>I could personally spend ages looking at the patterns that emerge when playing with this sort of thing ? which is a nice feature for any game that profits based on the length of time spent playing (Ads... *wink* *wink*).</p><p>Check out the demo below to see how hypnotic it can be.</p><h3>Features:</h3><div class="deshr"></div><p>This template was made as a stand-alone game, while also being a nice way to learn simple array manipulation ? it has been very carefully commented to make it clear what is happening where and why. By modifying *just two* conditions in this template you can change the behaviour drastically to generate:</p>
- Total messes
- Organic-looking growth
- And many other interesting patterns
<p>For a nice description of the theory (and some nifty lesser known CA examples) see this wiki page: </p><p>https://en.wikipedia.org/wiki/Cellular_automaton</p><p>The current version includes automated advancement, single-stepping, grid randomisation, variable play speeds, and more. </p><p>If you have any questions, comments, or suggestions, don?t hesitate to contact me.</p>
Use this topic to leave comments, ask questions and talk about Cellular Automaton Template