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