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