Module sgf_parse::go[][src]

Expand description

Types specific to the game of Go.

This module contains a go-specific SgfProp implementation which includes go specific properties (HA, KM, TB, TW). Point and Stone values map to Point, and Move values map to Move. Properties with invalid moves or points map to Prop::Invalid (as do any invalid general properties).

This module also includes a convenience parse function which fails on non-go games and returns the SgfNode values directly instead of returning GameTree values.

Structs

An SGF Point value for the Game of Go.

Enums

An SGF Move value for the Game of Go.

An SGF Property with identifier and value.

Functions

Returns the SgfNode values for Go games parsed from the provided text.

Type Definitions

An SGF Stone value for the Game of Go.