@j88q said in #10:
The basic logic would be that it would loop through all the move possibilities and play the one that was played the most in actual games.
That's not quite what I was talking about, unless I am misunderstanding you. Rather, I would want it to choose a move with probability equal to the percentage of time it is played in the database. This would regularly result in it playing something other than the most common move. However, it would be play the most common move most often.
@j88q said in #10:
> The basic logic would be that it would loop through all the move possibilities and play the one that was played the most in actual games.
That's not quite what I was talking about, unless I am misunderstanding you. Rather, I would want it to choose a move with probability equal to the percentage of time it is played in the database. This would regularly result in it playing something other than the most common move. However, it would be play the most common move most often.
@LazyBrainChess said in #11:
That's not quite what I was talking about, unless I am misunderstanding you. Rather, I would want it to choose a move with probability equal to the percentage of time it is played in the database. This would regularly result in it playing something other than the most common move. However, it would be play the most common move most often.
I see. Could you please provide a step-by-step algorithm for your logic? It would help me to understand the problem better. Thanks!
@LazyBrainChess said in #11:
> That's not quite what I was talking about, unless I am misunderstanding you. Rather, I would want it to choose a move with probability equal to the percentage of time it is played in the database. This would regularly result in it playing something other than the most common move. However, it would be play the most common move most often.
I see. Could you please provide a step-by-step algorithm for your logic? It would help me to understand the problem better. Thanks!
Something like:
- Generate approximate percentages
- Put them in a randomizer which supports the weight function (but automised :)
- Play the move
Something like:
1. Generate approximate percentages
2. Put them in a randomizer which supports the weight function (but automised :)
3. Play the move
@j88q
something like:
https://stackoverflow.com/questions/4463561/weighted-random-selection-from-array
Something to look at: https://openingtrainer.com/
https://www.reddit.com/r/chess/comments/17yfmpq/i_made_openingtrainercom_a_website_to_practice/
"The engine uses Lichess statistics to decide what to move. Example: If Nf3 is played 20 % of the time in a particular position by Lichess players, then the engine will also have exactly 20 % chance of doing this move, etc. That way, the engine will perfectly emulate a real human player."
Something to look at: https://openingtrainer.com/
https://www.reddit.com/r/chess/comments/17yfmpq/i_made_openingtrainercom_a_website_to_practice/
"The engine uses Lichess statistics to decide what to move. Example: If Nf3 is played 20 % of the time in a particular position by Lichess players, then the engine will also have exactly 20 % chance of doing this move, etc. That way, the engine will perfectly emulate a real human player."
@scarpentus
Thanks. That's exactly what I wanted. I guess I should have searched more before posting.
@scarpentus
Thanks. That's exactly what I wanted. I guess I should have searched more before posting.
@LazyBrainChess You're welcome! I don't know how findable it would have been. I remembered thinking it was cool when I saw the reddit post, and bookmarked it and found it again that way. I haven't used it but this thread jarred my memory that there was something like this.
@LazyBrainChess You're welcome! I don't know how findable it would have been. I remembered thinking it was cool when I saw the reddit post, and bookmarked it and found it again that way. I haven't used it but this thread jarred my memory that there was *something* like this.
JC! Just install LiChess Tools and it's there!
JC! Just install LiChess Tools and it's there!
@TotalNoob69
It sounds like Lichess Tools is for Chrome-based browsers only. I know I'm difficult, but I would rather stay on Firefox. Otherwise that might be a great idea.
@TotalNoob69
It sounds like Lichess Tools is for Chrome-based browsers only. I know I'm difficult, but I would rather stay on Firefox. Otherwise that might be a great idea.