每一着的停顿时间由100ms改为500ms
This commit is contained in:
parent
2dfc52bf71
commit
e52021d80b
|
@ -126,12 +126,12 @@ void AiThread::run()
|
|||
if (ai_ab.alphaBetaPruning(aiDepth) == 3) {
|
||||
qDebug() << "Draw\n";
|
||||
strCommand = "draw";
|
||||
QTimer::singleShot(100, this, &AiThread::emitCommand);
|
||||
QTimer::singleShot(500, this, &AiThread::emitCommand);
|
||||
} else {
|
||||
strCommand = ai_ab.bestMove();
|
||||
qDebug() << "Computer:" << strCommand << "\n";
|
||||
if (strcmp(strCommand, "error!"))
|
||||
QTimer::singleShot(100, this, &AiThread::emitCommand);
|
||||
QTimer::singleShot(500, this, &AiThread::emitCommand);
|
||||
}
|
||||
|
||||
#ifdef DEBUG_MODE
|
||||
|
|
Loading…
Reference in New Issue