public BlackJackGame( ) { gameCards = new Deck( ); gameCards.FillDeck( ); gameCardsVisible = gameCards; gameCardsUsed = new Deck( ); players = new List <Player>( ); splits = new List <Player>( ); dealer = new Player( ); }
public void ResetDeck( ) { gameCards.FillDeck( ); for (int i = 0; i < NumberOfPlayers; i++) { players[i].ClearPlayer( ); splits[i].ClearPlayer( ); } dealer.ClearPlayer( ); gameCardsUsed.cards.Clear( ); }