Replies: 3 comments 1 reply
-
Wouldn't a minimax algorithm using the negative of the usual board scoring value work? Also, are you asking for changes to lichess-bot to accomplish this or just asking for advice? |
Beta Was this translation helpful? Give feedback.
-
We aren't the creators of WorstFish. The correct repo is this. The problem that you mentioned happens because WorstFish just searches each move for 0.1 seconds and plays the worst move if both players play the continuation perfectly. To avoid this problem, one would have to change the Stockfish itself to implement what @MarkZH suggested. |
Beta Was this translation helpful? Give feedback.
-
Oh I'm sorry I'm new to github |
Beta Was this translation helpful? Give feedback.
-
In some positions such as this:
there is a selfmate. The bot plays the worst move according to stockfish (Bf7) because there is a mate in two for black. But if black does Qc6+, for example, if both sides make the worst moves, it's just a draw.
But if Be6+ was played, then there is a selfmate, Qd7 is forced, Bc7, Qxe6 is forced, Qa6+ and Qxa6# is forced.
Beta Was this translation helpful? Give feedback.
All reactions