We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
抱歉这么晚才回答问题。基本上,您应该使用多语言来打开 .bin 文件。 .bin 格式是 Polyglot 作者发明的格式,使用他的代码打开它是有意义的。看一下 Polyglot 的源代码 book.cpp,它拥有您需要的一切,甚至可以选择随机移动。或者,您可以研究 Fruit 和 Stockfish 的源代码,这两个国际象棋引擎都使用 .bin 打开书籍。
一般来说,不要在 stackoverflow 上问国际象棋问题,而是在 talkchess.com 上问。
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.