private void StartGame() { Dealer.DealCard(Player, 2); Dealer.DealCard(Dealer, 2); }
public Game(Player player) { Dealer = new Dealer(new Deck()); // Can use DI to inject instance of deck Player = player; StartGame(); }
private void StartGame() { Dealer.DealCard(Player, 2); Dealer.DealCard(Dealer, 2); }
public Game(Player player) { Dealer = new Dealer(new Deck()); // Can use DI to inject instance of deck Player = player; StartGame(); }