public bool PlayPokerHand(double bet) { var playerWon = false; if (pokerManager.PlayerWins) { money += bet; wins++; playerWon = true; } else { money -= bet; losses++; } pokerManager = new PokerManager(); return(playerWon); }
public BettingManager() { pokerManager = new PokerManager(); }