refactor in several areas
This commit is contained in:
1 parent
23e1f8a165
commit
20ab2f476a
9 files changed
+62
-100
No files matched your search
+1
-1
@@ -25,7 +25,7 @@ int parseSquare(std::string_view str) {
|
||||
}
|
||||
|
||||
Move parseMove(Board &board, std::string_view str) {
|
||||
GenerateMoves(board, board.sideToMove);
|
||||
MOVEGEN::GenerateMoves(board);
|
||||
|
||||
int from = parseSquare(str.substr(0, 2));
|
||||
int to = parseSquare(str.substr(2, 2));
|
||||
|
||||
Reference in new issue
Block a user