Difference between revisions of "Thread:Talk:Path Surfing/Reminds me of what I was working on/reply (3)"

From Robowiki
Jump to navigation Jump to search
(No difference)

Revision as of 23:23, 4 August 2021

My bots AgentSmith and Wraith do path surfing, but in a more generalised manner which in theory would work in melee although my bots have never been made to work in that mode. Its obviously not top tier and I always meant to do a write up but basically they generate a bunch of possible paths, estimate the danger of each path and then choose the least dangerous path. Its general because the bot does not get restricted to just forward/back around the target but can move anywhere within the max prediction ticks, including turning towards/away from the opponent. This means it uses no special anti-ramming code it just does prediction of the opponent path like we do for bullets and then just assign danger to the opponent. I might do a full write up at some point but it makes around 20 random paths each time it starts evaluation, and then uses run-time genetic algorithms (RHEA) to improve the path over a few ticks. Its optimised like no-business in order to get it to run, and they are both still slow bots, but it does work pretty well!