I’m trying to implement a chess bot using an opening library.
I’ve downloaded an opening book file (opening.bin) from Scid.
Is there a viewer utility available for download ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sorry for answering the question late. Basically, you should use polyglot for opening the .bin file. The .bin format is a format invented by Polyglot’s author, and it makes sense to use his code to open it. Take a look of polyglot’s source, book.cpp, it has everything you need even selecting a random move. Alternatively, you could study the source code for Fruit and Stockfish, both chess engines use the .bin opening books.
In general, don’t ask chess questions on stackoverflow, ask on talkchess.com.