add custom chess engine

This commit is contained in:
Josh-Heaps
2026-06-08 13:58:22 -06:00
parent d2ae34f530
commit c3280aa6d3
42 changed files with 3033 additions and 168 deletions
+19
View File
@@ -0,0 +1,19 @@
// Conversions between moves and UCI long-algebraic strings ("e2e4", "e7e8q").
// move_from_uci resolves the move's flag (castling / en passant / promotion)
// against the given position.
#ifndef CHESS_UCI_H
#define CHESS_UCI_H
#include "position.h"
#include <string>
#include <string_view>
namespace chess {
std::string move_to_uci(Move m);
Move move_from_uci(const Position& pos, std::string_view uci);
} // namespace chess
#endif // CHESS_UCI_H