Author: Stuart Cracraft
Date: 17:21:48 05/27/98
Go up one level in this thread
On May 27, 1998 at 16:45:38, Jens Baek Nielsen wrote: >My chessprogram Dabbaba needs an openingbook. >See below - is this the right way to make it? > >I consider having a textfile like in this format: >e2e4# e7e5# g1f3# b8c6#... >---- ---- ---- g8f6#... >---- c7c5#... >d2d4#... >( the # could be a mark as in Genius (!/-/./ ) to indicate how often a >move should be played) > >=====>Does such a textfile exist, that everybody can copy and use? > >A program DABBBOOK.EXE should read this textfile and generate a file >DABBABA.BOK like this, that Dabbaba uses as its book: > 8 bytes hashkey > 1 byte from > 1 byte to > 1 byte for the #-mark. >------- > 11 bytes pr. position; ca. 9.000 positions in 100K. >By using the hashkey much space is required, but transpositions are >handled. > >Greetings Jens (jensbaek@silkeborg.bib.dk) Ugh! Have it parse PGN so you can include popular games the database (e.g. their constituent positions). You could do this using the public SANS library. My opening book is a combination of ECO main lines, games from current opening praxis, and positions graded and then selected by the program's own evaluation function in normal play. It's a good enough implementation to let me sleep at night while it plays on ICS without coming back to a multi-hundred point-lower chess rating in the morning! In the future, I hope to add lots more games, deeper searches for each position's stored score in the opening book, and build it on binary or hashing to increase total capacity size by reducing search during runtime. --Stuart
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.