Closed schrum2 closed 1 year ago
I implemented shapeIsWorthSaving. It is just going off of the fitness score right now. We will Probably change this later.
Let's find a way to base this on the furthest block from the start: So, if we end up with a block that is on/near the border of the evaluation area somehow, then that triggers the save condition.
This fitness scheme does not seem promising enough to figure out a precise shapeIsWorthSaving condition so I am closing the issue
Once #895 is complete, implement the shapeIsWorthSaving method for the change block fitness function as well. Implement it in a way that detects flying machines.
Note that we may need to extract some general flying machine detection code out of ChangeCenterOfMassFitness into a helper/util class of some sort.