예제 #1
0
 public void ClearAllHandsForNewGame()
 {
     DealerPlayer.ClearHand();
     foreach (var player in Players)
     {
         player.PlayerHand.ClearHand();
     }
 }
예제 #2
0
        public void StartHand()
        {
            Deck.ShuffleDeck();

            foreach (var player in Players)
            {
                player.GetCard(Deck);
            }

            DealerPlayer.GetCard(Deck);

            foreach (var player in Players)
            {
                player.GetCard(Deck);
            }

            DealerPlayer.GetCard(Deck);
        }