示例#1
0
 public Game(int smallBlind, int bigBlind, Deck deck, INotifier notifier)
 {
     SmallBlind            = smallBlind;
     BigBlind              = bigBlind;
     Deck                  = deck;
     _notifier             = notifier;
     Cards                 = new TableCards(_notifier);
     Pots                  = new List <Pot>();
     _combinationEvaluator = new CombinationEvaluator();
     _rounds               = new List <IRound>()
     {
         new HandsRound(smallBlind, bigBlind, deck, Cards, _notifier),
         new FlopRound(smallBlind, bigBlind, deck, Cards, _notifier),
         new FourStraightRound(smallBlind, bigBlind, deck, Cards, _notifier),
         new RiverRound(smallBlind, bigBlind, deck, Cards, _notifier)
     };
 }
示例#2
0
 public Clever1Controller()
 {
     _combinationEvaluator = new CombinationEvaluator();
 }
示例#3
0
 public QualityEvaluator()
 {
     _combinationEvaluator = new CombinationEvaluator();
 }
 public void Setup()
 {
     _combinationEvaluator = new CombinationEvaluator();
 }