Introduction¶
Sgfmill is a Python library for reading and writing Go game records using Smart Game Format (SGF).
It supports:
- loading SGF game records to make a Python object representation
- creating SGF game objects from scratch
- setting properties and manipulating the tree structure
- serialising game records to SGF data
- applying setup stones and moves to a Go board position
It is intended for use with SGF version FF[4], which is specified at http://www.red-bean.com/sgf/index.html.
It has support for the game-specific properties for Go, but not those of other games.
Point, Move and Stone values are interpreted as Go points.