public static void Compare(ConfigurableWaitingTimes c, ConfigurableWaitingTimes dc)
 {
     Assert.AreEqual(c.GetType(), dc.GetType());
     Assert.AreEqual(c.AfterBoardDealed, dc.AfterBoardDealed);
     Assert.AreEqual(c.AfterPlayerAction, dc.AfterPlayerAction);
     Assert.AreEqual(c.AfterPotWon, dc.AfterPotWon);
 }
Ejemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 public TableParams()
 {
     TableName         = "Anonymous Table";
     GameType          = GameTypeEnum.Holdem;
     Variant           = "Texas Hold'Em";
     MinPlayersToStart = 2;
     MaxPlayers        = 10;
     WaitingTimes      = new ConfigurableWaitingTimes();
     MoneyUnit         = 10;
     Lobby             = new LobbyOptionsQuickMode();
     Blind             = new BlindOptionsNone()
     {
         MoneyUnit = MoneyUnit
     };
     Limit = new LimitOptionsPot();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// 
 /// </summary>
 public TableParams()
 {
     Arguments = string.Empty;
     TableName = "Anonymous Table";
     Variant = GameSubTypeEnum.TexasHoldem;
     MinPlayersToStart = 2;
     MaxPlayers = 10;
     WaitingTimes = new ConfigurableWaitingTimes();
     GameSize = 10;
     Lobby = new LobbyOptionsQuickMode();
     Blind = BlindTypeEnum.Blinds;
     Limit = LimitTypeEnum.NoLimit;
     Options = new GameTypeOptionsCommunity();
 }
Ejemplo n.º 4
0
 /// <summary>
 /// 
 /// </summary>
 public TableParams()
 {
     TableName = "Anonymous Table";
     GameType = GameTypeEnum.Holdem;
     Variant = "Texas Hold'Em";
     MinPlayersToStart = 2;
     MaxPlayers = 10;
     WaitingTimes = new ConfigurableWaitingTimes();
     MoneyUnit = 10;
     Lobby = new LobbyOptionsQuickMode();
     Blind = new BlindOptionsNone() { MoneyUnit = MoneyUnit };
     Limit = new LimitOptionsPot();
 }