diff --git a/cpp/src/main.cpp b/cpp/src/main.cpp index ada2f49..c2b83ae 100644 --- a/cpp/src/main.cpp +++ b/cpp/src/main.cpp @@ -11,9 +11,9 @@ #include int main(int argc, char* argv[]) { - // std::string pos = - // "r2qkb1r/2p1pppp/p1n1b3/1p6/B2P4/2P1P3/P4PPP/R1BQK1NR w KQkq - 0 9 "; - std::string pos = "8/6K1/5P2/8/1k6/8/8/8 w - - 0 1"; + std::string pos = + "r2qkb1r/2p1pppp/p1n1b3/1p6/B2P4/2P1P3/P4PPP/R1BQK1NR w KQkq - 0 9 "; + // std::string pos = "8/6K1/5P2/8/1k6/8/8/8 w - - 0 1"; // pos for ai timing< // std::string pos = diff --git a/cpp/src/model/board/board.cpp b/cpp/src/model/board/board.cpp index a8733b7..616a1dc 100644 --- a/cpp/src/model/board/board.cpp +++ b/cpp/src/model/board/board.cpp @@ -283,7 +283,7 @@ Board Board::make_move(Move move, bool recurse_call) const { if (!white_to_play) ret.n_full_moves = n_full_moves + 1; - if (ret.n_half_moves > 20) { + if (ret.n_half_moves > 150) { std::cerr << "too many recursions" << std::endl; exit(1); }