A single competitor in a game.
A competitor may be a single person or a team of up to four players, that participate to a given tourney. On each competitor this table keeps the points, the netscore and his bucholz, as well as the final prize. To disambiguate the ranking it maintains also a totscore, the total number of pocketed carrommen summing up competitor’ scores in all played games.
Weight of the opponents (sum of opponents’ points and netscore).
A description of the competitor, made up with the name of each player.
A description of the competitor, made up with the name of each player.
Primary key.
Nationality of the first player
Net score (sum of carrommen difference in each match).
First name of the first player
Full name of the first player
Last name of the first player
Nationality of the first player
Gender of the first player
Full name of the second player
Nationality of the second player
Full name of the third player
Nationality of the third player
Full name of the fourth player
Nationality of the fourth player
Points (number of wins * 2 + number of draws).
Final prize.
The position of this competitor in the tourney’s ranking.
Rate of this competitor, summing up all players rates
A competitor may stop playing in the middle of the tourney.
Reduce a single competitor to a simple dictionary.
Parameters: | serializer – a Serializer instance |
---|---|
Return type: | dict |
Returns: | a plain dictionary containing a flatified view of this competitor |
Total score (sum of carrommen in each match).