private void MoveCardsToShuffler() { while (Cards.Count > 0) { Shuffler.Add(Cards[0]); Cards.RemoveAt(0); } }
//Get the next card from the shoe public BlackjackCard dealCard() { if (Cards.Count == 0) { createShoe(); } BlackjackCard returnCard = Cards[0]; Cards.RemoveAt(0); return(returnCard); }
public ICard Draw() { if (Cards.Count == 0) { throw new Exception(); } ICard card = Cards[0]; Cards.RemoveAt(0); Shuffler.Add(card); return(card); }