It's my first competitive robot!
MinimumRiskMovement, trying to stay away from and parallel to enemies. It reacts more to enemies that are near, strong, or likely to target Logic. It also tries to avoid being the nearest to another robot and dodges HeadOnTargeting by repelling its last position. When it stops moving or finds a significantly better point to move to than the current one, it heads towards the new best point.
It uses GuessFactorTargeting, firing Waves when it sees an enemy and extrapolating the other robot's position linearly for passed waves. Currently segmented on distance, relative heading, wall, and duel/melee.
Logic tries to stay parallel to enemies, especially if they're likely to be shooting at it. It doesn't actually react to being hit, only to the positions of the other robots. A small anti gravity point where it last went helps against HeadOnTargeting.
Logic preforms completely different in OneOnOne battles:
It attacks the closest enemy with a tendancy to finish weak robots off, only switching targets when it has high gun heat.
Erm, it's logical.
Sure. It's included in the jar and released under the terms of the RWPCL.
SnippetBot! Watching other great melee bots fight and the wiki's excellent entry on MeleeStrategy inspired its movement. Specifically HawkOnFire showed me how simple good melee movement can be. The gun and movement both use ideas from Coriantumr. The duel movement comes from Vyper.
Welcome to the wiki! Logic seems a strong melee-opponent. Melee-rankings will stabilize once you reached 1000 battles, but they will never be rock-solid. Your current ranking gives a fairly good indication though. -- GrubbmGait
I've seen Logic sometimes 'looking the other way' when the battle is down to two bots. This probably has to do with the fact that you compare strings like this: if (stringa == stringb). You should use if (stringa.equals( stringb)). And you are right, I really don't want to use your code ;-) -- GrubbmGait
I believe I fixed this in version 0.21, but I'm not too sure. On the bright side, I've figured out how to use arrays so my code won't look so appalling. -- Kev
Hi Kev, when i run the meleerumble and Logic 0.3 is one of the competing bots, the battle hangs/runs for ever. Any ideas what can be the cause of this? (b.t.w. i use Jdk 1.5.0) --Loki
Yep, I forgot to turn isSG to false, so Logic could have been spending its time drawing pictures instead of fighting. 0.31 fixes this and generates far fewer points for its movement, so it will run way faster. -- Kev
Wow!!! Logic is placed in 10th, far higher than I expected. It is possible that Logic was so far up that I simply overlooked it :). Oops... -- Kev
Heh, that made me laugh ;) Congrats on entering the top 10! Edit: I guess I should check the latest rankings before making a comment like that - but congrats on the rating jump, anyway... -- Voidious
Thanks! Pleasant surprises like that are always nice. I would definitely like to get a robot in the top 10, but I think 0.33 will be my last release for a while (unless it is terrible :). It's back to WaveSuffering for me... -- Kev
Probably Logic crashes with someones client, causing it to get only some survivalpoints. You are not the only victim though, see RoboRumble/RankingChat. Therefor I suspect that the problem lies at someones client. Maybe the cpu setting in the ini-file is set on 1? -- GrubbmGait
All sample bots are in the melee rumble. -- Florent
I would like to see how Logic 0.34 really preforms. Will removing it from the rumble and adding it again clean its record? -- Kev
Nope, you need to give it a new version number. -- Voidious
OK, Logic is re-released. -- Kev
congrats!!! looks like a solid 5th place in Melee (12 points ahead of no.6) and maybe even a 4th place. Very good work. --Loki
Yeah, big congrats on the #5 spot! I saw you there earlier, but I wasn't sure if it was stable yet. Keep up the good work! -- Voidious
Very nicely done, this is a very strong melee bot. --David Alves
Yay, 5th place!!! I think this is the first time I've seen a non Rozu or ABC bot get that high. Thanks all, again Logic has preformed way better than I expected. Next up is for me to combine Logic and WaveSerpent and see what happens... -- Kev