forked from gekkehenker/fire
-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.cpp
36 lines (27 loc) · 1.1 KB
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
Fire is a freeware UCI chess playing engine authored by Norman Schmidt.
Fire utilizes many state-of-the-art chess programming ideas and techniques
which have been documented in detail at https://www.chessprogramming.org/
and demonstrated via the very strong open-source chess engine Stockfish...
https://github.com/official-stockfish/Stockfish.
Fire is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or any later version.
You should have received a copy of the GNU General Public License with
this program: copying.txt. If not, see <http://www.gnu.org/licenses/>.
*/
#include <iostream>
#include "util/util.h"
#include "uci.h"
int main(const int argc, char* argv[])
{
// display engine name, version, platform, and bmis
acout() << util::engine_info();
// display logical cores
acout() << util::core_info();
// initialize using default hash (64 MB)
init(default_hash);
// enter infinite loop and parse for input
uci_loop(argc, argv);
return 0;
}