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(); }
public string GetPlayableCards() { var engine = new GameRulesEngine(); return(engine.GetPlayableCards(this.cardsInHand, this.round).ToDebugString()); }