From b65d5136786ed826c7046f596922a3aa549eb8d4 Mon Sep 17 00:00:00 2001 From: Calcitem Date: Sun, 12 Sep 2021 11:59:24 +0800 Subject: [PATCH] depth: Limit black 5th move thinking depth to less than 2 Can fit: Black: Bad move: f6 Good move: c5 / b4 / d3 / d2 / e3 1. d1 d6 2. c4 f4 3. g7 d7 4. d5 g4 5. e4 And also can fit (Commit ff37bc3310ad42ef490ac0213768f46614eda733) Black: Bad move: d5 Good move: f2xd7 1. d6 f4 2. b4 d2 3. b6 f6 4. b2xf6 f6 5. d7 --- src/mills.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mills.cpp b/src/mills.cpp index e3a7acd6..f468acb9 100644 --- a/src/mills.cpp +++ b/src/mills.cpp @@ -471,7 +471,7 @@ Depth get_search_depth(const Position *pos) const Depth placingDepthTable[25] = { +1, 1, +1, 1, /* 0 ~ 3 */ +3, 15, +15, 15, /* 4 ~ 7 */ - +15, 14, +0, 0, /* 8 ~ 11 */ + +15, 2, +0, 0, /* 8 ~ 11 */ +0, 0, +0, 0, /* 12 ~ 15 */ +0, 0, +0, 0, /* 16 ~ 19 */ +0, 0, +0, 0, /* 20 ~ 23 */