Page 1 of 1

How can I use opening books?

Posted: Mon Jul 09, 2012 9:54 pm
by rmatorxnrn
Hello, I am a beginner programmer of C++, and few months ago I got interested in Chess Engines. I was currently looking at Winglet Chess Engine and modifying the code.

However, I got stuck on inserting opening books inside the program.

So, my question is,

What should I write in book.cpp and book.h to make my engine successfully use .bin opening book file during the game?


Thank you in advance!

Re: How can I use opening books?

Posted: Wed Jul 11, 2012 12:56 am
by syzygy
rmatorxnrn wrote:What should I write in book.cpp and book.h to make my engine successfully use .bin opening book file during the game?
I would suggest you first try to tackle some easier programming projects.

Re: How can I use opening books?

Posted: Wed Jul 11, 2012 6:37 am
by Rebel
rmatorxnrn wrote:Hello, I am a beginner programmer of C++, and few months ago I got interested in Chess Engines. I was currently looking at Winglet Chess Engine and modifying the code.

However, I got stuck on inserting opening books inside the program.

So, my question is,

What should I write in book.cpp and book.h to make my engine successfully use .bin opening book file during the game?


Thank you in advance!
http://www.top-5000.nl/tools.htm