lightvector / KataGo

GTP engine and self-play learning in Go
https://katagotraining.org/
Other
3.49k stars 564 forks source link

HSL GUI keybinds and board rotation fix #919

Closed Emanuel-de-Jong closed 5 months ago

Emanuel-de-Jong commented 6 months ago

Added the following keybinds:

When loading an sgf, the board was always rotates 90 degrees to the right. GameState uses a coordinate pivot point at the top left while Sgfmill seems to use a different system. I fixed this by swapping x and y and inverting x when the sgf data is exported from Sgfmill into a GameState.