Esempio n. 1
0
 public virtual Hand DealHand()
 {
     try
     {
         var hand = _deckOfCards.DealHand(5);
         return hand;
     }
     catch (NeedToRefillTheShoeException)
     {
         _deckOfCards = new DeckOfCards();
         return _deckOfCards.DealHand(5);
     }
 }
Esempio n. 2
0
 public SimpleTexasHoldemGame()
 {
     _deckOfCards = new DeckOfCards();
     _identifier = new TexasHoldemHandIdentifier();
 }