A single match.
This table contains all the matches played in the various turns 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.
Second competitor (may be None).
A description of the match, made up with the description of each competitor.
First competitor’s ID.
Second competitor’s ID (possibly None).
Primary key.
Related tourney’s ID.
Results of this match, comparing competitor’ scores.
Return a tuple of (winner, loser, netscore).
First competitor’ score.
Second competitor’ score.
Reduce a single match to a simple dictionary
Turn of the match.