Life Simulator

So I coded a life simulator. The rules: starting with about 20 critters in a world of vegetation critters can (a) move randomly each turn, (b) eat vegetation if they can, (c) reproduce if a male meets a female.


Critters can die of malnutrition and old age.  In this video you see a slow start to the colony, followed by a population explosion after about 56 seconds.  The colony dies off after it has eaten most of the vegetation available.

Source code: coming soon!

3 comments

Please do share the source, if you still have it!

Thanks @Ed source code is here http://superdecade.blogspot.com/2019/02/pond-life.html