I believe the Internet/Server reliability is a problem for that function. Some days it works fine, but other days it may not work at all. You may increase timeout a bit, say 3s, and/or alternate between two servers (chessdb and Lichess).huanhuan wrote: ↑Mon Jul 11, 2022 3:09 pm If it's like what you suggested, which is using FEN, then at PGN, later, we can't go through move 1 to 8, we will only be able to trace directly from move 9.
......
I think this feature [https://prnt.sc/h9m_MTxay271] is really good.
And I have an idea to make the feature even better.
But before that, I think there is a slight flaw in this feature. I don't know if it's set up that way or if it's a bug.
This is what I mean.
I set like this => https://prnt.sc/nva0L-Zh-bXq
What I expect is, Engine (in this case I'm using Stockfish), will play move from 1 to 8 with all of them taking moves from Chessdb.cn.
But as we can see here [https://prnt.sc/6enA505UtxLL], There are a few moves from the engine tucked in there. This means that Stockfish at that time was not accessing Chessdb.cn. I don't know if it's set up that way, or if it's a bug.
If it's set up that way, then it would be nice to be given an option to allow Engines to take all moves completely from the Book within the 'Move range' we set here [https://prnt.sc/ZT9H1G9DDdrq].
I have marked (for myself) that feature (online openings) as long-time experiments, it may need some improvements later. We may use it for studying/enjoying but it may not always be available.
huanhuan wrote: ↑Mon Jul 11, 2022 3:09 pm
And now, here's what I expect you to include in the BSG.
I think, here [https://prnt.sc/M60F9EiUIbeY], you can add one more option, which is 'Score Range'.
So when we select, Seed = -1, and Score Range = -0.44 to 0.44, then in this => https://prnt.sc/CQPk3Nla9iNc, Engine will randomly select all those moves, but only those moves that have score in the range we have set before will be selected randomly. So all moves with a Score less than -0.44 or more than 0.44 will be ignored.
I saw a perfect application of this on Chess.com [https://prnt.sc/hZcfagSMol5U]. All the "bots" there, even those rated at 1500, play an accurate move from the Opening book, at least from move 1 to 8, They always respond with different and accurate moves.
Suppose we play against Danya bot with us as white.
Suppose I open the game with e4, then Danya will respond with E5.
In the next game, if we play again with e4, then it will respond with c5, so the moves of this Bot are very varied.
This is because the Opening Book is very well tuned for these Bots.
...So, when we play against Engine in BSG, the Engine can respond with more varied moves in the Opening.
Lastly, to be honest, your decision to include Chessdb.cn in the BSG is something extraordinary. We only need to open BSG, and we can access a kind of Opening Book library, complete with scores.
Frankly speaking, I don't understand the meaning of scores from chessdb's data, not being familiar with their ranges, and how they have them. I use them to sort only. Thus, I am not sure if it is good to create new features on those scores. Furthermore, I need some consistency since I support Lichess opening book too: a feature should support both and be useful for both. The complication for users is another issue to be considered.
As always, I have written down your idea for further work. Thanks!