Pre-surfing enemy waves

Fragment of a discussion from Talk:SimpleBot
Jump to navigation Jump to search
Edited by author.
Last edit: 14:55, 25 October 2017

I'm tracking enemy heats, but didn't implement gun heat waves yet. However, if there is no waves in air, I fire a HOT wave every tick to make me get to a better position using existing danger evaluation code. It works surprisingly well against Rammers through ;)

Xor (talk)02:53, 30 August 2017

Yeah, I thought of something like that, so I used some stupid fallback movement. What I thought was, instead of using a simple fallback movement, to test all three surfing options and pick the one that puts me in a better position to surf a wave fired X ticks later, where X is the no. of ticks 'til the enemy's gun is cool. The thing is that I don't know where the wave will be fired from. I would have to estimate it, and maybe I would have to estimate it after every tick. My robot is probably slow enough already. Additionally, I thought it was not worth it. Good to know it may work against rammers. My fallback movement oftenly puts me in a bad position.

Rsalesc (talk)03:05, 30 August 2017

I don't try to simulate real waves at all, just fire a HOT bullet every tick and delete it immediately. As a Rammer just looks like some HOT bullet that constantly firing at you at every tick.

Xor (talk)03:10, 30 August 2017
 

One side effect of this one tick surfing fallback movement is that it moves not only to a position far from enemy, but also with max escape angle (which is also good against both real bullets and rammers).

Xor (talk)03:12, 30 August 2017