Files
Eleanor/source/main.cpp
T

24 lines
396 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 (argc > 1) {
if (std::string(argv[1]) == "bench") {
RunBenchmark();
}
} else {
UCILoop(board);
}
return 0;
}