示例#1
0
        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);
 }
示例#3
0
 private Better PlayersBet(Player CurrentPlayer)
 {
     Better CurrentBetter = new Better { Player = CurrentPlayer, Bet = 0 };
     //CurrentBetter.Player.PlayerPlacesBet
     return CurrentBetter;
 }