-
Notifications
You must be signed in to change notification settings - Fork 233
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
Feature Request: Allow freely editing the board to set up positions #190
Comments
Just load a sgf |
I've heard s similar request for the purpose of being able to compare how an exchange would affect analysis, on the basis of history-free analyses. It's a pretty big feature though, and unlikely to happen soon without outside contributions. |
Somewhat helped by 'insert mode' in 1.7 |
I have just implemented a stopgap, quick and dirty "solution". User can select black or white stones to be inserted and appropriate "pass" moves are inserted into the game tree so that the whole structure remains consistent. The "editor" supports only to put stones (no stone removal, color change, etc.), however it is working for the most common use case - simple setup of a position. Drawback is that the game tree is full with "pass" moves. See Merge request and my katrain fork katrainse (clone stopgap-editor branch to test it). |
Hey @ljubo106 thanks for your pr. A proper editor would be great. I think an editor would need: on the engine side
in the ui
If you can find the time to work on the latter let me know. Complex UI changes such as this are hard though, and I understand if you don't have the time. |
At least for me, it is significantly accelerating entering a position, but, of course, it is not a full editor. Concerning screen space - well, this is a bit tradeoff between usability and screen real estate, and it is also a question of taste and personal preferences.
Getting familiar with the whole code base and properly implementing a real editor is quite "heavy lifting" and would require quite a lot of time as you are suggesting too. I understand if you don't want to merge this change as it is not "the real thing" - I will keep the fork as it is, solving the problem for me and depending on time will maybe dig a bit further. Merging that few lines of code will be easy also for future releases - so, I'm good. Edit: Removing my comment about building deliverables - with "pyinstaller spec/katrain.spec" I was able to build running katrain.exe and other deliverables. Edit2: I have closed the pull request. If somebody wants to try the discussed stopgap solution, the download is available here: katrainse @sanderland , thanks for the great work you are doing - katrain is really a very useful tool |
I came across this issue while looking for the documentation on how to create/edit a position in katrain. I, too, would welcome the ability to edit a position within katrain, rather than having to use a separate tool (like Sabaki) to create and save an SGF, then open it in katrain. Just saying. :-) I tried the workaround of using 'i' (insert) in combination with 'p' (pass) to keep inserting stones of the same color, but found the workaround to be quite limited. For example, I don't know how to remove an existing stone from a position when you have already inserted ten additional stones. The only solution I am aware of is going back eleven steps, and re-insert the stones again at the right location. This works only for situations where there aren't that many stones on the board, and becomes increasingly cumbersome the more stones you have to place. Thanks for creating katrain, it's a wonderful tool! |
When in this edit mode ,I would recommend use mouse Left to add Black stone and mouse Right to add the White Stone , |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
Would still be a useful feature. |
Editing a board is a useful feature. I'd like to analyze tsumego and tesuji problems. "Set region of interest" is useful for the task. But to edit the problem is difficult. |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
Still looking forward to such a feature. |
As far as I can tell the only way to reach a specific board state is to input moves by both players one after another as if playing a real game. This is inefficient in terms of my time when I don't care how the game reached this state and only want to look at a specific position.
What I would like to do is freely edit the board as I please. This would also help when I am in a specific position and want to see analysis of a slightly different board state where I would like to a change a stone has been played a long time ago.
The text was updated successfully, but these errors were encountered: