コード例 #1
0
ファイル: GameForm.cs プロジェクト: byggemand-bob/P2Projekt
 private void EndOfHand()
 {
     // Checks if the game is finished, and makes the buttons un-pressable.
     ChangeActionButtonState(false);
     ShowOpponentsHand();
     _ai.PrepareNewHand();
     _game.RewardWinners();
     ShowEndOfHandWindow();
 }
コード例 #2
0
ファイル: UnitTest1.cs プロジェクト: byggemand-bob/P2Projekt
        public void TestMethod1()
        {
            // Arrange
            PokerAi pokerAi = new PokerAi(Game);

            pokerAi.PrepareNewTree();
            pokerAi.PrepareNewHand();

            // Act


            // Assert
        }