public void IsRoundOfBetsComplete(Player NextBetter) { if (RoundOfBets.FindAll(p => p.HasFolded == false).Count() == 1) { RoundOfBetsComplete = true; return; } if (NextBetter == LastRaiser.Player) { RoundOfBetsComplete = true; return; } RoundOfBetsComplete = false; }
public void AddPlayer(Player player) { SeatsTaken++; _players.Add(player); }
private Better PlayersBet(Player CurrentPlayer) { Better CurrentBetter = new Better { Player = CurrentPlayer, Bet = 0 }; //CurrentBetter.Player.PlayerPlacesBet return CurrentBetter; }