Note: This is a re-post of an earlier entry recovered from a different blogging system.
After entering and running the evolution.lisp example from Land of Lisp, I have some ideas for additional traits.
Here is a short list of a few.
- Size, Carnivorous Animals. Add a feature to allow the animals to be of different sizes. Larger animals would expend energy faster. When two animals occupy, the same cell, the larger would try to eat the smaller, taking it’s energy. The smaller could try to flee. Chance of successful hunting/fleeing would be based on the size difference. For example, if the larger animal is only slightly larger, the smaller animal would have a pretty good chance of escaping. As the hunter gets larger, the chance of succeeding becomes larger.
- Speed. With a higher energy expenditure per turn, animals could move more than one cell at a time. Perhaps this would be a modifying factor in fleeing from hunters too.
- Sex. If two animals of the same size occupy the same cell and have enough energy between them, they could reproduce and shuffle their genetic material in the offspring. Number of offspring might be another variation depending on energy.
- Plant Toxicity. Immature plants would be poisonous. The animals would require some sense(s) to detect the maturity of a plant before eating it.
- Vision. One of the senses to detect plant maturity might be vision with variations in acuity at distance (to see plants further away) and color (for detecting plant maturity).
Of course, a nicer user interface would be a good thing too.