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

Analyse go positions #8

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Analyse go positions #8

wants to merge 4 commits into from

Conversation

mathijsclaassen
Copy link
Contributor

Hi Adrian,

I think nowadays, there are better analyse-experiences for go than Jago. I included the 'tenuki' library (https://github.com/aprescott/tenuki), because it's a relative light library and does all I can think of (at the moment :-). I particularity like its scoring option (it automatically counts when you close the borders and mark the dead stones).

Let me know what you think about this.

@apetresc
Copy link
Owner

apetresc commented Sep 27, 2017

Hey @mathijsclaassen :)

I'm trying to test this out, but as soon as I hit "analyze" and it switches over to the Tenuki board, the position disappears. I'm able to edit the blank board, but the existing positions is just gone. I don't see anything showing up in the JS console. I can do some investigation around why play_SGF() isn't firing...

On the other hand, the score estimation function is getting a little bit close to outside assistance. I realize that the score estimation isn't particularly accurate, and also that it's easy to export an SGF and do it with an engine anyway, but I want to stay on Richard's good side. I would hate for BiggerGolem to get a reputation (deserved or not) as assisting cheaters.

I think I will ask Richard soon about his philosophy on this point. I had some questions in this direction for myself anyway – for example, in chess games, the PGN is unavailable for download until the game is complete, even though for other games like Go, Shogi, and Hex you can download the record at any point (and they will even link to interactive analysis boards from LG itself). I have to assume this was just because strong chess engines were so much easier to cheat with than for those other games, but that reasoning doesn't really apply anymore nowadays.

So I will ask Richard what his philosophy is on this type of tool, and see what his response is. In the meantime, I would be happy to merge just the in-line analysis board feature once I can get tenuki to actually load the position :)

@mathijsclaassen
Copy link
Contributor Author

mathijsclaassen commented Sep 27, 2017 via email

@apetresc
Copy link
Owner

Ah, I was trying it in Firefox, where it doesn't work (I will figure out why). I see it does indeed work on Chrome.

Is there any way to go back/forward in Analyze mode? If not, we should override the back/forward buttons to fire JS events to control Tenuki when in Analyze mode.

As for the scoring, I didn't realize it only scored completed games, since I couldn't get it working until just now 😅 In that case, I assume it is okay, though I will still ask Richard about my related concerns.

@mathijsclaassen
Copy link
Contributor Author

mathijsclaassen commented Sep 27, 2017 via email

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

Successfully merging this pull request may close these issues.

2 participants