Example #1
0
        private void Finals(List <Team> teams)
        {
            List <Team> FinalsWinners = RoundSimulator.Simulation(teams, 2, "final");

            CustomColor.CustomConsoleColor(ConsoleColor.Magenta);
            Console.WriteLine($"\t\t\t\t\t\tThe Winning team is the {FinalsWinners[0].Name.ToUpper()}");
            CustomColor.CustomConsoleColor(ConsoleColor.Gray);
        }
Example #2
0
        private void SecondRound(List <Team> teams)
        {
            List <Team> secondRoundWinners = RoundSimulator.Simulation(teams, 8, "second");

            SemiFinals(secondRoundWinners);
        }
Example #3
0
        private void SemiFinals(List <Team> teams)
        {
            List <Team> SemiFinalsWinners = RoundSimulator.Simulation(teams, 4, "semi-final");

            Finals(SemiFinalsWinners);
        }
Example #4
0
        private void FirstRound(List <Team> teams)
        {
            List <Team> firstRoundWinners = RoundSimulator.Simulation(teams, 16, "first");

            SecondRound(firstRoundWinners);
        }