public GreedyNPly(Board board, Color color, BoardEval boardEval = BoardEval.Simple, int n = 3) : base(board, color, "Greedy " + n + " ply AI") { if (n < 0) { throw new ArgumentException("n has to be larger than 3"); } _n = n; _randomAi = new RandomAI(board, color); _boardEval = boardEval; }
public Greedy1Ply(Board board, Color color, BoardEval boardEval = BoardEval.Simple) : base(board, color, "Greedy 1ply AI") { _randomAi = new RandomAI(board, color); _boardEval = boardEval; }
public Greedy1Ply(Greedy1Ply player, Board board) : base(player, board) { _randomAi = new RandomAI(board, player.Color); _boardEval = player._boardEval; }
public RandomAI(RandomAI randomAi, Board board) : base(randomAi, board) { _random = randomAi._random; }
public RandomAI(RandomAI randomAi) : base(randomAi) { _random = randomAi._random; }