The current evolution algorithm of organisms is completely random. But we know that each entry into the editor represents 100 million years of evolution. During this time, natural selection should have eliminated many unfavorable evolutions, so a directed evolutionary approach should be adopted to AI evolution.
Currently, no matter how AI evolves, after entering the editor more than 30 times, the other species are basically wiped out by the player. After that, the player can only rely on finding free phosphate clouds to replicate. The process is very long and boring. Through this method, the competitiveness of AI will be greatly improved, and the game will be more interesting.
This can be achieved by hard-coding or encoding biological evolution paths with json. AI, like the player, gains 100 evolution points every 100m years. For example, for plant cells,
{
"name": "plant",
"path": [
{
"modifications": ["chloroplast", "mitochondrion"],
"weight": 1,
"condition": [[]]
},
{
"modifications": ["mitochondrion", "mitochondrion"],
"weight": 0.8,
"condition": [["CompundBalance", "Glocose", "nl", "0.1"]]
},
{
"modifications": ["pilus", "pilus", "pilus"],
"weight": 0.5,
"condition": [["ATPBalance", "nl", "10"]]
},
{...}
]
}
achieves continuous growth in size and improved defense capabilities.