# Robocode2/ShouldWeRaiseBulletDamageForLowPowerShots

Robo Home | Robocode2 | Changes | Preferences | AllPages

Difference (from prior major revision) (no other diffs)

Changed: 1,2c1,35
 null Togo scolds projecting!woefully.Weldon Mathieu Knossos splicings [phentermine ] was

It would be good to remove the Robocode penalty against using fast bullets. Currently it seems that nearly all bullet power calculation algorithms can be replaced by p = 3 with attendant gain of strength (SandboxDT being an honourable exception). I suggest that the points calculation be changed so that every bullet hit gets a fixed 6 points plus up to 10 points more, depending on bullet power. So power 0.1 bullets would get 6 points, power 3 would get 16. -- Tad

I disagree. Both SandboxDT and Linnet have shown that firing at low power sometimes is a good thing. Also, I think that your rule would make .1 power shots too effective.

if I define a bullet's "goodness" as

goodness = ((chance of hit) * (damage done + energy gained) - (energy lost)) / (firing frequency)

Assume a 15% chance to hit with power 3, 30% with power .1 (it should be roughly double since the time to hit is roughly half)

• goodness(3) = (.15 * (16 + 12) - 3 ) / 16 = 0.075
• goodness(.1) = (.3 * (6 + 4.5) - .1) / 11 = 0.277

This is the formula that Duelist uses to calculate what shot power to use, if anyone's interested. :-P

Essentially .1 power shots are almost free and have a high chance to hit, so raising the damage they do like that would really unbalance the game.

I haven't thought about this very deeply or done the math. Probably you are right that 6 points for a 0.1 bullet is too much. The question is whether we should change the balance in order to make power selection of less than 3 more of a viable option. Your formula ignores the fact that getting rid of energy fast lowers how many points your opponent gets by killing you. Another factor is that by firing a 0.1 bullet you have to wait for the gun to cool before you can do some real damage. -- Tad

I'm taking the gun cooling into account. The "firing frequency" term is how often you can fire if you're firing shots of a given power. --David Alves

Thanks for the formula, I sure was interested. =) Anyway I think we should leave the rules as they are. They seem to work. But I don't think that raising damage for low power shots would unbalance the game. Within any sets of rules there's always room for using them to your advantage. The current rules are fine. Just fine. -- PEZ

Duelist sorts its hit rates by how long the bullet takes to reach the target, not the target distance. It then finds what bullet power will give it the best "goodness". --David Alves

I dont think its appropriate to raise the damage of lowpower bullets? Is there any GOOD reason to do so? I however think damage should be linearly dependent on power. Thus taking away the extra boost for >= 1.2 bullets would be a realistic change in my eyes -- Jimpa

Why don't make it another variable like the cooling rate? I mean, you should be able to change the bonus, but it defaults to 0 (as in Robocode). Competitions would probably use the default, unless the bonus change becomes a clear superior choice. --Qetu

Robo Home | Robocode2 | Changes | Preferences | AllPages