stellar

UCI Chess engine written in C++20
git clone git://git.dimitrijedobrota.com/stellar.git
Log | Files | Refs | README | LICENSE

uci.hpp (660B)


0 #ifndef STELLAR_UCI_H
1 #define STELLAR_UCI_H
3 #include "board.hpp"
4 #include "move.hpp"
5 #include "movelist.hpp"
6 #include "score.hpp"
7 #include "utils.hpp"
8 #include "utils_ui.hpp"
10 namespace uci {
12 struct Settings {
13 mutable Board board;
15 MoveList searchMoves;
16 MoveList madeMoves;
18 uint64_t starttime;
19 uint64_t stoptime;
20 uint16_t depth = 0;
22 uint32_t nodes = 0;
23 bool ponder = false;
24 bool debug = false;
25 bool mate = false;
26 bool infinite = true;
27 bool newgame = true;
29 mutable bool stopped = false;
30 };
32 void loop();
33 uint32_t get_time_ms();
34 void communicate(const uci::Settings *settings);
36 } // namespace uci
37 #endif