stellar

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

uci.hpp (644B)


1 #ifndef STELLAR_UCI_H 2 #define STELLAR_UCI_H 3 4 #include "board.hpp" 5 #include "move.hpp" 6 #include "movelist.hpp" 7 #include "score.hpp" 8 #include "utils.hpp" 9 10 namespace uci { 11 12 struct Settings { 13 mutable Board board; 14 15 MoveList searchMoves; 16 MoveList madeMoves; 17 18 uint64_t starttime; 19 uint64_t stoptime; 20 uint16_t depth = 0; 21 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; 28 29 mutable bool stopped = false; 30 }; 31 32 void loop(void); 33 uint32_t get_time_ms(void); 34 void communicate(const uci::Settings *settings); 35 36 } // namespace uci 37 #endif