public Shoe(int numberOfDecks, Percent whenToShuffle) { _whenToShuffle = whenToShuffle; NeedsToBeShuffled = false; _numberOfDecksInShoe = numberOfDecks; _initialCountOfCardsInShoe = _numberOfDecksInShoe * 4 * 13; LoadShoe(); }
public Dealer(IEnumerator<IPlayer> players, int numberOfRounds, int numberOfDecksToBeUsed, int tableMinBet, int tableMaxBet, Percent whenToShuffle) { //////Do(new InitialCards().Deal(), new PlayCollection()); _shoe = new Shoe(numberOfDecksToBeUsed, whenToShuffle); _shoe.AnnounceTimeToShuffle += ShoeOnAnnounceTimeToShuffle; //Table.TableMaxBet = tableMaxBet; //Table.TableMinBet = tableMinBet; //_players = players; _numberOfRounds = numberOfRounds; _dealersCards = new List<uint>(); // TheCount.CurrentCount = 0; }