public static DoktorChessAIBoard makeNormalStartPosition() { boardSearchConfig config = new boardSearchConfig(); config.searchDepth = 2; DoktorChessAIBoard newBoard = new DoktorChessAIBoard(gameType.normal, config); newBoard.makeStartPosition(); // Both kings are present in the new board. newBoard._blackKingCaptured = false; newBoard._whiteKingCaptured = false; return newBoard; }
public static DoktorChessAIBoard makeQueenAndPawnsStartPosition(boardSearchConfig searchConfig) { DoktorChessAIBoard newBoard = new DoktorChessAIBoard(gameType.queenAndPawns, searchConfig); newBoard.makeStartPosition(); return newBoard; }