#include <grpc++/server_builder.h>
#include "hashprobe.h"
#include "hashprobe.grpc.pb.h"
+#include "tt.h"
using grpc::Server;
using grpc::ServerBuilder;
if (type_of(move) == CASTLING) {
to = make_square(to > from ? FILE_G : FILE_C, rank_of(from));
}
-
- decoded->set_from_sq(UCI::square(from));
- decoded->set_to_sq(UCI::square(to));
-
- if (type_of(move) == PROMOTION) {
- decoded->set_promotion(std::string() + " PNBRQK"[promotion_type(move)]);
- }
Piece moved_piece = pos->moved_piece(move);
std::string pretty;
Position::init();
Bitbases::init();
Search::init();
- Pawns::init();
Threads.set(Options["Threads"]);
Search::clear(); // After threads are up