SabakiHQ / LeelaSabaki

Leela (Zero) integration with Sabaki.
MIT License
153 stars 35 forks source link

Feature request: add option not to make moves #16

Open mlopezviedma opened 6 years ago

mlopezviedma commented 6 years ago

Most chess engines have the "analyze" command, meaning the engine gives you all the variations it visits and the corresponding win%s, but it doesn't make a move on the board. That's very conveninent when analyzing games because you don't add nodes that you don't want to the game tree.

It'd be nice to have an option for leelasabaki to behave like that, so the F5 key calls genmove, but leelasabaki doesn't put the final stone on the board.

hadim commented 6 years ago

@yishn do you think such feature would be ok to add?

hadim commented 6 years ago

Is the 'suspend' command supposed to stop automatic moves?

gcp commented 6 years ago

FWIW Leela Zero supports lz-analyze and lz-genmove_analyze which should be the preferred way to handle this kind of interactive analysis.

yishn commented 6 years ago

Hi everyone, I didn't want to spoil anything, but now that even @gcp is chiming in: Now that I've integrated Shudan into Sabaki, I'm actually working on integrating lz-analyze into Sabaki along with an Analyze Mode where engines do not move automatically. So stay tuned!

BTW @gcp: When are the analyze commands going to be in an official release?

gcp commented 6 years ago

I'm working to stabilize v0.16 now so hopefully not too long.