public void AddHandOutcome(PlayerHand playerCards, DealerHand dealerCards) { var outcome = new HandOutcome() { DealerShowCard = dealerCards.GetShowCard(), PlayerCardOne = playerCards.Cards[0], PlayerCardTwo = playerCards.Cards[1], DealerTotal = dealerCards.Value(), PlayerTotal = playerCards.Value(), WinAmount = playerCards.HandWinAmount() }; HandOutcomes.Add(outcome); }
private void ClearHands() { _playerCards = new Dictionary <Player, PlayerHand>(); _dealerHand = new DealerHand(); }