/* * Constructor */ public MinimaxAgent(Board board, int numToWin) { this.board = board; heuristic = new Heuristic(numToWin); if (board.getHeight() > 10 && board.getWidth() > 10) depth = 4; }