Hello,
I am creating a very simple evolution simulator in Processing.
It is a simple game where you must move the player around some terrain (circles that I call rocks).
There are 50 randomly generated creatures (brains) that each try to play this game.
At the end of a generation (50 creatures), half of the creatures (the worst performing ones) are killed off and the other half each get one slightly randomized offspring.
Here is the problem :
Sometimes, the best creature gets worse from one generation to the other. I don't know if it's getting randomized or getting killed, but I do know it shouldn't happen.
I've been trying to fix this, for days and I haven't found any solution!