If the player is active in the tournament.
Initialized as true
Unique identifier of the player.
Array of matches that the player is involved in.
Initialized as []
If the match is a bye.
If the player is player one ('w'
) or player two ('b'
) in the match (used in Swiss pairings if colored: true
).
Number of draws in the match.
The ID of the match.
Number of losses for the player in the match.
The ID of the opponent (or null
if no opponent).
If the opponent has a different point total before the match (used in Swiss pairings).
Number of wins for the player in the match.
Object for storing any additional information, useful for implementations of the library.
Initialized as {}
Name of the player.
A value used for seeding players, such as rank or rating.
Initialized as 0
Properties of players