Difference between revisions of "Wave Surfing/Melee"

From Robowiki
Jump to navigation Jump to search
Line 7: Line 7:
 
** Find the closest wave
 
** Find the closest wave
 
** Choose X angles to move.
 
** Choose X angles to move.
** For every angle
+
** For every angle:
:Simulate your bot moving to that angle.  
+
:1. Simulate your bot moving to that angle.  
:Find the wave hit location.
+
:2. Find the wave hit location.
:Check danger.
+
:3. Check danger.
 
** Choose the best angle to move
 
** Choose the best angle to move
 
**Move!
 
**Move!

Revision as of 07:25, 7 September 2017

This article is a stub. You can help RoboWiki by expanding it.
Melee surfing is simply surfing waves fired by multiple robots.
Because melee surfing is not an algorithm it can be done in more than one ways.
Melee True Surfing
    • Find the closest wave
    • Choose X angles to move.
    • For every angle:
1. Simulate your bot moving to that angle.
2. Find the wave hit location.
3. Check danger.
    • Choose the best angle to move
    • Move!
Melee GoTo Surfing
    • Find the closest wave
    • Choose X points that can be reached until the wave hits.
    • Choose the safest point according to your danger function.
    • Go to there!