Example #1
0
        private void UpdateTable(bool hideDealerCards = true, bool showProbability = false)
        {
            show.Clear();

            foreach (Player player in Players)
            {
                player.ShowPlayerCards();
            }

            Dealer.ShowPlayerCards(hideDealerCards);

            if (showProbability)
            {
                show.SkipLine();
                Deck.ProbabilityOfHighCard();
            }

            show.DisplayMessage();
            show.ClearMessage();
        }
Example #2
0
 private static void ProbabilityOfHighCard(Deck deck)
 {
     deck.ProbabilityOfHighCard();
 }