输出最佳着法时带上 bestmove 前缀
This commit is contained in:
parent
bd93195566
commit
1cc5b07702
|
@ -188,7 +188,9 @@ void Thread::emitCommand()
|
||||||
#ifdef QT_UI
|
#ifdef QT_UI
|
||||||
emit command(strCommand);
|
emit command(strCommand);
|
||||||
#else
|
#else
|
||||||
loggerDebug("%s\n", strCommand.c_str());
|
sync_cout << "bestmove " << strCommand.c_str();
|
||||||
|
std::cout << sync_endl;
|
||||||
|
|
||||||
rootPos->command(strCommand.c_str());
|
rootPos->command(strCommand.c_str());
|
||||||
us = rootPos->side_to_move();
|
us = rootPos->side_to_move();
|
||||||
#ifdef ANALYZE_POSITION
|
#ifdef ANALYZE_POSITION
|
||||||
|
|
Loading…
Reference in New Issue