A single match.
This table contains all the matches played in the various rounds of a tourney. A match may be between two different competitors or between a competitor and a placeholder, when the number of competitors is odd.
The number of the carromboard this match is played on.
A description of the match, made up with the description of each competitor.
First competitor
Full name of the first competitor
Second competitor (may be None, the Phantom).
Full name of the second competitor
A description of the match, made up with the description of each competitor.
Whether the match is a normal one or a final.
First competitor‘s ID.
Second competitor‘s ID (possibly None).
Primary key.
Results of this match, comparing competitor’ scores.
Return type: | tuple |
---|---|
Returns: | winner, loser, netscore |
Score of the first competitor.
Score of the second competitor.
Reduce a single match to a simple dictionary.
Parameters: |
|
---|---|
Return type: | dict |
Returns: | a plain dictionary containing a flatified view of this match |
Round number of the match.