Philidor, Black to move
- Input
- 3k4/8/r7/3PK3/8/8/8/7R b
- Expected output
- draw
A draw with perfect play: the best move keeps the rook on the 3rd rank. Several rook moves draw, and a few lose, which the tool's list shows.
Chess Endgame Tablebase (up to 7 Pieces)
philidor position chess rook endgame
The Philidor position is the classic defense in rook endings a pawn down: putting the rook on the defender's 3rd rank, stopping the enemy king from entering. With that, the position is a theoretical draw. The tool opens the practice, in which you defend as Black against the tablebase.
A draw with perfect play: the best move keeps the rook on the 3rd rank. Several rook moves draw, and a few lose, which the tool's list shows.
No rooks: with a rook pawn, the king in the corner also draws. See the king and pawn ending in the library.
It is a database with the perfect result of every position with few pieces. For each position it says whether the side to move wins, draws or loses, and in how many plies. The Syzygy tablebase this tool queries covers up to 7 pieces, kings included.
Because from there it stops the enemy king from crossing from the 5th to the 6th rank, from where it would help the pawn. The defense only works if the defending king is in front of the pawn.
The position is usually won for the side with the pawn. Build variations in the Set up tab and watch the verdict change right away.
You play one side and the tablebase always answers with the best move.
Use the arrow keys to move between squares. Enter or space selects a piece, then the destination square. Escape cancels.
Set up a valid position to query.
Practice against perfect play
You are playing Black.
Pick an endgame to analyze with the tablebase or to practice against perfect play.
Basic mates and the 50-move rule
King and queen against king
Win
The simplest mate. Use the queen to corner the enemy king and bring your own king to help. With perfect play, mate comes in at most 10 moves. Beware of stalemate, which is a draw.
King and rook against king
Win
Cut the enemy king off with the rook and advance your king until it faces the enemy king, in opposition, to give check on the edge. With perfect play, mate comes in at most 16 moves.
50-move rule: a cursed win
Cursed win
King and rook against king, but with the counter at 85 plies. The mate needs more moves before a capture or pawn move than are left until the draw, and the tablebase marks the position as a cursed win. Reset the counter in Set up and compare.
King and pawn
King and pawn: key squares
Win
When your king reaches a key square in front of the pawn, promotion is guaranteed even if the opponent moves first. Here the white king on e6 stands in front of the pawn on e5. Switch the side to move in Set up and see it wins both ways.
King and pawn: opposition
Win for the side not to move
Kings face to face with one square between: whoever has to move gives ground. With Black to move White wins; with White to move it is a draw (switch the side to move in Set up and check). Triangulation is the maneuver of losing a tempo with the king to hand the obligation to move to the opponent.
Rook pawn: a draw
Draw
With the pawn on the a or h file, the enemy king reaches the promotion corner and has no squares to attack, which draws (or stalemates). In practice, defend as Black.
Rook endgames
Lucena position
Win
The most famous rook endgame: pawn on the 7th rank and your king in front of it, cut off by the enemy rook. The technique is building a bridge: take the rook to the 4th rank and use it as a shield against the checks, so the king can step out and promote.
Philidor position
Draw
The classic drawing defense: the rook stays on the defender's 3rd rank (here a6) and stops the enemy king from advancing. When the pawn advances, the rook goes back and checks from behind. In practice, defend as Black.
Bishops and knights
Two bishops against king
Win
Bishops of opposite colors together push the king to a corner, with your king's help. It always wins, in at most 19 moves with perfect play.
Bishop and knight against king
Win
The hardest of the basic mates: the king can only be mated in the corner of the bishop's color, and the way there is long (up to 33 moves). Practicing against the tablebase shows the technique.
Wrong bishop and rook pawn
Draw
The dark-squared bishop does not control a8, which is light, so the king in the corner draws even with a bishop and a pawn up. With the right-colored bishop it would be a win.
Data: the Lichess Syzygy tablebase (tablebase.lichess.org), by Ronald de Man, with the 7-piece tables generated by Bojun Guo. Cburnett pieces by Colin M. L. Burnett (Wikimedia Commons), under the BSD license.