Support tournaments
I want to continue developing on it, but because some specifications are missing for my taste, i'll write some of them up.
It should be possible for users to see tournaments/league stats as much as possible, for every kind of tournament, so no exact format to be specified, other than the format of a single game (1v1, 2v2, 3v3, and others maybe), otherwise summaries of multiple games will be inaccurate and untelling. Not every user should be able to add a replay to any tournament they like, so there needs to be some kind of administrator/moderator for tournament stats.
A tournament can have teams, where players are added by their platform id. Exact documentation of a match series and the league standings are not needed for a first version, as we only want to see the game stats and players performances at first.
Summaries should be possible for:
- a single tournament
- a whole league (multiple seasons)
- individual players (pro and against stats)
- team stats (possibly not based on an org, since RL is roster-based)
Summaries should include:
- average stats for all players/teams (score per norm game, goals per game, boost per minute, etc.)
- single game top/bottom performances (most goals per game, most saves per game, most boost pickups per minute, etc.)
current backend implementation of the tournament branch provides
- tournaments
- which can have stages (like league play, playoffs, relegation, possibly multiple seasons, etc.)
- and stages have serieses which are composed of single games.
On top of that the owner of the tournament can specify other tournament admins who are permitted to add any of the entities mentioned above to the tournament they are admin of.
Stats are not really implemented yet, iirc only serieses have stats where we leverage the replay group feature. Teams are not implemented but that should be pretty easy to add.
Hope that helps.