generating pawn moves

This commit is contained in:
rektdie committed 2025-03-24 00:33:21 +01:00
1 parent 55c751fb89
commit 28ce0bc64c
8 files changed
+134 -598

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ int parseSquare(std::string_view str) {
}
Move parseMove(Board &board, std::string_view str) {
MOVEGEN::GenerateMoves(board);
MOVEGEN::GenerateMoves<All>(board);
int from = parseSquare(str.substr(0, 2));
int to = parseSquare(str.substr(2, 2));