Area Targeting

From RoboWiki
Jump to: navigation, search

A method of targeting that aims at an area of the battlefield instead of at any particular bot. This method only works in battles that involve more than two bots, such as melee or teams.

Pseudocode

  • Divide the battlefield into sections.
  • Consider the bots in each section, moving into each section, and/or moving out of each section.
  • Determine the section with the most bots in it.
  • Fire in that direction.

See also

Personal tools