Area Targeting

From Robowiki
Revision as of 16:05, 29 November 2007 by Voidious (talk | contribs) (removing "Targeting" category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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