Пример #1
0
        internal ComputerPlayer CreateComputerPlayer()
        {
            var computerPlayer = new ComputerPlayer();

            computerPlayer.GenerateHand();
            return(computerPlayer);
        }
Пример #2
0
 public MatchResult PlayGame(Ihand hand)
 {
     humanPlayer.PassHand(hand);
     computerPlayer.GenerateHand();
     return(humanPlayer.DeterminWinner(computerPlayer));
 }