Curious Chess Composition

Logic Level 4

The position in the diagram is from a standard chess game, which you (an error-prone human) are playing as white against a perfectly optimal intelligence system (as black). The intelligence system began with a material handicap, allowing you to get to this position. On your last move, you captured the black queen with your king on h2, to complete a trade of queens. It is now your turn.

What is the least number of moves needed to checkmate black?

Hint 1: It is the nature of intelligent computer programs to, even in a losing position, extend the game by as many moves as possible. You can also assume that no resignations take place.

Hint 2: This is a hard problem, so think thoroughly!

1 2 3 4 5 It takes more than 5 moves to win It isn't possible to win

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Nick Turtle
May 30, 2018

Move the pawn from d5 to e6 (en passent), an instant checkmate. This is because the only possible previous move for black is pawn e7 to e5 (as pointed out by the author, since the computer plays optimally, the pawn would have not been on e6 or else it would take the white rook on f5 instead), thus making the en passent move possible.

Stephen Mellor
May 31, 2018

"On your last move, you captured the black queen with your king on h2, to complete a trade of queens.":

This line is important as it shows that the last move that you, as white, made didn't put black in check . However, since black must have moved a piece between white's last move and the current state of the board (as it is currently white's turn), we can work out what black's move was.

  • Black can't have moved one of the pawns on the 7th rank, as that is the starting position of pawns
  • Black can't have moved its rook since it can't have moved from anywhere to square a8
  • Black can't have moved its king since all the squares surrounding it are protected by white. Also, the king can't have moved to a5, out of check, since we know that white didn't deliver check on the last move

This means that on black's last move, the pawn on the e-file was moved.


Black's last move involved the pawn on the e-file:

Now the pawn on e5 could have come from one of two squares, either e6 or e7. If the pawn was on e6, the optimal move for black would have been to capture the rook on f5, rather than playing e5 as this would delay the checkmate. Note that the checkmate would still occur, since white (being careful to avoid stalemates) could promote a pawn while black's king and rook are helpless. Since the white rook is clearly still on the board, the black pawn didn't come from e6.

This means that black's last move came from e7.


Black's last move was moving the pawn from e7 to e5:

Finally, since the black pawn moved two spaces, the white pawn on d5 can capture via "en passant", delivering checkmate in 1 move, as shown below in the animation. Since 1 move is possible, and wouldn't be possible without the white rook, this is why, earlier on, black would've captured it if given the chance to.


As an aside:

If en passant wasn't to be used, the best route to checkmate for white would be for the rook to capture the pawn on e5. Black would attempt to extend the game by capturing on b7 with the rook, to which white would recapture on b7 with the white rook from b1. Then, none of blacks moves would make any matter, as the other white rook could manoeuvre from e5 to e3 to a3 to deliver checkmate in 4 moves.

@Edwin Gray @Nick Turtle @Patrick Corn @Jordan Cahn @Michael Mendrin thanks for all your help and reports. I've now posted my solution which I hope is fully correct

Stephen Mellor - 3 years ago

Perhaps the optimal move the computer can play instead of playing e5 is Rxb8?

Jihoon Kang - 2 years, 9 months ago

Log in to reply

I don't know if you understand correctly? Black played e5 on the move before this position came about. The rook could not have moved on this move as it is trapped

Stephen Mellor - 2 years, 9 months ago

Log in to reply

Sorry, I think my comment was not clear. After white's last move of recapturing the queen, since the computer is perfectly optimal, it would not have played e5 but instead it would have played something like Rxb8? As your solution suggests, if black played e5 then checkmate in 1, but if black played Rxb8 say immediately after white recaptures the queen, then checkmate takes longer. So my point is that the scenario is impossible (though I think the solution to the given scenario is fantastic). I may have missed something, so please correct me if I am wrong.

Jihoon Kang - 2 years, 8 months ago

Log in to reply

@Jihoon Kang Yes I suppose this is correct. However, this problem took a lot of hard work to create and make sure it was right. I think I will keep it how it is as this is a minor detail and it would be very difficult to rectify this

Stephen Mellor - 2 years, 8 months ago

2 pending reports

Vote up reports you agree with

×

Problem Loading...

Note Loading...

Set Loading...