Thread history
Time | User | Activity | Comment |
---|---|---|---|
No results |
Given how strong GresSuffurd already is, I bet you could move up to the middle of the pack in a night's work, adding rolling average to surf stats and/or an Anti-Surfer gun.
About Robot, do you mean for accounting for wall collisions in energy tracking? I was just thinking about that the other day (very old "TODO" in Diamond's movement code)...
I'm pretty sure Robocode doesn't tell you, but you could detect it pretty quickly by noticing if a wall collision affects their energy. With gun heat tracking, since most collisions won't happen at gun heat = 0, I bet it would usually take only one wall collision to tell if they're Robot or AdvancedRobot. (A bullet being fired is the only other reason the AdvancedRobot might have lost energy, and you could rule that out.)