stellar

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

uci.hpp (644B)


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"
9 namespace uci {
11 struct Settings {
12 mutable Board board;
14 MoveList searchMoves;
15 MoveList madeMoves;
17 uint64_t starttime;
18 uint64_t stoptime;
19 uint16_t depth = 0;
21 uint32_t nodes = 0;
22 bool ponder = false;
23 bool debug = false;
24 bool mate = false;
25 bool infinite = true;
26 bool newgame = true;
28 mutable bool stopped = false;
29 };
31 void loop(void);
32 uint32_t get_time_ms(void);
33 void communicate(const uci::Settings *settings);
35 } // namespace uci
36 #endif