// Deal nCards cards to player. public void Deal(IPlayer player, uint nCards) { for (uint i = 0; i < nCards; i++) { if (_cards.Count == 0) { throw new CardGameException("Deck exhausted"); } var card = _cards.GetCard(0); _cards.RemoveCard(0); player.AcceptCard(card); } }