golo library
A Dart package for the logic of Go/Igo/Weiqi/Baduk board games.
Classes
- Board
- Represents a Go board state and operations.
- BoardTree
- Stores canonical Board snapshots keyed by node IDs. Agnostic of tree structure; exposes a cloning Map interface.
- Game
- Node
-
Game-side node holding SGF properties and child IDs.
Parent links are managed by
SgfTree. - SgfTree
- Manages SGF node graph and data (no Board snapshots).
Enums
- IllegalMoveReason
- Reasons why a move is considered illegal.
- Stone
- Stone colors.
Typedefs
Exceptions / Errors
- IllegalMoveException
- Exception thrown for illegal moves.