Wave Surfing/Melee

From Robowiki
< Wave Surfing(Redirected from Melee Surfing)
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!