From 8a07970f7d5e6f193af300c43a745d2281023d22 Mon Sep 17 00:00:00 2001 From: CalciteM Team Date: Thu, 27 Jun 2019 02:46:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B9=8B=E5=89=8D=E4=B8=8D?= =?UTF-8?q?=E6=85=8E=E8=AF=AF=E4=BF=AE=E6=94=B9=E7=9A=84=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E5=B0=91=E4=BA=8E2=E5=AD=97=E5=8D=B3=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=9A=84=E5=88=A4=E6=96=AD=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NineChess/src/ninechessai_ab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NineChess/src/ninechessai_ab.cpp b/NineChess/src/ninechessai_ab.cpp index 8a6861cd..80be5f49 100644 --- a/NineChess/src/ninechessai_ab.cpp +++ b/NineChess/src/ninechessai_ab.cpp @@ -314,7 +314,7 @@ int NineChessAi_ab::evaluate(Node *node) // 剩余棋子个数判断 if (chessContext->nPiecesOnBoard_1 < chessTemp.currentRule.nPiecesAtLeast) - value -= -10000; + value -= 10000; else if (chessContext->nPiecesOnBoard_2 < chessTemp.currentRule.nPiecesAtLeast) value += 10000; break;