entering
Fragment of a discussion from Talk:RoboRumble/Enter The Competition
Jump to navigation
Jump to search
I don't create a new gun and start it from the beginning. I test the segments alone and when they hit I multiply it with a default. So it keeps learning and uses the same kd-tree all the time. Also according to my results it increases learning.
This is the code of Tuning:(There are more code for intersection but the most simple one is this)
if (Tools.getDistance(currentX, currentY, myXD, myYD) < 72) { AntiBotTuner.movementScores[index] *= 1.1; }
Usage of weights:
double diff = Math.abs(p1[index] - p2[index]) * dsekercioglu.AntiBotTuner.movementScores[i];
In the future versions I will also use an Anti-Surfer Gun.
Dsekercioglu (talk)