Versions in this module Expand all Collapse all v1 v1.2.0 Feb 22, 2026 v1.1.0 Nov 6, 2025 Changes in this version type Position + CubeDecisions []CubeDecision + CubefulEquity float64 + CubelessEquity float64 + EquityStdDev float64 v1.0.0 Nov 4, 2025 Changes in this version + type CubeDecision struct + Action string + EMG float64 + EMGDiff float64 + IsBest bool + MWC float64 + MWCDiff float64 + type Evaluation struct + Diff float64 + Equity float64 + IsBest bool + LoseBG float64 + LoseG float64 + Move string + Rank int + Win float64 + WinBG float64 + WinG float64 + type Match struct + Compress bool + Data map[string]interface{} + Format string + UseSmile bool + Version string + func ParseBGF(filename string) (*Match, error) + func ParseBGFFromReader(reader io.Reader) (*Match, error) + func (m *Match) GetMatchInfo() map[string]interface{} + func (m *Match) String() string + func (m *Match) ToJSON() ([]byte, error) + type ParseError struct + File string + Line int + Message string + func (e *ParseError) Error() string + type Position struct + Board [26]int + Crawford bool + CubeDecision *CubeDecision + CubeOwner string + CubeValue int + Dice [2]int + Evaluations []Evaluation + MatchID string + MatchLength int + OnBar map[string]int + OnRoll string + PipCount map[string]int + PlayerO string + PlayerX string + PositionID string + ScoreO int + ScoreX int + XGID string + func ParseTXT(filename string) (*Position, error) + func ParseTXTFromReader(reader io.Reader) (*Position, error) + func (p *Position) ToJSON() ([]byte, error)