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

能否加入“死活题棋谱”功能? #111

Closed
Jhering opened this issue Nov 29, 2023 · 3 comments
Closed

能否加入“死活题棋谱”功能? #111

Jhering opened this issue Nov 29, 2023 · 3 comments

Comments

@Jhering
Copy link

Jhering commented Nov 29, 2023

就是在现有的load sgf界面、读sgf棋谱的基础上,
在载入死活题sgf文件时,能自动将ai的走棋局限于一角——就是死活题那一角,
而不是死活题只在一角、ai却在19路棋盘上别的地方下。
将ai的走棋局限于一角,
这样可以利用ai,很好地帮助初学者解决、学习死活题的解法。

@aki65
Copy link
Owner

aki65 commented Nov 29, 2023

As your last issue was in english, I'll answer in that language, since it is much easier for me than chinese.

You can limit AI analysis to a rectangle by tapping on the button with the dashed rectangle in the top row. A dialog will pop up, tick "Restrict analysis ...", then enter something like 20 in "Number of moves ..." to restrict the whole analysis sequence, then tap "ok" and define the rectangle on the board by dragging from one corner of the intended rectangle to the diagonally opposite corner.

If you have a life and death position, you can draw the rectangle around the position and usually solve it that way (unless ko is involved, because that area doesn't offer any ko threats). There is some more discussion on this in issue #6.

@Jhering
Copy link
Author

Jhering commented Dec 1, 2023

All set.

Thank you for your patience.

"Restrict analysis ...", then enter something like 20 in "Number of moves ..."

What does setting above means?
I enter '1', and don't find any diffrence with entering '20'.

@aki65
Copy link
Owner

aki65 commented Dec 1, 2023

1 forces the AI to play the next move inside the region, but all subsequent moves may be played where it wants.
20 forces it to play the next 20 moves inside the region.
So the choice makes no difference for the first move (as you observed), but with 20 the AI will only analyze follow-up sequences inside the region (which ist what you want) while with 1 it will analyze sequences all over the board (which is a waste of time for your purposes). Therefore, with 20 it will analyze much deeper in the same amount of time.

@aki65 aki65 closed this as completed Dec 9, 2023
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