I'm looking for a program that can force a lone king into checkmate on a specific square. Are there any programs out there that can do this?

  • 1
    I don't know why anyone would write such a program, but it seems like it would be relatively easy to modify an open-source engine to do this. – D M Mar 30 '19 at 19:28
  • Not that I know of. – Inertial Ignorance Sep 28 '19 at 23:32

Thanks for the great question ChessNoob3000, and welcome to chess.stackexchange.com

I don't know of any chess program right now ("AI" or otherwise) which can force checkmate on a particular square. The idea of "conditional problems", e.g. white must mate with a certain piece, was popular in the 19th century, before the arrival of software which can solve much more complex problems, but they are now a bit of a backwater. If you wrote a program specializing in conditional problems, you could be able to apply it to hundreds of unproven problems!

Related work is in Francois' Labelle's "Jacobi" program. This does allow for conditions, but is strictly applicable to help problems and proof games. It would not apply to adversarial stipulations e.g. "mate in 2" or "self-mate in 2".

You might post a feature request for Popeye in github , or if you are a programmer you might want to contribute to the Popeye open source yourself. Chat with Thomas Maeder about this: conditional problems for non-help stipulations is definitely a hole currently.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.