Exemple #1
0
 public GameEngine(IPlayer human, ICollection <IAIPlayer> enemies, IPot pot, IDealer dealer, IDeck deck, IMessageWriter messageWriter, IHandTypeHandler handTypeHandler)
 {
     this.human           = human;
     this.enemies         = new List <IAIPlayer>(enemies);
     this.Pot             = pot;
     this.dealer          = dealer;
     this.deck            = deck;
     this.MessageWriter   = messageWriter;
     this.handTypeHandler = handTypeHandler;
     this.BigBlind        = AppSettigns.DefaultMinBigBlind;
     this.SmallBlind      = AppSettigns.DefaultMinSmallBlind;
     this.SetDefaultCall();
     this.Raise            = 0;
     this.IsAnyPlayerRaise = false;
 }
Exemple #2
0
 public GameEngine(IPlayer human, ICollection<IAIPlayer> enemies, IPot pot, IDealer dealer, IDeck deck, IMessageWriter messageWriter, IHandTypeHandler handTypeHandler)
 {
     this.human = human;
     this.enemies = new List<IAIPlayer>(enemies);
     this.Pot = pot;
     this.dealer = dealer;
     this.deck = deck;
     this.MessageWriter = messageWriter;
     this.handTypeHandler = handTypeHandler;
     this.BigBlind = AppSettigns.DefaultMinBigBlind;
     this.SmallBlind = AppSettigns.DefaultMinSmallBlind;
     this.SetDefaultCall();
     this.Raise = 0;
     this.IsAnyPlayerRaise = false;
 }