Difference between revisions of "Area Targeting"

From Robowiki
Jump to navigation Jump to search
(new Area Targeting page)
 
m (removing "Targeting" category)
 
Line 13: Line 13:
  
 
[[Category:Simple Targeting Strategies]]
 
[[Category:Simple Targeting Strategies]]
[[Category:Targeting]]
 

Latest revision as of 16:05, 29 November 2007

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