Documentation ¶ Index ¶ func Destroy() func Init(dataDir fs.FS) error type EvalInfo type Move type MoveList func FindMoves(board TanBoard, dice [2]int, player int, scoreMoves bool, cubeful bool) (MoveList, error) type TanBoard Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Destroy ¶ func Destroy() func Init ¶ func Init(dataDir fs.FS) error Types ¶ type EvalInfo ¶ type EvalInfo struct { Cubeful bool Plies int } type Move ¶ type Move interface { GetPlaysNum() int GetPlay(i int) [2]int GetEvalInfo() EvalInfo GetEquity() float32 GetProbWin() float32 GetProbWinG() float32 GetProbWinBG() float32 GetProbLose() float32 GetProbLoseG() float32 GetProbLoseBG() float32 } type MoveList ¶ type MoveList interface { GetMovesNum() int GetMove(i int) Move } func FindMoves ¶ func FindMoves(board TanBoard, dice [2]int, player int, scoreMoves bool, cubeful bool) (MoveList, error) type TanBoard ¶ type TanBoard _TanBoard Source Files ¶ View all Source files bearoff.go bearoffgammon.go bool.go cache.go eval.go gnubg.go inputs.go log.go matchequity.go matchid.go movefilters.go neuralnet.go neuralnetsse.go positionid.go Directories ¶ Show internal Expand all Path Synopsis math32 met sigmoid Click to show internal directories. Click to hide internal directories.