Class: Pairings

Pairings

Class representing pairings.


new Pairings(round, format, players)

Create new pairings.

Parameters:
Name Type Argument Default Description
round Number

Round number of pairings.

format 'elim' | '2xelim' | 'robin' | '2xrobin' | 'swiss'

Pairing algorithm to use.

players Number <nullable>
null

Number of blank matches to create.

Members


matches :Array.<Match>

Array of matches for the round.

Type:

round :Number

The round number.

Type:
  • Number