UCI searchmoves sub-command
Opened this issue · 2 comments
Hello Thomas,
Beside of playing, I think one of great usage with chess engine(UCI protocol) is analysis capability. From a standard info line, we could use score and PV information to estimate roughly what would have been (possible CP, possible PV moves) with best available moves. And searchmoves sub-command will help us estimate roughly what would have been with our move. For example, here is one of my self reviewing my match using Stockfish:
1.e4: Best Move
pvCurrent(0.26): e4 e5 Nf3 Nc6 d4 exd4 Nxd4 Nf6 Nxc6 bxc6 Bd3 d5 e5 Nd7 O-O Nc5 f4 Nxd3 Qxd3 Be7 Qc3
pvAI(0.34): e4 e5 Nf3 Nc6 Bb5 Nge7
1...c5: NA
pvCurrent(0.27): c5
pvAI(0.28): e5 Nf3 Nc6 Bc4 Nf6 Ng5 d5 exd5 Na5 Bb5+ Bd7 Bxd7+ Qxd7 O-O Qxd5 Nc3
2.f4: Excellent
pvCurrent(-0.13): f4 e6 Nf3 d5 Bb5+ Bd7 Bxd7+ Qxd7 Ne5 Qd6 Nc3 Nc6
pvAI(0.3): Nf3 Nc6 d4 cxd4 Nxd4 g6 Nc3 Bg7 Be3 Nf6 Nxc6 bxc6 e5 Ng8 f4 d5 Qf3 Nh6 h3 f6 O-O-O
2...d6: Excellent
pvCurrent(0.05): d6 Nf3 Nc6 Nc3 g6 d4 cxd4 Nxd4 Bg7 Be3 Nf6 Qd2 O-O Be2 Nxd4 Bxd4 e5 fxe5 dxe5 Bxe5 Qxd2+ Kxd2
pvAI(-0.07): e6 d3 Nc6 Nf3 Nge7 Be2 g6 Be3 b6 O-O
3.Nf3: Excellent
pvCurrent(0.03): Nf3 Nc6 Nc3 g6 d4 cxd4 Nxd4 Bg7 Be3 Nf6 Be2 O-O a4 Re8 O-O e5 fxe5 Rxe5
pvAI(0.13): d4 Nf6 Nc3 cxd4 Qxd4 Nc6 Bb5 g6 e5 dxe5 Qxd8+ Kxd8 Bxc6 bxc6 fxe5 Nd5 Nxd5 cxd5 Be3 Bg7 Nf3 Ke8 O-O-O
3...Nc6: Best Move
pvCurrent(0.09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Kf4 Re4#
There is many engines (like Wasp, Rebel, etc) which support UCI protocol without such nice feature. Of course I know that main focus of authors is not for analyzing but playing strength/style. However it is still a really missing point.
Wish that searchmoves sub-command will be implemented in Leorik.
Regards,
Cong
Hi Cong and thanks for filing this issue. :)
The analysis you showed looks really useful but I'm not sure how you made Stockfish analyse your entire game for you! Can you explain the process?
Was there another tool involved that then talked to Stockfish via the uci interface and used this external "brain" for the game analysis?
I absolutely willing to make Leorik fit to be used for game analysis and add the missing features. Since I already support pv and cp in the info line do I understand you correctly that it is really just the 'searchmoves" subcommand that is missing? I'm sure I could add that in the next release!
I have just commited a patch that adds support for the searchmoves subcommand. If you can build from source let me know if it works as expected!