book

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BookMoves map[uint64][]polyEntry

Functions

func GetBest

func GetBest(b *board.Board) board.Move

Get best scoring book move.

func GetWeighted

func GetWeighted(b *board.Board) board.Move

Get weighted random.

func InBook

func InBook(b *board.Board) bool

Check if current position is in book.

func LoadBook

func LoadBook(path string) int

func PolyZobrist

func PolyZobrist(b *board.Board) uint64

func PrintBookMoves

func PrintBookMoves(b *board.Board)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL