#include "misc.hpp" #include "moves.hpp" #include #include std::string_view engine_info() { return "Mono 1\n"; } uint64_t MoveGenTest(int depth, Game *g) { uint64_t num = 0; if (depth <= 0) { return 1; } auto moves = GetLegalMoves(g); for (auto move : moves) { UndoMove undo = MakeMove(move, g); num += MoveGenTest(depth - 1, g); UnMakeMove(undo, g); } return num; }