entering
← Thread:Talk:RoboRumble/Enter The Competition/entering/reply (35)
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:Talk:RoboRumble/Enter The Competition/entering/reply (35).
I've added TUR as an option, you can add yourself to the RoboRumble/Country Flags page =)
My bot WhiteFang uses auto-segmentation. Is it a good tactic and are there other robots doing that?
I mean that it tries to predict the best segments that could be used against it's enemy.
Most top bots simply use all segments at the same time, but with different weights. They are usually tuned offline.
There are some top bots using 2 sets of segments. 1 for a general purpose gun and 1 for an anti-surfer gun. And the best set of segments is estimated on-the-fly.
MN thank you. I used all the datas the average hit rate increased like % 0.8. After I added auto-tuning for setting weights and average hit rate increased about %0.9.
The 2 segments which differ most between different opponents are the real/virtual wave segment and the data decay (time) segment. These are the 2 usually separated between "general purpose" and "anti-surfer" sets of segments.
Note that using many different targeting strategies for different situations may slow down learning speed (time wasted auto-tuning the gun for the optimal strategy). Because of this, most top bots use only 1 or 2 guns.
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.