Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A GUI interface that supports Katago to pass two moves #980

Open
awsjgy opened this issue Sep 7, 2024 · 1 comment
Open

A GUI interface that supports Katago to pass two moves #980

awsjgy opened this issue Sep 7, 2024 · 1 comment

Comments

@awsjgy
Copy link

awsjgy commented Sep 7, 2024

The Wild Fox has a flying knife rule, which involves making two moves at once. If it's difficult to implement this by modifying the Katago code, I provide three relatively simple methods that can be achieved by only modifying the lizzieyzy code:
1. Add a pass state, which can be used to implement the optimal solution for two moves at a time by setting the pass switch.
2. Add a mode that allows for the selection of different moves on the same board. This is not only beneficial for the Wild Fox flying knife but also for game review. Currently, I am aware of the dual thinking mode, which can only use different engines to think based on one move. There is no mode that can analyze the specific situation after different moves in parallel, including the win rate and other information.
3. I have seen a feature that allows for the analysis of several specific points at the same time using the right mouse button. Can a pass function be added so that after analyzing several specific moves, I can hold the pass, and the engine can continue to analyze the optimal solution for one side to make two moves consecutively?
These three methods are semi-manual replacements for automation, utilizing the principle of parallel thinking.

@HackYardo
Copy link

It is easy to do under the GoTextProtocol standard:

play black a16
genmove white
play black q4
play black k10
genmove white

But there are no GUI supports yet. If you are in urgent need, just do it in a CLI/Shell/Console/Terminal:

# open a terminal, e.g. WindowsTerminal
$ ./katago gtp -config path/to/gtp.cfg -model path/to/model.bin.gz
play b q16
genmove w
play ...
play ...
genmove ...
showboard
...... 

You can also use Sabaki instead, it has a GTP Console already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants