Esempio n. 1
0
 public RoundManager(
     IEnumerable <Bot> bots,
     TimerService timerService,
     EventNotifier notifier,
     IControlledRandom random)
 {
     this.playerCircle       = new PlayerCircle();
     this.handEvaluator      = new HandWinEvaluator();
     this.rulesEngine        = new GameRulesEngine();
     this.playerStateManager = new PlayerStateManager();
     this.agentLookup        = new AgentLookup();
     this.notifier           = notifier;
     this.random             = random;
     this.timerService       = timerService;
     this.AddBots(bots);
     this.Reset();
 }
Esempio n. 2
0
            public string GetPlayableCards()
            {
                var engine = new GameRulesEngine();

                return(engine.GetPlayableCards(this.cardsInHand, this.round).ToDebugString());
            }