ROBOT TOO BIG TO FIT!
Back to work so no time to finish this bot. This bot is intended as a veggie, virus immune and non mutating bot. The idea is that its code will adapt itself to increasingly efficient evolutions of its counterpart, and thereby further the evolution to more complex behaviour. It is basically a modified version of my combat bot, Gimmick.
Pros:
It works. With different versions of predecessors to this latest bot I have seen nice mutations. For instance I have seen gimmick evolve its conspec to distinguish between agressive and passive veggies
Cons:
It is not stable. It usually only runs a couple of hours before one species wipes out the other.
What you program in red queen ( & set in the sim) is what you get. If (d)evolution of the red queen is triggered by the number of opposing bots in a energy capped environment the killer mutation is to grow a few big bots. The criteria for evolution in red queen have changed, but I havent yet assessed the consequences.
For the code: the two main parameters to track for the red queen logic are RQ and NOC. NOC gives the state of red queen: in rest, active or disabled (floating food basically). RQ is the other. Increasing RQ value reduces the number of queens in the rest or disabled state. It also increases its agility
As always, comments are more than welcome