| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
| #include <iostream> |
|
|
| #include "bitboard.h" |
| #include "endgame.h" |
| #include "position.h" |
| #include "psqt.h" |
| #include "search.h" |
| #include "syzygy/tbprobe.h" |
| #include "thread.h" |
| #include "tt.h" |
| #include "uci.h" |
|
|
| using namespace Stockfish; |
|
|
| int main(int argc, char* argv[]) { |
|
|
| std::cout << engine_info() << std::endl; |
|
|
| CommandLine::init(argc, argv); |
| UCI::init(Options); |
| Tune::init(); |
| PSQT::init(); |
| Bitboards::init(); |
| Position::init(); |
| Bitbases::init(); |
| Endgames::init(); |
| Threads.set(size_t(Options["Threads"])); |
| Search::clear(); |
| Eval::NNUE::init(); |
|
|
| UCI::loop(argc, argv); |
|
|
| Threads.set(0); |
| return 0; |
| } |
|
|