Difference between revisions of "Matchmaking rules"

From Gladiabots Wiki
Jump to: navigation, search
Line 3: Line 3:
 
* Get the 100 "oldest" (creation time) available matches matching these conditions:
 
* Get the 100 "oldest" (creation time) available matches matching these conditions:
 
** Opponent's league has to be between <code>your league - 1</code> and <code>your league + 1</code>
 
** Opponent's league has to be between <code>your league - 1</code> and <code>your league + 1</code>
** If opponent's league is different than yours: league score delta has to be lower than 200 points
+
** If opponent's league is different than yours: league score delta (Definition: <code>abs(your league score - opponents league score)</code>) has to be lower than 200 points
 
* Filter out (remove) matches matching these conditions:
 
* Filter out (remove) matches matching these conditions:
 
** The opponent has already been played in the last 5 minutes
 
** The opponent has already been played in the last 5 minutes
Line 11: Line 11:
 
**# In case of equality: Prefer opponents using a different IP
 
**# In case of equality: Prefer opponents using a different IP
 
**# In case of equality: Prefer opponents never met or met the furthest in the past<br>''Opponents are considered equal, if they have been met in the last 10 minutes''
 
**# In case of equality: Prefer opponents never met or met the furthest in the past<br>''Opponents are considered equal, if they have been met in the last 10 minutes''
**# In case of equality: Prefer opponents with the lowest league score delta (compared to yours)<br>''Opponents are considered equal, if the league score delta is <= 10''
+
**# In case of equality: Prefer opponents with the lowest league score delta<br>''Opponents are considered equal, if the league score delta is &le; 10''
 
**# In case of equality: Prefer oldest match (creation time)
 
**# In case of equality: Prefer oldest match (creation time)
 
** Take the first match of the sorted list and join it
 
** Take the first match of the sorted list and join it

Revision as of 05:35, 6 September 2017

The matchmaking for ranked multiplayer works like this:

  • Get the 100 "oldest" (creation time) available matches matching these conditions:
    • Opponent's league has to be between your league - 1 and your league + 1
    • If opponent's league is different than yours: league score delta (Definition: abs(your league score - opponents league score)) has to be lower than 200 points
  • Filter out (remove) matches matching these conditions:
    • The opponent has already been played in the last 5 minutes
  • If there are matches remaining after filtering:
    • Sort the remaining matches using these comparison rules:
      1. Prefer opponents in the closest league
      2. In case of equality: Prefer opponents using a different IP
      3. In case of equality: Prefer opponents never met or met the furthest in the past
        Opponents are considered equal, if they have been met in the last 10 minutes
      4. In case of equality: Prefer opponents with the lowest league score delta
        Opponents are considered equal, if the league score delta is ≤ 10
      5. In case of equality: Prefer oldest match (creation time)
    • Take the first match of the sorted list and join it
  • If there are no matches remaining after filtering:
    • Pick a random map
    • Pick a random left/right side
    • Create a new match using these parameters

GFX47 could you provide the rules for freeplay multiplayer?