public void PlaceInitialBet() { CurrentHands.Add(new PlayerHand { Bet = _playerStrategy.GetInitialBetAmount(HandHistory.LastOrDefault(), CurrentTotalCash, _currentDealer.TableSettings), Outcome = HandOutcome.InProgress }); CurrentTotalCash -= InPlayHand.Bet; }
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); } }
private void SplitCurrentHand() { CurrentHands.Add(InPlayHand.Split()); CurrentTotalCash -= InPlayHand.Bet; }