コード例 #1
0
        public void PlaceInitialBet()
        {
            CurrentHands.Add(new PlayerHand
            {
                Bet     = _playerStrategy.GetInitialBetAmount(HandHistory.LastOrDefault(), CurrentTotalCash, _currentDealer.TableSettings),
                Outcome = HandOutcome.InProgress
            });

            CurrentTotalCash -= InPlayHand.Bet;
        }
コード例 #2
0
 public void DebugHands(int numberOfhands)
 {
     for (int i = 0; i < numberOfhands; i++)
     {
         var hand   = new BjHand(10);
         int number = Rand.GetRange(2, 8);
         hand.DebugSetHand(number);
         CurrentHands.Add(hand);
     }
 }
コード例 #3
0
 private void SplitCurrentHand()
 {
     CurrentHands.Add(InPlayHand.Split());
     CurrentTotalCash -= InPlayHand.Bet;
 }