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 ff37bc3310)

Black:
Bad move: d5
Good move: f2xd7

 1.     d6    f4
 2.     b4    d2
 3.     b6    f6
 4.     b2xf6    f6
 5.     d7
This commit is contained in:
Calcitem 2021-09-12 11:59:24 +08:00
parent bc10254bda
commit b65d513678
No known key found for this signature in database
GPG Key ID: F2F7C29E054CFB80
1 changed files with 1 additions and 1 deletions

View File

@ -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 */