Difference between revisions of "Wave Surfing/Melee"

From Robowiki
Jump to navigation Jump to search
(moved Wave Surfing/Melee to Talk:Wave Surfing/Melee: it should be the discussion)
 
(Reformat)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
#REDIRECT [[Talk:Wave Surfing/Melee]]
+
{{stub}}
 +
 
 +
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:
 +
** [[Precise Prediction|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!

Latest revision as of 23:18, 7 September 2017

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!