[ ] csv file outlining all the matches planned: group, qualifier 1, eliminator, qualifier 2, finals
[x] For group matches, the following data points must be defined: date of match, venue, team1, team2
[x] For other stages, the following data points must be defined: date of match, venue (teams will be decided based on group results)
[x] For each team playing in the tournament, a list of the playing xi in a separate csv file
[x] Constraints: venues must be from the list of known venues, playing xi must be from the universe of known players (else throw an error)
[x] Number of scenarios to simulate per tournament
The tournament will be simulated by the following rules:
Group stage: Each team plays every other team twice. Winner gets 2 points, loser gets 0, tie = 1 point each
Qualifier 1: Top 2 teams after group stage play, winner goes to the finals
Eliminator: 3rd & 4th teams from the top play, loser is out of the competition
Qualifier 2: Loser of Q1 and winner of Eliminator play, winner goes to the finals
(to be confirmed): If the two teams are tied on score at the end of the match, a super over will be bowled with winner making more runs. Super overs will continue till a winner is found.
The UI will show the following outputs:
[x] Summary of bowling, batting, fielding and total rewards earned by a player across all the simulated tournament scenarios
[x] Summary of top players across all tournament scenarios
Tournament simulator takes the following inputs:
The tournament will be simulated by the following rules:
The UI will show the following outputs: