Basic endgames

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Henk
Posts: 7216
Joined: Mon May 27, 2013 10:31 am

Basic endgames

Post by Henk »

Pfft. It shouldn't get more complicated. Already took too much time.
Only counts distance from corner and distance between kings.
Maybe hash table needs to be rewritten for it does not take symmetry into account?

O wait I see I introduced a bug. To be provided.


[d] 4k3/8/8/R7/4K3/8/8/8 w - -

Code: Select all

Depth  Value   Time           Nodes
   1  261642   00:00:00            22    e4d3 
   2  261642   00:00:00            70    e4d3  e8d7 
   3  261642   00:00:00           600    e4d3  e8d7  d3c2 
   4  261642   00:00:10          1876    e4d3  e8d7  d3c2  d7c6 
   5  261642   00:00:22          7896    e4d3  e8d7  d3c2  d7c6  c2b1 
   6  261642   00:00:50         22369    e4d3  e8d7  d3c2  d7c6  c2b1  c6b6 
   7  261642   00:01:43         62033    e4d3  e8d7  d3c2  d7c6  c2b1  c6b6  b1a1 
   8  261642   00:05:10        138574    e4d3  e8d7  d3c2  d7c6  c2b1  c6b6  b1a1  b6a5 
   9  261642   00:10:34        323429    e4d3  e8d7  d3c2  d7c6  c2b1  c6b6  b1a1  b6a5 
  10  261642   00:16:04        632175    e4d3  e8d7  d3c2  d7c6  c2b1  c6b6  b1a1  b6a5 
  11  261642   00:15:26       1299875    e4d3  e8d7  d3c2  d7c6  c2b1  c6b6  b1a1  b6a5 
  12  261642   00:12:37       2128347    e4d3  e8d7  d3c2  d7c6  c2b1  c6b6  b1a1  b6a5 
  13  261642   00:27:42       3436668    e4d3  e8d7  d3c2  d7c6  c2b1  c6b6  b1a1  b6a5 
  14      M7   01:19:40       5891050    a5a7  e8d8  e4d5  d8c8  d5d6  c8b8  a7c7  b8a8  d6c5  a8b8  c5b6  b8a8  c7c8 
Analysis stopped
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Basic endgames

Post by xr_a_y »

Well Minic needs depth 23 to see the mate (but takes 40ms for that).
User avatar
flok
Posts: 481
Joined: Tue Jul 03, 2018 10:19 am
Full name: Folkert van Heusden

Re: Basic endgames

Post by flok »

Micah, depth 18, 3548ms for mate score on an i7-8750H @ 2.2GHz

Code: Select all

2 cores: 2325 ms
3 cores: 2094 ms
4 cores: 1604 ms
5 cores: 1638 ms
6 cores: 955ms

Code: Select all

folkert@msi:~/Projects/git/Micah$ ./Micah 
position fen 4k3/8/8/R7/4K3/8/8/8 w - -
go depth 50
# took 0ms
# TB_RESULT_FAILED
info depth 1 score cp 0 nodes 27 time 0 nps 391253 pv a5a8
info depth 2 score cp 0 nodes 100 time 0 nps 839081 pv a5a8 e8d7 a8h8
info depth 3 score cp 0 nodes 322 time 0 nps 1395867 pv a5a8 e8d7 a8h8 d7c6
info depth 4 score cp 0 nodes 1289 time 0 nps 2101809 pv a5a8 e8d7 a8h8 d7c6 e4d3
info depth 5 score cp 0 nodes 3061 time 1 nps 2323651 pv a5a8 e8d7 a8h8 d7c6 e4d3 c6b5
info depth 6 score cp 0 nodes 6395 time 2 nps 2273369 pv a5a8 e8d7 a8h8 d7c6 e4d3 c6b5 d3c2
info depth 7 score cp 0 nodes 12811 time 5 nps 2484447 pv a5a8 e8d7 a8h8 d7c6 e4d3 c6b5 d3c2 b5a4
info depth 8 score cp 0 nodes 21415 time 8 nps 2543329 pv a5a8 e8d7 a8h8 d7c6 e4d3 c6b5 d3c2 b5a4 c2b1
info depth 9 score cp 0 nodes 34234 time 13 nps 2461084 pv a5a8 e8d7 a8h8 d7c6 e4d3 c6b5 d3c2 b5a4 c2b1 a4a3
info depth 10 score cp 0 nodes 54732 time 22 nps 2477201 pv a5a8 e8d7 a8h8 d7c6 e4d3 c6b5 d3c2 b5a4 c2b1 a4a3 b1a1
info depth 11 score cp 0 nodes 89872 time 36 nps 2441362 pv a5a8 e8d7 a8h8 d7c6 e4d3 c6b5 d3c2 b5a4 c2b1 a4a3 b1a1 a3b4
info depth 12 score cp 0 nodes 143662 time 60 nps 2381004 pv a5a8 e8d7 a8h8 d7c6 e4d3 c6b5 d3c2 b5a4 c2b1 a4a3 b1a1 a3b4 h8a8 b4c5
info depth 13 score cp 0 nodes 233902 time 98 nps 2378033 pv a5a8 e8d7 a8h8 d7c6 e4d3 c6b5 d3c2 b5a4 c2b1 a4a3 b1a1 a3b4 h8a8 b4c5 a8h8
info depth 14 score cp 0 nodes 417378 time 176 nps 2368492 pv a5a8 e8d7 a8h8 d7c6 e4d3 c6b5 d3c2 b5a4 c2b1 a4a3 b1a1 a3b4 h8a8 b4c5 a8h8 c5d6
info depth 15 score cp 0 nodes 714090 time 302 nps 2363819 pv a5a8 e8d7 a8h8 d7c6 e4d3 c6b5 d3c2 b5a4 c2b1 a4a3 b1a1 a3b4 h8a8 b4c5 a8h8 c5d6 h8a8 d6e7
info depth 16 score cp 0 nodes 1281045 time 549 nps 2332151 pv a5a8 e8d7 a8h8 d7c6 e4d3 c6b5 d3c2 b5a4 c2b1 a4a3 b1a1 a3b4 h8a8 b4c5 a8h8 c5d6 h8a8 d6e7
info depth 17 score cp 0 nodes 3117427 time 1326 nps 2349866 pv a5a8 e8d7 a8h8 d7c6 e4d3 c6b5 d3c2 b5a4 c2b1 a4a3 b1a1 a3b4 h8a8 b4c5 a8h8 c5d6 h8a8 d6e7 a8h8 e7d6 h8a8 d6e7 a8h8 e7d6 h8a8 d6e7 a8h8 e7d6
info depth 18 score cp 9978 nodes 8182666 time 3548 nps 2305941 pv a5a7 e8f8 e4d5 f8e8 d5e6 e8f8 a7e7 f8g8 e7f7 g8h8 e6f6 h8g8 f6g6 g8h8 f7e7 h8g8 e7e8
fabianVDW
Posts: 146
Joined: Fri Mar 15, 2019 8:46 pm
Location: Germany
Full name: Fabian von der Warth

Re: Basic endgames

Post by fabianVDW »

Latest FabChess finds mate after 113 ms, and locks in on the fastest mate after 311ms. First move was correct from depth 1 though :D

Code: Select all

position fen 4k3/8/8/R7/4K3/8/8/8 w - -
go infinite
info depth 1 seldepth 2 nodes 28 nps 0 time 0 score cp 1024 multipv 1 pv a5a7
info depth 2 seldepth 4 nodes 121 nps 0 time 0 score cp 1064 multipv 1 pv a5a7 e
8f8
info depth 3 seldepth 4 nodes 348 nps 0 time 0 score cp 1020 multipv 1 pv a5a7 e
8f8 e4d5
info depth 4 seldepth 6 nodes 695 nps 695000 time 1 score cp 1092 multipv 1 pv a
5a7 e8d8 e4d5 d8c8
info depth 5 seldepth 8 nodes 2108 nps 1054000 time 2 score cp 1036 multipv 1 pv
 a5a7 e8f8 e4d5 f8g8 d5d6
info depth 6 seldepth 8 nodes 3014 nps 1507000 time 2 score cp 1086 multipv 1 pv
 a5a7 e8f8 e4d5 f8g8 d5d6 g8f8
info depth 7 seldepth 10 nodes 7514 nps 1502800 time 5 score cp 1026 multipv 1 p
v a5a7 e8f8 e4d5 f8e8 d5d6 e8f8 a7a8 f8f7
info depth 8 seldepth 12 nodes 10134 nps 1689000 time 6 score cp 1092 multipv 1
pv a5a7 e8d8 e4d5 d8c8 a7f7 c8d8 f7g7 d8c8
info depth 9 seldepth 13 nodes 15107 nps 1678555 time 9 score cp 1071 multipv 1
pv a5a7 e8d8 e4d5 d8c8 a7e7 c8d8 d5d6 d8c8 e7c7 c8d8
info depth 10 seldepth 14 nodes 20495 nps 1707916 time 12 score cp 1089 multipv
1 pv a5a7 e8d8 e4f4 d8c8 f4e5 c8b8 a7f7 b8c8 e5e6 c8d8
info depth 11 seldepth 15 nodes 32183 nps 1693842 time 19 score cp 1071 multipv
1 pv a5a7 e8d8 e4d5 d8c8 a7e7 c8d8 d5d6 d8c8 e7c7 c8d8 c7g7 d8c8 g7c7
info depth 12 seldepth 16 nodes 41566 nps 1731916 time 24 score cp 1091 multipv
1 pv a5a7 e8d8 e4d5 d8c8 a7e7 c8d8 d5d6 d8c8 e7c7 c8d8 c7c1 d8e8 c1c7 e8d8
info depth 13 seldepth 18 nodes 60034 nps 1765705 time 34 score cp 1074 multipv
1 pv a5a7 e8d8 e4d5 d8c8 a7e7 c8d8 d5d6 d8c8 e7c7 c8d8 c7a7 d8c8 a7f7 c8d8 f7b7

info depth 14 seldepth 20 nodes 85362 nps 1742081 time 49 score cp 1074 multipv
1 pv a5a7 e8d8 e4d5 d8c8 a7e7 c8d8 d5d6 d8c8 e7c7 c8d8 c7d7 d8c8 d7a7 c8b8 a7f7
b8c8 f7c7
info depth 15 seldepth 20 nodes 109416 nps 1764774 time 62 score cp 1074 multipv
 1 pv a5a7 e8d8 e4d5 d8c8 a7e7 c8d8 d5d6 d8c8 e7c7 c8d8 c7a7 d8c8 a7f7 c8b8 d6e6
 b8c8 f7a7
info depth 16 seldepth 23 nodes 155427 nps 1726966 time 90 score cp 1100 multipv
 1 pv a5a7 e8d8 e4d5 d8e8 d5d6 e8f8 d6e6 f8g8 a7f7 g8h8 f7d7 h8g8 e6d6 g8h8 d7b7
 h8g8
info depth 17 seldepth 26 nodes 191827 nps 1697584 time 113 score cp 14985 multi
pv 1 pv a5a7 e8d8 e4d5 d8e8 d5d6 e8f8 d6e6 f8g8 a7f7 g8h8 e6f5 h8g8 f5g6 g8h8 f7
f8
info depth 18 seldepth 26 nodes 207659 nps 1674669 time 124 score cp 14983 multi
pv 1 pv a5a7 e8d8 e4d5 d8c8 d5d6 c8b8 a7f7 b8c8 d6e6 c8d8 f7h7 d8c8 h7e7 c8d8 e6
d6 d8c8 d6e5 c8b8 e5d6
info depth 19 seldepth 26 nodes 222590 nps 1673609 time 133 score cp 1100 multip
v 1 pv a5a7 e8d8 e4d5 d8c8 d5d6 c8b8 a7f7 b8c8 d6e6 c8d8 f7h7 d8c8 h7e7 c8d8 e7d
7 d8e8 e6d6 e8f8 d7b7 f8g8 b7d7
info depth 20 seldepth 32 nodes 276013 nps 1672806 time 165 score cp 14985 multi
pv 1 pv a5a7 e8d8 e4d5 d8e8 d5d6 e8f8 d6e6 f8g8 a7f7 g8h8 e6f5 h8g8 f5g6 g8h8 f7
f8
info depth 21 seldepth 32 nodes 298605 nps 1668184 time 179 score cp 14985 multi
pv 1 pv a5a7 e8d8 e4d5 d8e8 d5d6 e8f8 d6e6 f8g8 a7f7 g8h8 e6f5 h8g8 f5g6 g8h8 f7
f8
info depth 22 seldepth 32 nodes 328368 nps 1675346 time 196 score cp 14985 multi
pv 1 pv a5a7 e8d8 e4d5 d8e8 d5d6 e8f8 d6e6 f8g8 a7f7 g8h8 e6f5 h8g8 f5g6 g8h8 f7
f8
info depth 23 seldepth 32 nodes 370235 nps 1667725 time 222 score cp 14985 multi
pv 1 pv a5a7 e8d8 e4d5 d8e8 d5d6 e8f8 d6e6 f8g8 a7f7 g8h8 e6f5 h8g8 f5g6 g8h8 f7
f8
info depth 24 seldepth 32 nodes 418173 nps 1686181 time 248 score cp 14985 multi
pv 1 pv a5a7 e8d8 e4d5 d8e8 d5d6 e8f8 d6e6 f8g8 a7f7 g8h8 e6f5 h8g8 f5g6 g8h8 f7
f8
info depth 25 seldepth 32 nodes 486464 nps 1712901 time 284 score cp 14985 multi
pv 1 pv a5a7 e8d8 e4d5 d8e8 d5d6 e8f8 d6e6 f8g8 a7f7 g8h8 e6f5 h8g8 f5g6 g8h8 f7
f8
info depth 26 seldepth 32 nodes 544311 nps 1750196 time 311 score cp 14987 multi
pv 1 pv a5a7 e8d8 e4d5 d8e8 d5d6 e8f8 d6e6 f8g8 e6f6 g8h8 f6g6 h8g8 a7a8
info depth 27 seldepth 32 nodes 617790 nps 1801137 time 343 score cp 14987 multi
pv 1 pv a5a7 e8d8 e4d5 d8e8 d5d6 e8f8 d6e6 f8g8 e6f6 g8h8 f6g6 h8g8 a7a8
Author of FabChess: https://github.com/fabianvdW/FabChess
A UCI compliant chess engine written in Rust.
FabChessWiki: https://github.com/fabianvdW/FabChess/wiki
fabianvonderwarth@gmail.com
Henk
Posts: 7216
Joined: Mon May 27, 2013 10:31 am

Re: Basic endgames

Post by Henk »

Shows results with LMR and null move pruning enabled. Also removed a bug but now it can't find checkmate.
Maybe better disable null move pruning. I already did but then also can't find a finish on time.
[QSearch does not count nodes. I thought it would save resources?? Maybe I better repair that first]

Code: Select all

Depth  Value   Time           Nodes
   1     582   00:00:27            22    e4e5 
   2     581   00:00:29            82    e4e5  e8d8 
   3     583   00:00:30           223    e4e5  e8d7  e5d5 
   4     582   00:00:32           506    e4e5  e8d8  a5c5  d8d7 
   5     583   00:00:33          1131    e4e5  e8d7  e5d5  d7e7  d5e5 
   6     582   00:00:40          2544    e4e5  e8d8  a5d5  d8c7  e5e6  c7b8 
   7     583   00:00:44          5082    e4e5  e8d7  e5d5  d7e7  a5a1  e7d7  a1b1 
   8     583   00:01:21         11349    e4e5  e8d8  a5d5  d8c7  e5e6  c7b6  e6d6  b6a6 
   9     583   00:01:35         20526    e4e5  e8d7  e5d5  d7e7  a5a1  e7d7  a1b1  d7e7  d5e5 
  10     583   00:03:12         39238    e4e5  e8d8  a5d5  d8c7  e5e6  c7c8  e6d6  c8d8  d5e5  d8c8 
  11     583   00:04:22         69809    e4e5  e8d7  e5d5  d7e7  a5a1  e7d7  a1b1  d7e7  b1e1  e7d7  e1a1 
  12     583   00:08:25        135650    e4e5  e8d8  a5d5  d8e7  d5d1  e7f7  d1d8  f7g6  d8d6  g6h5  e5f4  h5h4 
  13     583   00:11:21        234061    e4e5  e8d7  e5d5  d7e7  a5a1  e7d7  a1b1  d7e7  b1e1  e7d7  e1c1  d7e7  d5e5 
  14     583   00:08:17        426448    e4e5  e8d8  a5d5  d8e7  d5d1  e7f7  d1d8  f7g6  d8d6  g6g5  d6d4  g5g6  d4h4  g6g5 
  15     583   00:17:39        754453    e4e5  e8d7  e5d5  d7e7  a5a1  e7d7  a1b1  d7e7  b1e1  e7d7  e1c1  d7e7  c1c7  e7d8  d5d6 
  16     583   00:17:18       1390139    e4e5  e8d8  a5d5  d8e7  d5d1  e7f7  d1e1  f7e8  e5d6  e8f7  e1a1  f7g6  a1a5  g6h6  d6e6  h6h7 
  17     583   00:18:34       2412270    e4e5  e8d7  e5d5  d7e7  a5a1  e7d7  a1b1  d7e7  b1e1  e7d7  e1c1  d7e7  c1c7  e7d8  d5d6  d8e8  d6e6 
  18     583   00:22:21       4069954    e4e5  e8d8  a5d5  d8e7  d5d1  e7f7  d1e1  f7e8  e5d6  e8f7  e1a1  f7f6  a1a5  f6g6  d6e6  g6g7  a5a1  g7h6 
  19     583   00:37:51       7308643    e4e5  e8d7  e5d5  d7e7  a5a1  e7d7  a1b1  d7e7  b1e1  e7d7  e1c1  d7e7  c1c7  e7d8  d5d6  d8e8  c7e7  e8d8  e7e1 
  20     586   02:30:37      10417582    a5a7  e8d8  e4d5  d8c8  d5d6  c8b8  a7a5  b8b7  a5b5  b7a7  d6c6  a7a6  b5c5  a6a7  c5c1  a7a8  c6b6  a8b8  b6a6  b8a8 
Analysis stopped
User avatar
hgm
Posts: 27787
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Basic endgames

Post by hgm »

This is pretty basic. Fairy-Max needs 12 ply (0.23 sec). It only has King centralization in its evaluation (although weighted more for the bare King).

Code: Select all

 13	    #7 	916826	0:00.42	a5a7 e8f8 e4e5 f8e8 e5d6 e8f8 d6e6 f8g8 e6f6 g8h8 f6g6 h8g8 a7a8
 12	    #7 	534095	0:00.23	a5a7 e8f8 e4e5 f8e8 e5d6 e8f8 d6e6
 11	+4.48 	210921	0:00.09	a5a7 e8f8 e4e5 f8e8 e5e6 e8f8 a7e7 f8g8 e7f7 g8h8 e6e5
 10	+4.46 	111898	0:00.04	a5a7 e8f8 e4e5 f8e8 e5e6 e8f8 a7e7 f8g8 e7f7 g8h8
  9	+4.44 	63690  	0:00.03	a5a7 e8f8 e4e5 f8e8 e5e6 e8f8 a7e7 f8g8 e6e5
  8	+4.44 	27917  	0:00.01	a5a7 e8f8 e4e5 f8e8 a7b7 e8f8 b7c7 f8e8
  7	+4.44 	13960  	0:00.01	a5a7 e8f8 e4e5 f8e8 a7b7 e8f8 b7c7
  6	+4.44 	4462    	0:00.00	a5a7 e8f8 e4e5 f8e8 a7b7 e8f8
  5	+4.44 	2085    	0:00.00	a5a7 e8f8 e4e5 f8e8 a7b7
  4	+4.44 	583      	0:00.00	a5a7 e8f8 e4e5 f8e8
  3	+4.44 	218      	0:00.00	a5a7 e8f8 e4e5
  2	+4.44 	195      	0:00.00	a5a7 e8f8
  2	+4.39 	114      	0:00.00	a5e5 e8d7
  2	+4.38 	17        	0:00.00	e4e5 e8e7
  1	+4.44 	9          	0:00.00	e4e5
One assumes this is through hash grafting, as mate-in-7 is 13 ply away. The short PV at 12 ply sort of confirms that.
Joost Buijs
Posts: 1563
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: Basic endgames

Post by Joost Buijs »

This is not difficult at all. Nightmare on 10 cores needs 12 ply and 11.4 msec to solve this. The IO probably takes the largest part of the time, console IO is rather slow on Windows 10.
D Sceviour
Posts: 570
Joined: Mon Jul 20, 2015 5:06 pm

Re: Basic endgames

Post by D Sceviour »

[d]4k3/8/8/R7/4K3/8/8/8 w - - 0 1

Schooner v2.1 needs 107674 nodes to verify the minimum mate depth, but the winning move is found instantly.

Code: Select all

16	+327.54	107674	0:00.03	a5a7 e8d8 e4e5 d8c8 e5d6 c8b8 a7c7 b8a8 d6c6 a8b8 c6b6 b8a8 c7c8#
15	+327.52	76800	0:00.02	a5a7 e8d8 e4e5 d8c8 e5d6 c8b8 a7c7 b8a8 d6c6 a8b8 c7g7 b8a8 c6b6 a8b8 g7g8#
14	+327.52	57594	0:00.01	a5a7 e8d8 e4e5 d8c8 e5d6 c8b8 a7c7 b8a8 d6c6 a8b8 c7g7 b8a8 c6b6 a8b8#
13	+6.59	37088	0:00.01	a5a7 e8d8 e4e3 d8e8 e3d4 e8d8 d4e5 d8c8 e5d6 c8b8 a7g7 b8c8 g7f7 c8b8
12	+6.50	22171	0:00.00	a5a7 e8f8 e4e5 f8e8 e5f6 e8d8 f6e6 d8c8 e6d6 c8b8 a7g7 b8c8
11	+6.42	15499	0:00.00	a5a7 e8f8 e4e3 f8g8 e3d4 g8f8 d4e4 f8e8 a7c7 e8f8 c7b7
10	+6.46	10049	0:00.00	a5a7 e8f8 e4e3 f8g8 e3d4 g8f8 a7c7 f8g8 c7b7 g8f8
  9	+6.42	5630	0:00.00	a5a7 e8f8 e4e3 f8g8 e3d4 g8f8 a7c7 f8g8 c7b7
  8	+6.42	3877	0:00.00	a5a7 e8f8 e4e3 f8e8 e3d3 e8d8 d3d4 d8c8
  7	+6.35	2569	0:00.00	a5a7 e8f8 e4f5 f8e8 a7c7 e8f8 c7c8
  6	+6.49	1185	0:00.00	a5a7 e8f8 e4f5 f8e8 a7b7 e8f8
  5	+6.41	705	0:00.00	a5a7 e8d8 a7h7 d8c8 h7h8
  4	+6.52	495	0:00.00	a5a7 e8d8 a7g7 d8c8
  3	+6.24	375	0:00.00	a5a7 e8f8 a7a8
  2	+6.39	144	0:00.00	a5a7 e8f8
  1	+6.40	26	0:00.00	a5a7
Last edited by D Sceviour on Tue Sep 17, 2019 3:08 pm, edited 1 time in total.
Joost Buijs
Posts: 1563
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: Basic endgames

Post by Joost Buijs »

Henk,

Just tried what happens when I disable the hash-table and all other pruning, just plain a-b with 2 killers and history for move-ordering, and in quiescence at depth zero besides captures I generate direct checking moves, nothing else. On a single core with these conditions it takes about 3 minutes to solve the mate. Let's assume that C# is somewhat slower (because it is managed), but with the conditions above you should still be able to solve the mate in (let's say) 5 minutes.

Code: Select all

info depth 1 score cp 729 time 0 nodes 29 nps 29 tbhits 0 pv a5a8 e8f7
info depth 2 score cp 732 time 0 nodes 280 nps 280 tbhits 0 pv e4d3 e8f7 a5f5 f7e6
info depth 3 score cp 741 time 1 nodes 1167 nps 1167000 tbhits 0 pv a5a8 e8d7 e4d3 d7d6
info depth 4 score cp 741 time 2 nodes 5764 nps 2882000 tbhits 0 pv e4d3 e8f7 a5a8 f7e6 a8a6 e6d7
info depth 5 score cp 741 time 6 nodes 24259 nps 4043166 tbhits 0 pv e4d3 e8f7 a5a7 f7e6 a7a8 e6f7 a8a7
info depth 6 score cp 745 time 26 nodes 115162 nps 4429307 tbhits 0 pv a5a7 e8d8 e4d3 d8e8 a7c7 e8d8
info depth 7 score cp 741 time 109 nodes 520212 nps 4772587 tbhits 0 pv a5a7 e8d8 e4d3 d8c8 a7a8 c8c7 a8h8 c7c6
info depth 8 score cp 746 time 565 nodes 2724719 nps 4822511 tbhits 0 pv a5a7 e8d8 e4d3 d8e8 d3c2 e8d8 a7f7 d8e8
info depth 9 score cp 742 time 2880 nodes 14061416 nps 4882436 tbhits 0 pv e4e5 e8f8 e5f6 f8g8 a5a7 g8h8 a7a8 h8h7 f6f5 h7g7
info depth 10 score cp 753 time 13791 nodes 66231029 nps 4802481 tbhits 0 pv a5a7 e8f8 e4e5 f8e8 e5d6 e8f8 d6e6 f8g8 a7f7
info depth 11 score cp 765 time 60294 nodes 286502312 nps 4751754 tbhits 0 pv a5a7 e8f8 e4e5 f8g8 e5f6 g8h8 f6g6
info depth 12 score mate 7 time 172856 nodes 877282985 nps 5075224 tbhits 0 pv a5a7 e8f8 e4d5 f8g8 d5d6 g8h8 d6e6 h8g8 e6f6 g8f8 a7a8
info depth 13 score mate 7 time 394027 nodes 2081060000 nps 5281516 tbhits 0 pv a5a7 e8f8 e4d5 f8g8 d5d6 g8h8 d6e6 h8g8 e6f6 g8h8 f6g6 h8g8 a7a8
info depth 14 score mate 7 time 645099 nodes 3420748846 nps 5302672 tbhits 0 pv a5a7 e8f8 e4d5 f8g8 d5d6 g8h8 d6e6 h8g8 e6f6 g8h8 f6g6 h8g8 a7a8
Henk
Posts: 7216
Joined: Mon May 27, 2013 10:31 am

Re: Basic endgames

Post by Henk »

A more difficult one.
Whites king did not move.
Bugs, bugs, bugs.

[d] 1Q6/8/K7/8/8/8/3pk3/8 w -

Code: Select all

Depth  Value   Time           Nodes
   1     908            1             26    b8b2 
   2     908            1            104    b8b2  e2d1 
   3     908            2            408    b8b2  e2d1  b2a1 
   4     908            7           1104    b8b2  e2d1  b2a1  d1c2 
   5     908           20           5311    b8b2  e2d1  b2a1  d1c2  a1a2 
   6     908           51          15048    b8b2  e2d1  b2a1  d1c2  a1a2  c2c1 
   7     908          114          36762    b8b2  e2d1  b2a1  d1c2  a1a2  c2c1  a2a1 
   8     908          244          78885    b8b2  e2d1  b2a1  d1c2  a1a2  c2c1  a2a3  c1b1 
   9     908          594         203198    b8b2  e2d1  b2a1  d1c2  a1a2  c2c1  a2a3  c1b1  a3b3 
  10     908         1260         433940    b8b2  e2d1  b2a1  d1c2  a1a2  c2c1  a2a3  c1b1  a3b3  b1a1 
  11     908         2779         956879    b8b2  e2d1  b2a1  d1c2  a1a2  c2c1  a2a3  c1b1  a3b3  b1a1  b3c2 
  12     908         5709        1953516    b8b2  e2d1  b2a1  d1c2  a1a2  c2c1  a2a3  c1b1  a3b3  b1c1  b3c3  c1d1 
  13     908        12400        4209141    b8b2  e2d1  b2a1  d1c2  a1a2  c2c1  a2a3  c1b1  a3b3  b1c1  b3c3  c1d1  c3b2 
  14     908        25065        8512702    b8b2  e2d1  b2a1  d1c2  a1a2  c2c1  a2a3  c1b1  a3b3  b1c1  b3c3  c1d1  c3b2  d1e1 
  15     908        52350       17663146    b8b2  e2d1  b2a1  d1c2  a1a2  c2c1  a2a3  c1b1  a3b3  b1c1  b3c3  c1d1  c3b2  d1e1  b2c3 
  16     908       146226       42176824    b8b2  e2e1  b2c3  e1d1  c3a1  d1c2  a1a2  c2c1  a2a3  c1b1  a3b3  b1c1  b3e3  c1d1  e3g1  d1c2 
  17     908       255977       78640911    b8b2  e2e1  b2c3  e1e2  c3c2  e2e1  c2e4  e1d1  e4b1  d1e2  b1a2  e2d1  a2a1  d1c2  a1a4  c2b1  a4b3 
Analysis stopped