static ZatvorenoAI() { SummaryReport = new SummaryReport(); Tracker = new QuickSpecificCardSearchTracker(); TrickDecisionMakerWhenSecond = new ShouldTake(Tracker); PossibleActionGenerator = new PossibleActions(Tracker); ActionChoser = new ChoseAction(PossibleActionGenerator, TrickDecisionMakerWhenSecond); CardStatistics = new CardStatisticsGenerator(Tracker); OptionEval = new OptionEvaluator(Tracker, CardStatistics); CardChoser = new FirstActionInTrickChoser(Tracker, OptionEval); }
public ChoseAction(IPossibleActions possibleActions, IShouldTake shouldTake) { this.shouldTake = shouldTake; this.possibleActions = possibleActions; }