User Tools

Site Tools


chess:programming:polyglot_book_format

This is an old revision of the document!


Chess - Programming - Polyglot Book Format - Polyglot Book Format

A PolyGlot opening book is a collection of triples (Position, Move, Weight).

  • Position is represented by a 64-bit Zobrist hash key, of a Board position.
  • Move is a move that can be made from that position.
  • Weight is proportional to the probability the move should be played.

struct entry_t {
   uint64 key;
   uint16 move;
   uint16 count;
   uint16 n;
   uint16 sum;
};

Learn

Move

Piece

Position

Weight


References

chess/programming/polyglot_book_format.1641834648.txt.gz · Last modified: 2022/01/10 17:10 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki