View Source ExTournaments.Pairings.DoubleElimination.FillRoundsByes (ExTournaments v0.5.1)
Module for populating matches from BYEs
Link to this section Summary
Functions
Takes list of %ExTournaments.Match{}
, round index and remainder and exponent from the difference
between number of participants and power of 2. It will populate matches from the BYEs from the previous round.
Link to this section Functions
@spec call([ExTournaments.Match.t()], number(), non_neg_integer(), number()) :: {[ExTournaments.Match.t()], non_neg_integer()}
Takes list of %ExTournaments.Match{}
, round index and remainder and exponent from the difference
between number of participants and power of 2. It will populate matches from the BYEs from the previous round.
Returns an updated list of matches.