Our general scheme for our evolution simulation is as follow. We maintain a list of the living creatures in the world and we iterate a five-step simulation over this list.
Each step is run for all creatures before the next step is computed. The order in which the creatures are considered for the computation of a step is random.
- Evaluation of environment: generation of a local environment matrix which is an approximation of the world matrix as perceived through the vision -or other perception abilities- of the creature
- Choice of destination and movement: target the visible spot with the highest fitness and move towards it as much as possible
- Interactions between creatures: fights, preying, reproduction*
- Interaction with the environment: feeding, damage from climate or natural events
- Aging, dying, births
* Reproduction is happening by a mixing of DNAs. In the very basic models with are experimenting with right now, there is no DNA mechanism yet, so we'll devote another post for our plans for this part.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.