예제 #1
0
        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;
        }
예제 #2
0
        public static DoktorChessAIBoard makeQueenAndPawnsStartPosition(boardSearchConfig searchConfig)
        {
            DoktorChessAIBoard newBoard = new DoktorChessAIBoard(gameType.queenAndPawns, searchConfig);

            newBoard.makeStartPosition();

            return newBoard;
        }