Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Books

Author: William H Rogers

Date: 12:31:31 04/20/99

Go up one level in this thread


James
One way to do this is to store your book moves in strings i.e. e2e4e7e5g1f3g8f6
You can use an index into different books. One you decide which one you want to
use, all you do is compare the moves to the string, now loaded into memory. As
long as it is still following the main line, your move are there, if it branches
out into another line, you can read in more info are start generating moves as
normal. I have a simple chess program in basic, written by another person who
used this technic and it is pretty fast. It is yours if you want it.
Bill



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.