bigger refactor in several files

This commit is contained in:
rektdie committed 2025-03-20 20:39:12 +01:00
1 parent 8d5024a4a4
commit 0ffc2c77de
7 files changed
+111 -112

No files matched your search

+2 -2
View File
@@ -29,10 +29,10 @@ void ParsePosition(Board &board, std::string_view command) {
}
if (movesIndex != std::string::npos) {
std::vector<std::string> moves = split(command.substr(movesIndex + 6, command.length() - (movesIndex + 5)), ' ');
std::vector<std::string> moves = UTILS::split(command.substr(movesIndex + 6, command.length() - (movesIndex + 5)), ' ');
for (std::string_view move : moves) {
board.MakeMove(parseMove(board, move));
board.MakeMove(UTILS::parseMove(board, move));
}
}