generating pawn moves
This commit is contained in:
1 parent
55c751fb89
commit
28ce0bc64c
8 files changed
+134
-598
No files matched your search
+1
-1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user