Improve the SGF representation and API #69
No reviewers
Labels
No Label
hex-grid
maintenance
music-player
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: savanni/monorepo#69
Loading…
Reference in New Issue
No description provided.
Delete Branch "improved-sgf-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 singleNode
, which is the root of the game. EveryNode
contains its properties and all child nodes.