void Deal() { foreach (Player p in players) { p.Push(deck.Pop()); } dealer.Push(deck.Pop()); foreach (Player p in players) { p.Push(deck.Pop()); } dealerScore.text = dealer.CardValue().ToString(); DisplayPlayerScore(); //currentPlayer = players[0]; }
public int HandValue() { return(cards.CardValue()); }