public GeneticBotDeveloper(
     INewGameFieldCreator newGameFieldCreator,
     IFieldStateConverter fieldStateConverter,
     IGeneticBot geneticBot,
     IStepMaker stepMaker,
     IGameProcessStatisticProvider gameProcessStatisticProvider,
     IMonkeyBot monkeyBot)
 {
     this.newGameFieldCreator          = newGameFieldCreator;
     this.fieldStateConverter          = fieldStateConverter;
     this.geneticBot                   = geneticBot;
     this.stepMaker                    = stepMaker;
     this.gameProcessStatisticProvider = gameProcessStatisticProvider;
     this.monkeyBot                    = monkeyBot;
     this.random     = new Random();
     this.winFactors = new Dictionary <int, int>();
 }
Пример #2
0
 public LogicBot(IMonkeyBot monkeyBot, INextStepConditionCalculator nextStepConditionCalculator)
 {
     this.monkeyBot = monkeyBot;
     this.nextStepConditionCalculator = nextStepConditionCalculator;
 }