- Linear gun at distances less than 20 - Aristocles' gun against amk.* - Circular gun against cjk.* - Segment gun against all else
I didn't see ChumbaMini? show up in the mini-rankings, but with a codesize of 1880 it is not a mini! --GrubbmGait
...Odd, according to my codesize thing its 1497. Just under the limit... ah hah! for some odd reason, it was including a few classes that weren't actually needed o.O. I further optimized it down too, now its about 1468. And thats measured directly from the jar, not the two .class files. Uploading now... heh. -- AaronKrill
About your linear gun fireing for distances less than 20; IIRC, the dimensions of a bot is 38x38, and distances between bots are calculated from the center of bots. I don't know how you implemented your gun, but if you're checking (e.getDistance()<20), then your linear gun will be of little use to you... -- Dummy (disregard this comment if you did take the bot's dimensions into account)
Yup, I did. So i suppose in reality, the e.getDistance is 39, but in my mind the actual distance from the bot is 20. In my mind its 20, in my bot its 39 (since the radius is 19, the distance from radar to edge is 19... +20). Thanks for pointing that out though. -- AaronKrill
Have you ever checked how often that linear gun is used against rambots like mz.NanoDeath --GrubbmGait
To clarify what Dummy was trying to explain, bots aren't circles, but they are 36x36 squares (that don't rotate - they stay aligned with the axes). In either case, for targetings' sake, you should use the center of the bot (getX(), getY()). -- Kawigi