schrum2 / EvoCraft-SCOPE

0 stars 0 forks source link

Identify final champion #44

Closed schrum2 closed 2 years ago

schrum2 commented 2 years ago

When using a fitness function, whenever a shape has a fitness value equal to or greater than the fitness threshold, add some blocks to the world that outline, surround, or otherwise single out the winning champion, so that the user will know to go look at that evolved shape.

alejmedinajr commented 2 years ago

Now fitness_cppn_evolutionproduces an arrow made of glow blocks when a shape meets the fitness threshold. champion_of_fitness

I am not sure if this is an issue, but if there are multiple shapes that meet the fitness function in one population, they both end up having arrows pointing down on them.

When_two_champions_in_one_population

schrum2 commented 2 years ago

You need to make sure that any place where a down arrow could be is cleared at the start of fitness based evolution so that the arrows don't accumulate in the world.

alejmedinajr commented 2 years ago

The issue where the previous arrows were still being kept in the world has been resolved. Now the previous arrows are cleared at the start of fitness based evolution.