Files
Eleanor/source/main.cpp
T
2024-10-15 01:26:44 +02:00

22 lines
356 B
C++

#include "board.h"
#include "movegen.h"
#include "uci.h"
#include "tt.h"
#include "benchmark.h"
int main(int argc, char* argv[]) {
initLeaperAttacks();
initSliderAttacks();
InitZobrist();
Board board;
if (std::string(argv[1]) == "bench") {
RunBenchmark();
} else {
UCILoop(board);
}
return 0;
}