Algorithm for KQ vs KN?

Sort:
DjVortex

Is there a clear "algorithm" to win a KQ vs KN endgame?

I'm asking because I have tried to find some tutorials, and they all seem more like "try your best, and don't get forked, and maybe you'll eventually stumble across the solution" rather than an actual precise algorithm on how to win.

DjVortex

If I wanted to see the shortest distance to mate from a KQ vs KN position, I could just use an endgame tablebase. However, that's not what I'm looking for. I'm looking for an algorithm to win such a position, because it's not absolutely trivial.

BishopTakesH7

My advice is, just try to force the opponent's king to the edge of the board like you would in a queen and king versus king endgame. The only difference is you have to try to avoid forks. The best way to do that is to place your king and queen on different colored squares. If you can, try to fork your opponent's king and knight.

DjVortex
ScreamForGoodMoves wrote:

It's relative to where the pieces are on the board. That's like asking, "Is there an algorithm to collect fireflies?"

There's an algorithm for KBB vs. K, for KBN vs. K, for KQ vs. KR, and so on and so forth, but there exists no algorithm for KQ vs KN? The only possibility is "just try something to see if it works, try to somehow force the opponent's king to one edge, somehow, and maybe you'll end up in checkmate by chance (hope you don't hit the 50-move rule on the way)"?

DjVortex
BishopTakesH7 wrote:

My advice is, just try to force the opponent's king to the edge of the board like you would in a queen and king versus king endgame. The only difference is you have to try to avoid forks. The best way to do that is to place your king and queen on different colored squares. If you can, try to fork your opponent's king and knight.

The thing is, I don't want to "try to force". I want to force, period. No trying. Doing. I want to win, not try to win. Surely there exists an algorithm for KQ vs KN?

BishopTakesH7
DjVortex wrote:
BishopTakesH7 wrote:

My advice is, just try to force the opponent's king to the edge of the board like you would in a queen and king versus king endgame. The only difference is you have to try to avoid forks. The best way to do that is to place your king and queen on different colored squares. If you can, try to fork your opponent's king and knight.

The thing is, I don't want to "try to force". I want to force, period. No trying. Doing. I want to win, not try to win. Surely there exists an algorithm for KQ vs KN?

 

I literally once played a game with KQ vs KN against the computer, did exactly this, and won before the 50 move-rule applied. I don't have any advice that will immediately result in a forced win. I just have advice that will quite likely get you a win.

BishopTakesH7

There's also quite a low chance you'll ever end up in a position like this. I've only ever had to do KQ vs KN once, so you most likely won't have to worry about this, and if you ever do, just do what I said about forcing the king to the edge of the board, and you'll be fine. I didn't even have an algorithm, but I was still able to figure out how to win by using almost the same concept as in a KQ versus K endgame.

Pan_troglodites

Two new mates that I still did not know.:-)
Good to avoid stalemate draw.

Pan_troglodites

Please tell me.

How can I run and install Stockfish?


ningsmarty

you can try to pin, skewer, or double attack the king and knight.

tygxc

#1
Algorithm:
1 Drive king to edge
2 Threaten checkmate