depth: 双方子力相差3时才从11层开始下降

原因是刚开始走棋时差对手3颗子还有翻盘的可能.
此修改对自对弈结果无影响.
This commit is contained in:
CalciteM Team 2019-09-17 00:11:25 +08:00
parent a85c707e2a
commit c4ba910072
1 changed files with 3 additions and 3 deletions

View File

@ -80,9 +80,9 @@ depth_t AIAlgorithm::changeDepth(depth_t origDepth)
};
const depth_t movingDiffDepthTable[] = {
0, 0, 11, /* 0 ~ 2 */
10, 9, 8, /* 3 ~ 5 */
7, 6, 5, 4, 3, 2, 1 /* 6 ~ 12 */
0, 0, 0, /* 0 ~ 2 */
11, 10, 9, 8, 7, /* 3 ~ 7 */
6, 5, 4, 3, 2 /* 8 ~ 12 */
};
if ((tempGame.position.phase) & (PHASE_PLACING)) {