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.gobearoffgammon.gobool.gocache.goeval.gognubg.goinputs.golog.gomatchequity.gomatchid.gomovefilters.goneuralnet.goneuralnetsse.gopositionid.go Directories ¶ Show internal Expand all Path Synopsis math32 met sigmoid Click to show internal directories. Click to hide internal directories.