beovercash [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=16327 Conway's Game of Life <p> <table><tr><td> <a href="/bbs/?pid=31987#p"> <img src="/bbs/thumbs/pico31986.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=31987#p"> GameOfLife</a><br><br> by <a href="/bbs/?uid=16327"> beovercash</a> <br><br><br> <a href="/bbs/?pid=31987#p"> [Click to Play]</a> </td></tr></table> </p> <p>Conway's Game of Life is a simulation game with a few simple rules designed to simulate cellular automaton. For each iteration all cells are evaluated by specific criteria and as such either &quot;live&quot; or &quot;die&quot; for the next generation.</p> <p>I've created this game with 2 of the more common rules.</p> <p>1) A live cell stays alive if it has 2 or 3 live neighbors.</p> <p>2) A dead cell comes to life if it has exactly 3 neighbors.</p> <p>The idea is that a cell will either either die of loneliness if too few neighbors exist or die of overpopulation when too many neighbors exist. Additionally this rule set simulates the unique requirements for reproduction in that a group must have both space (not too many) and resources (not too few) neighbors to generate new cells.</p> <p>There are several known patterns that produce interesting affects but for this game I am randomly generating a grid for the simulation. I'm really just wanting to demonstrate the simplest version of this simulation I can.</p> https://www.lexaloffle.com/bbs/?tid=27991 https://www.lexaloffle.com/bbs/?tid=27991 Fri, 28 Oct 2016 23:44:32 UTC