Options
All
  • Public
  • Public/Protected
  • All
Menu

The Scheduler class with functions to help schedule tournament matches

Hierarchy

  • Scheduler

Index

Methods

Static Random

Static RankRangeRandom

  • Randomly picks one player and randomly selects enough players within configs.range ranks of the first picked player. If there are not enough players within configs.range ranks due to a player having a rank close to 1 or the very bottom, it will be appropriately padded on the higher or lower ranking side. If there are still not enough players to choose from, then algorithm selects from what is available.

    This is also the default algorithm used by the {@link Tournament.Ladder | Ladder Tournament}

    Returns the Scheduler function that can be passed to the Ladder.Configs.matchMake field

    Parameters

    Returns (players: Array<PlayerStat>) => Array<Tournament.QueuedMatch>

      • (players: Array<PlayerStat>): Array<Tournament.QueuedMatch>
      • Parameters

        Returns Array<Tournament.QueuedMatch>

Static TrueskillVarianceWeighted

Static _GenerateRankRangeRandom

Generated using TypeDoc