コード例 #1
0
        private IEnumerable <Player> GetAllOpponents(Tournament tournament, Player tournamentPlayer)
        {
            var playersGames = PappPairing.GetAllPreviousGames(tournament.RoundList, tournamentPlayer);
            var allOpponents = playersGames.Select(g => GetOpponent(g, tournamentPlayer));

            return(allOpponents);
        }
コード例 #2
0
        public void TestMethod1()
        {
            var tournament = PairingSimulation.GenerateTournament(7, 20);

            PappPairing.PairNextRound(tournament);
        }