Пример #1
0
        public void CheckCall()
        {
            int callAmount = DeactivePlayer.LastBet;

            switch (ActivePlayer.Option)
            {
            case Options.C:
                ActivePlayer.Call(callAmount);
                break;

            case Options.CB:
                ActivePlayer.Call(callAmount);
                break;

            case Options.XB:
                ActivePlayer.Check();
                break;

            case Options.CR:
                ActivePlayer.Call(callAmount);
                break;

            case Options.XR:
                ActivePlayer.Check();
                break;
            }
        }