Wave Surfing/Melee

From Robowiki
< Wave Surfing
Revision as of 23:18, 7 September 2017 by MultiplyByZer0 (talk | contribs) (Reformat)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article is a stub. You can help RoboWiki by expanding it.

Melee surfing is surfing waves fired by multiple enemies. It is not a specific algorithm, but rather a class of techniques.

True Melee Surfing

  • Find the closest wave.
  • Choose n angles to move.
  • For every angle:
    • Simulate your bot moving at that angle.
    • Find the wave hit location.
    • Check the danger.
  • Choose the best angle to move.
  • Move!

GoTo Melee Surfing

  • Find the closest wave.
  • Choose n points that can be reached by the time the wave hits.
  • Choose the safest point according to your danger function.
  • GoTo that location!