It is a simple simulation script on the theme predator & prey, with a reduced nutrition chain and a simplified rivalty between species.
- plants (rabbit food)
- rabbits (wolf and fox food)
- foxes
- wolves
- dried plants: revives or dies
- plants: dries or rebirths or survives and eventually reproduces
- rabbits: dies or eats and eventually reproduces
- wolves: dies or eats and eventually reproduces
- foxes: dies or eats and eventually reproduces
The gray color data is only used when simulation is reset. The black color data on white cells are validated immediately.
Note: the generation time can be considerably longer on iceweasel for some unknown reason. If you know a solution, give me a clue.
You can challenge yourself with funny objectives:
- preserve all species during 20000 turns (steps)
- protect the rabbits
- let the foxes survive
- etc.
Note: Please don't make harm to these animals, they are so innocent.
