// // Created by hamac on 20.12.2024. // #ifndef CHESSUTILS_H #define CHESSUTILS_H // // Created by hamac on 18.12.2024. // #include #include #include #include class ChessUtils { public: inline static const std::unordered_map fileConvertion = { {0, 7}, {1, 6}, {2, 5}, {3, 4}, {4, 3}, {5, 2}, {6, 1}, {7, 0} }; static std::vector split(const std::string &s, char delim); static std::pair convertPosition(const std::string &pos); }; #endif //CHESSUTILS_H