Fire

From Robowiki
Revision as of 23:26, 12 October 2017 by MultiplyByZer0 (talk | contribs) (Write bot page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Fire
Author(s) Mathew Nelson, Flemming N. Larsen
Extends Robot
Targeting Head-On Targeting
Movement Pattern Movement
Code License Eclipse Public License v1.0

Background Information

What's special about it?
Fire is a Sample Bot that demonstrates bad target acquisition, Head-On Targeting, and abuse of event handlers. More specifically:
  • It does not move while firing.
  • It does not turn its gun and radar separately.
  • It acquires targets very slowly, because it turns its gun/radar at 5°/tick, instead of 65°/tick (the maximum possible radar turn rate).
  • If its target happens to move counterclockwise, it will lose its lock.
  • If it is hit by a bullet, it will move and lose its lock.
Of course, these flaws are intentional, and you are supposed to improve on this robot.
How competitive is it?
In MeleeRumble, it is the 8th best sample bot (out of 13).

Strategy

How does it move?
When hit, it turns perpendicular to the bullet and then moves 50 pixels forward or backwards (it alternates between the two options).
How does it fire?
When it scans another robot, it fires a 1.0- or 3.0-power bullet (depending on distance), and tries lock its gun onto its opponent.
How does it dodge bullets?
It doesn't.
How does the melee strategy differ from one-on-one strategy?
It loses its lock often, and this causes it to quickly switch between targets in melee.
How does it select a target to attack/avoid in melee?
No explicit target selection.
What does it save between rounds and matches?
Nothing and nothing.

Additional Information

Where did you get the name?
It fires at enemies, and it has an orange-red color scheme.
Can I use your code?
Yes, it is released under the Eclipse Public License v1.0.