Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MoveLimit int
Functions ¶
func MoveToPolyMove ¶
Convert move to UCI move in general, castling moves are converted to polyglot castling move format ie e1g1 -> e1h1.
func PolyZobrist ¶
func UCIToPolyMove ¶
Types ¶
type Book ¶
type Book struct {
// contains filtered or unexported fields
}
func NewPolyglotBook ¶
func NewPolyglotBook() *Book
func (*Book) AddFromPGN ¶
func (*Book) NormalizeAndOrder ¶
func (pb *Book) NormalizeAndOrder()
Building a book from a large number of games can exceed the limits of uint16. Find entries where a weight exceeds this limit and normalize the whole entry.
Click to show internal directories.
Click to hide internal directories.