In this version, I have updated the previous version of this program to include evolution.
Children are randomly assigned values with an average using the parents values.
Inherited values are implemented for the prey as well as the predators. The flocks averages are up the top left.
Reproduction in predators is based on how "well fed" they are, and whether they are of mating age.
the food reproduces up to 100 instances. They create 2 new children with inherited values once a certain age has been reached, and then die.
This was mostly inspired by Daniel Shiffmans "The Nature of Code"
I will go into more depth on my blog. Constructive criticism and suggestions are appreciated.
Loading more stuff…
Hmm…it looks like things are taking a while to load. Try again?