Improve the SGF representation and API #69

Merged
savanni merged 2 commits from improved-sgf-api into main 2023-08-30 03:20:09 +00:00
Owner

The original SGF representation was not particularly good, and it was going to be very hard to traverse. This is a modified one that reflects that SGF files are pre-order traversals. This representation now focuses on a Node and its children.

Tree now contains but a single Node, which is the root of the game. Every Node contains its properties and all child nodes.

The original SGF representation was not particularly good, and it was going to be very hard to traverse. This is a modified one that reflects that SGF files are pre-order traversals. This representation now focuses on a Node and its children. `Tree` now contains but a single `Node`, which is the root of the game. Every `Node` contains its properties and all child nodes.
savanni added 2 commits 2023-08-30 03:16:08 +00:00
savanni merged commit d6c2a9519b into main 2023-08-30 03:20:09 +00:00
savanni deleted branch improved-sgf-api 2023-08-30 03:20:09 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: savanni/monorepo#69
No description provided.