|
@@ -20,7 +20,7 @@ class TimeManager
|
|
protected:
|
|
protected:
|
|
using Millisecs = std::chrono::milliseconds;
|
|
using Millisecs = std::chrono::milliseconds;
|
|
chessy::ChessGame& game;
|
|
chessy::ChessGame& game;
|
|
- chessy::MiniMax minimax;
|
|
|
|
|
|
+ //chessy::MiniMax minimax;
|
|
|
|
|
|
bool running;
|
|
bool running;
|
|
std::thread searchThread;
|
|
std::thread searchThread;
|
|
@@ -29,7 +29,7 @@ protected:
|
|
|
|
|
|
public:
|
|
public:
|
|
inline TimeManager(chessy::ChessGame& game, UciParser& uci) :
|
|
inline TimeManager(chessy::ChessGame& game, UciParser& uci) :
|
|
- game{ game }, minimax{ game }, uci{ uci } {}
|
|
|
|
|
|
+ game{ game }, uci{ uci } {}
|
|
|
|
|
|
void startInfiniteSearch(void);
|
|
void startInfiniteSearch(void);
|
|
|
|
|