toucan.mvp.calculator.tournament#
Module containing the ToucanTournament class.
Classes#
Class containing the Toucan tournament logic. |
Module Contents#
- class toucan.mvp.calculator.tournament.ToucanTournament(name: str)#
Class containing the Toucan tournament logic.
- property name: str#
Access property for retrieving the name of the tournament.
- Returns:
strThe name of the tournament.
- property mvp: toucan.mvp.calculator.players.ToucanPlayer | None#
Access property for retrieving the name of the tournament’s MVP.
- Returns:
ToucanPlayerorNoneThe MVP of the tournament.
Noneif no MVP is possible.
- property players: List[toucan.mvp.calculator.players.ToucanPlayer]#
List containing the player’s participating in the tournament.
- Returns:
List[ToucanPlayer]List of tournament’s players.
- process_tournament(dir: pathlib.Path | str) None#
Process a tournament given a directory where the match files are located.
- Parameters:
- dir
Pathorstr Directory where the match files are located.
- dir