- Given sequence of moves leads to the fastest checkmate possible in the current board position.
- 56
Learning Opportunities
This puzzle can be solved using the following concepts. Practice using these concepts and improve your skills.
Statement
Cooperative mate is a family of Chess game puzzles where both sides cooperate towards a common goal. Here, we consider endgames with only black king, white king, and white rook, aiming to checkmating the black king. Your task is to provide a shortest sequence of moves leading to such mate.
The Goal
For a given state of the game, the goal is to compute a sequence of chess piece moves leading to the fastest checkmate.
Rules
The game state is described by the player-to-move and position of each piece: white king, white rook, and black king, formatted as
The goal of this puzzle is to provide a sequence of moves leading to a cooperative checkmate, according to the Chess rules. The sequence should be formatted as
Victory Conditions
Loss Conditions
- Given sequence of moves does not lead to a checkmate within a turn limit.
- Given sequence of moves contains illegal move.
- Given answer is not properly formatted.
- Response time exceeds the time limit.
Detailed rules
- Given board state is always a valid Chess game position.
- You can hide showing legal moves in the settings panel ()..
Related puzzles
Game Input
Initial input
A single line containing space-separated strings, movingPlayer being either
Output
A single line containing a sequence of space-separated moves (each move in a1h8 format).
Constraints
1 ≤ solution length ≤ 12 Response time ≤
A higher resolution is required to access the IDE