nice tactical position

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

jdart
Posts: 4366
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

nice tactical position

Post by jdart »

From a recent online Arasan game:

[d]r1bq1r2/bp3pk1/2pp4/p6p/P1BPPP1N/6Bn/1P4pK/2RQR3 w - - 0 22

White played Nxg2 and won. But on longer analysis, it appears f5! and allowing Black to promote is even better. Stockfish and Houdini are very fast on this. But other engines have difficulty (Fritz 16 for example).

--Jon
Dann Corbit
Posts: 12537
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: nice tactical position

Post by Dann Corbit »

Current dev SF took 37 plies for me:

Code: Select all

Searching: r1bq1r2/bp3pk1/2pp4/p6p/P1BPPP1N/6Bn/1P4pK/2RQR3 w - - 0 1
infinite: 0 time: 0 increment: 0 moves to go: 0

 1   +0.85   00:00    4311  Qxh5 
 2   +2.97   00:00   12661  Qxh5 g1=Q+ Rxg1 
 3   +0.75   00:00   20875  Qxh5 Bxd4 Kxg2 Bxb2 
 4   +0.85   00:00   31043  Qxh5 Bxd4 Kxg2 
 5   +0.95   00:00   39901  Qxh5 Bxd4 f5 Ng5 Kxg2 d5 exd5 cxd5 
 6   +1.59   00:00   50109  Qxh5 Bxd4 Nxg2 Bxb2 
 7   +4.35   00:00   58458  Qxh5 Bxd4 
 8   +2.70   00:00   69431  Qxh5 Bxd4 Kxg2 Qf6 f5 Rh8 Qg4+ Qg5 Kxh3 Qxg4+ Kxg4 
 9   +1.10   00:00   89529  Qxh5 Bxd4 Kxg2 Qf6 f5 Qg5 Qxg5+ Nxg5 Bf4 Nh7 Bxd6 
10   +1.25   00:00  106177  Qxh5 Bxd4 f5 Ng5 Kxg2 d5 exd5 cxd5 Bb3 
11   +0.64   00:00  218602  Qxh5 Bxd4 Kxg2 Qf6 f5 Qg5 Qxg5+ Nxg5 Bxd6 Re8 e5 Bd7 Kg3 
12   +0.73   00:00  267888  Qxh5 Bxd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 »

Leelenstein 12.1 finds it in 1 node!

Code: Select all

go nodes 1
info depth 1 seldepth 1 time 36 nodes 1 score cp 204
info string h4g2  (874 ) N:       0 (+ 0) (P: 12.51%) (Q:  1.00000) (D:  0.000) (U: 0.40330) (Q+U:  1.40330) (V:  -.----)  C:00000000
info string h2g2  (397 ) N:       0 (+ 0) (P: 12.55%) (Q:  1.00000) (D:  0.000) (U: 0.40467) (Q+U:  1.40467) (V:  -.----)  C:00000000
info string f4f5  (830 ) N:       0 (+ 0) (P: 18.57%) (Q:  1.00000) (D:  0.000) (U: 0.59865) (Q+U:  1.59865) (V:  -.----)  C:00000000
bestmove f4f5
T40B.4-160 does not, but does find it with go nodes 10. LS 10.0 also finds it in 1 node. DQ 2.0 didn't find it within 10k nodes. J13B.2-136 did not with 1,10,100 but did with 1000 nodes.
jp
Posts: 1470
Joined: Mon Apr 23, 2018 7:54 am

Re: nice tactical position

Post by jp »

jjoshua2 wrote: Sat Dec 07, 2019 5:33 am T40B.4-160 does not, but does find it with go nodes 10. LS 10.0 also finds it in 1 node. DQ 2.0 didn't find it within 10k nodes. J13B.2-136 did not with 1,10,100 but did with 1000 nodes.
Okay, but what PVs do they come up with? Previously we've seen examples where everyone is excited that it gets the first move "instantly", but overlook that it doesn't get the correct follow-up moves and even after huge calculation can't see the win.
jjoshua2
Posts: 99
Joined: Sat Mar 10, 2018 6:16 am

Re: nice tactical position

Post by jjoshua2 »

Well there is no pv at 1 node, but I can let it get a batch and then think a few seconds here...
111 nodes

Code: Select all

f4f5 g2g1q e1g1 h3g1 d1g1 f8g8 g1e3
LS 12.1 go 1 million nodes finishes at 545176 nodes with this PV

Code: Select all

f4f5 g2g1q e1g1 h3g1 d1h5 a7d4 c1d1 d8f6 d1d4 f8h8 h5g4 g7f8 d4d6 h8h4 g4h4 g1f3 h2h3 c8f5 e4f5 f3h4 d6f6 h4f3 f6f7
I'm not sure how reliable PV is though once it goes more than a few moves. The second half is pretty much random as there are few playouts out there, and thus cpuct is low on those trees so it might not see tactics. But the question is does it play good moves at the root once it gets out there.
User avatar
Eelco de Groot
Posts: 4561
Joined: Sun Mar 12, 2006 2:40 am
Full name:   

Re: nice tactical position

Post by Eelco de Groot »

Nice test for the humans is why Black can not take the Knight with the pawn on move 5, because 6.Qxg6 (or 27. Qxg6) does not seem to work.

[pgn] [Event "?"] [Site "?"] [Date "2019.12.9"] [Time "8:38:56"] [Round "?"] [White "Eelco de Groot"] [Black "Chess Tiger 2007.1 engine - Gambit style"] [Result "*"] [Setup "1"] [FEN "r1bq1r2/bp3pk1/2pp4/p6p/P1BPPP1N/6Bn/1P4pK/2RQR3 w - - 0 22"] {0 22} 22. f5 g1R 23. Rxg1 Nxg1 24. Qxh5 Bxd4 25. Qg4+ Kf6 26. Ng6 fxg6 $2 *[/pgn]


I only have my old AMD Athlon, the first one from around 2005 at the moment, so was testing this with Chess Tiger 2007 :) Old ChessPartner interface. Chess Tiger has some sort of limit that the search explodes after 19 iterations. Imagine what it could do if Christophe dusted it off and polished Tiger up a bit. Deep Tiger.

Imagen
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan