Problem Statement
Add support for rotating the Goban board by 90° increments, allowing the board to be displayed in any of the four orientations (0°, 90°, 180°, 270°).
This feature request originates from the OGS issue:
online-go/online-go.com#819 – "Feature Request: Rotate Go Board"
Recent discussions there concluded implementation belongs here in Goban rather than OGS repo.
Proposed Solution
Ideally Goban could expose a rotation setting, for example:
rotation: 0
rotation: 90
rotation: 180
rotation: 270
or an equivalent transform API.
The rotation should affect board rendering. Game state, coordinates, click handling, labels, markers, highlights and interactions should be preserved.
##Expected Behavior
The following should continue to work correctly after rotation:
Stone rendering
Coordinate labels (swapping axes as appropriate while keeping text upright)
Mouse/touch interaction
Markers (triangles, squares, labels, etc.)
Move highlighting
Variations
Overlays or annotations
Existing puzzle rotation/flip logic that may already exist could potentially be reused as part of the implementation.
Additional Context
This feature would primarily support game review, teaching, and analysis, but it also benefits other workflows. For example, games imported from physical boards can be viewed from either player's perspective without modifying the SGF or game state.
This issue tracks the rendering support in Goban. UI controls for rotating the board can be implemented by consumers
Problem Statement
Add support for rotating the Goban board by 90° increments, allowing the board to be displayed in any of the four orientations (0°, 90°, 180°, 270°).
This feature request originates from the OGS issue:
online-go/online-go.com#819 – "Feature Request: Rotate Go Board"
Recent discussions there concluded implementation belongs here in Goban rather than OGS repo.
Proposed Solution
Ideally Goban could expose a rotation setting, for example:
rotation: 0
rotation: 90
rotation: 180
rotation: 270
or an equivalent transform API.
The rotation should affect board rendering. Game state, coordinates, click handling, labels, markers, highlights and interactions should be preserved.
##Expected Behavior
The following should continue to work correctly after rotation:
Stone rendering
Coordinate labels (swapping axes as appropriate while keeping text upright)
Mouse/touch interaction
Markers (triangles, squares, labels, etc.)
Move highlighting
Variations
Overlays or annotations
Existing puzzle rotation/flip logic that may already exist could potentially be reused as part of the implementation.
Additional Context
This feature would primarily support game review, teaching, and analysis, but it also benefits other workflows. For example, games imported from physical boards can be viewed from either player's perspective without modifying the SGF or game state.
This issue tracks the rendering support in Goban. UI controls for rotating the board can be implemented by consumers