#include "tt.h"
#include "uci.h"
#include "syzygy/tbprobe.h"
+#include "nnue/evaluate_nnue.h"
using namespace std;
string UCI::move(Move m, bool chess960) {
- Square from = from_sq(m);
- Square to = to_sq(m);
-
if (m == MOVE_NONE)
return "(none)";
if (m == MOVE_NULL)
return "0000";
+ Square from = from_sq(m);
+ Square to = to_sq(m);
+
if (type_of(m) == CASTLING && !chess960)
to = make_square(to > from ? FILE_G : FILE_C, rank_of(from));