Ejemplo n.º 1
0
 public Shoe(int numberOfDecks, Percent whenToShuffle)
 {
     _whenToShuffle = whenToShuffle;
     NeedsToBeShuffled = false;
     _numberOfDecksInShoe = numberOfDecks;
     _initialCountOfCardsInShoe = _numberOfDecksInShoe * 4 * 13;
     LoadShoe();
 }
Ejemplo n.º 2
0
 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;
 }