View Source ExTournaments.Pairings.SingleElimination (ExTournaments v0.5.1)

Module for creation of a single elimination ladder

Link to this section Summary

Functions

Takes list with players IDs, index of the first round, flag indicating is third place match should be created and flag indicating is players array is ordered.

Link to this section Functions

Link to this function

call(players, starting_round \\ 1, consolation \\ false, ordered \\ false)

View Source
@spec call([integer()], integer(), boolean(), boolean()) :: [ExTournaments.Match.t()]

Takes list with players IDs, index of the first round, flag indicating is third place match should be created and flag indicating is players array is ordered.

Returns list of %ExTournaments.Match{} structs for the single elimination format tournament.