Robo Home | Changes | Preferences | AllPages

A bullet in Robocode is a line segment from the point where the bullet starts a tick, to the point where it finishes it. If that segment intercepts a robot the bullet is destroyed and the robot hit takes damage equal to the bullet's power?*4 (+(power-1)*2 if power>1) (unless it has less energy than that power, in which case it takes damage equal to it's energy). The robot that fired the bullet gains three times it's power in energy.

A bullet can have a power between 0.1 and 3. When it is fired the firing robot's energy reduces by the power. A bullet travels at a speed equal to 20-3*power.

If a bullet hits another bullet (see BulletShielding), they are both destroyed.

Event?s associated with bullets are:

Bullets are fired using:

Robo Home | Changes | Preferences | AllPages
Edit text of this page | View other revisions
Last edited February 20, 2004 15:21 EST by Tango (diff)