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

Add point conversion to GTP points #103

Open
artasparks opened this issue Sep 27, 2020 · 0 comments
Open

Add point conversion to GTP points #103

artasparks opened this issue Sep 27, 2020 · 0 comments
Assignees
Labels
Difficulty:DDK Double Digit Kyu Level. Describes a problem that is good for newcomers.

Comments

@artasparks
Copy link
Member

We should have some helpers in point.go to convert to GTP points, which are slightly different than normal points or SGF points

Board intersections, in this document called vertices, are encoded by a letter plus a number. On a 19x19 board the letters go from A to T, excluding I, from the left to the right. The numbers go from 1 to 19, from the bottom to the top. Thus the lower left corner is called A1, the lower right corner T1, the upper left corner A19, and the upper right corner T19. Smaller boards use the obvious subset of these coordinates. Larger boards, up to 25x25, are handled by extending the letters with U to Z as needed. Boards larger than 25x25 are not supported by the protocol.

From: http://www.lysator.liu.se/~gunnar/gtp/gtp2-spec-draft2/gtp2-spec.html#SECTION000311000000000000000

@artasparks artasparks added the Difficulty:DDK Double Digit Kyu Level. Describes a problem that is good for newcomers. label Sep 27, 2020
@KiloLimaFoxtrot KiloLimaFoxtrot added this to the Weekly: 10/10/2020 milestone Sep 29, 2020
@artasparks artasparks removed this from the Weekly: 10/24/2020 milestone Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty:DDK Double Digit Kyu Level. Describes a problem that is good for newcomers.
Projects
None yet
Development

No branches or pull requests

3 participants