Пример #1
0
        public void GameWinner(Player player1, Player player2)
        {
            WeaponRules weaponWinner = new WeaponRules();

            weaponWinner.CompareChoices(player1, player2);
            Console.WriteLine();
        }
Пример #2
0
        public void PlayGame(Player player1, Player player2)
        {
            //for or while loop
            //loop until either player1.gamesWon == 2 or player2.gamesWon == 2
            player1.MakeWeaponChoice();
            player2.MakeWeaponChoice();

            WeaponRules weaponWinner = new WeaponRules();

            weaponWinner.CompareChoices(player1, player2);
        }