Appendix G β Endgame Reference Positions
This appendix collects the positions every serious player should be able to set up on an empty board and play from memory β key squares and opposition, the Lucena and Philidor, the VanΔura, the short-side defence, the wrong rook pawn, queen against a pawn on the seventh, the bishop-and-knight mate and the opposite-coloured-bishop fortresses β 37 positions in all. Three promises hold for every one of them:
- Every verdict is the tablebase's verdict. Each position was probed against the 7-piece Syzygy tables through the toolkit's
chessdata.tablebase()(the public endpointtablebase.lichess.ovh, cached locally in SQLite, uncached requests paced at least 0.6 s apart). The single 8-unit position β the pawn breakthrough β is beyond the tables and is verified with Stockfish 19 instead, at a stated depth. - The method is shown, not just the result. For each position you get how many legal moves keep the result, which moves spoil it, and a tablebase line.
- Theory is paired with practice. Each family ends with what really happens in games β how often a won ending is won and a drawn one is held β in OTB classical games (FIDE ratings) and online Lichess games (Lichess ratings), from the endgame studies in Chapters 14β18. The two pools are never merged and their rating scales are never converted.
βοΈ Improver Track: learn the positions marked β in the summary table (G.6) first. Set each one up and play it against a friend or an engine from both sides until you can win the wins and hold the draws without thinking.
π Competitor Track: the "moves that spoil it" lists are your blunder-check: they are exactly the plausible moves that throw away half a point.
π» Developer Track:
g01_reference_positions.pyis a small template for any position you want to verify;project/outpost/tablebase.py(Chapter 14) wraps the same probe.
G.0 Reading a tablebase verdict
π Definition β tablebase categories. A probe returns a category for the side to move: win, draw, loss, or the 50-move-rule variants cursed win (a win that takes more than 50 moves without a capture or pawn move, so it is a draw under the 50-move rule) and blessed loss (its mirror). DTZ (distance to zeroing) is the number of plies until the next capture or pawn move in the optimal line; DTM (distance to mate) is the number of plies to checkmate. The Lichess endpoint, like the book, counts both in plies (half-moves): DTM 41 means mate on White's 21st move. In our probes DTM was reported for positions of up to six pieces; for seven pieces only the win/draw/loss verdict and DTZ are available.
β οΈ Common pitfall: a tablebase "best move" is DTZ-optimal β it heads for the next capture or pawn move as fast as possible. That is not always the most human or instructive route. In the Lucena below, the tablebase prefers 2β¦Ke6 3.Kc7 to the textbook bridge, and both win. When you study, learn the method; use the tablebase to check that your method keeps the result.
π Why this works: with seven pieces or fewer there is no evaluation at all β the tables store the exact game-theoretic value of every position, computed backwards from every possible mate. "Draw" in this appendix means a proven draw, not "about equal".
G.1 King and pawn endings
Everything in endgame play rests on king-and-pawn positions, because every other ending can turn into one after a trade. Chapter 14 built a complete K+P vs K table by retrograde analysis and found that 76.5% of the 163,328 legal White-to-move positions are wins (58.1% with Black to move) β and it matches Syzygy on every tested position. Chapter 15 used the same table to grade the classical rules.
G.1.1 Key squares β
Rule: for a pawn on its 4th rank (not a rook pawn), the three squares two ranks in front of it are key squares: if the attacking king reaches one, the pawn queens whoever is to move. For the e4-pawn they are d6, e6 and f6.

βοΈ Position: White Kd6, e4; Black Ke8 β Black to move. FEN:
4k3/8/3K4/8/4P3/8/8/8 b - - 0 1
Verdict: loss for Black to move β every one of Black's three legal moves (Kf7, Kd8, Kf8) loses; DTM 28 plies. Tablebase line: 1β¦Kf7 2.e5 Ke8 3.Ke6 Kd8 4.Kf7 Kc7 5.e6 Kb6 6.e7 Kc5 7.e8=Q.
Move White's king back behind its pawn and the same pawn is a draw:

βοΈ Position: White Ke3, e4; Black Ke7 β White to move. FEN:
8/4k3/8/8/4P3/4K3/8/8 w - - 0 1
Verdict: draw with White to move β all eight legal moves draw (1.e5 Ke6 2.Kd2 Kxe5 is the tablebase's illustration of how quickly a careless push loses the pawn). The lesson: in K+P vs K the king wins, not the pawn β and it wins by getting in front.
Chapter 15 checked the textbook key-square rule against the exact table: it is right for 11 of the 15 non-rook pawn squares on ranks 2β6. The exceptions are worth knowing: a pawn on its 2nd rank has one extra key square three ranks ahead (d2 β d5 as well); a knight pawn on the 6th loses two key squares to stalemate tricks; and a rook pawn on a2βa4 has no key square that wins against every defence.
G.1.2 Opposition β
Rule: when the kings stand on the same file with one square between them, the side not to move "has the opposition". In K+P vs K the opposition decides whether the attacking king reaches a key square.

βοΈ Position: White Kf1, b2; Black Ke8 β White to move. FEN:
4k3/8/8/8/8/8/1P6/5K2 w - - 0 1
Verdict: win, but only 1.Ke2 (DTM 49). Every other move β 1.b3, 1.b4, 1.Ke1, 1.Kg1, 1.Kf2, 1.Kg2 β throws the win away. Tablebase line: 1.Ke2 Kd7 2.Kd3 Kc7 3.Kc3 Kc6 4.Kb4 Kb6. White's king heads for b4, in front of its own pawn, and keeps the opposition at every step; after any other first move Black's king gets in front of the pawn in time.
Opposition also works at a distance:

βοΈ Position: White Kh1, d3; Black Ka8 β White to move. FEN:
k7/8/8/8/8/3P4/8/7K w - - 0 1
Verdict: win with only 1.Kg2 (DTM 43); 1.d4, 1.Kg1 and 1.Kh2 draw. Line: 1.Kg2 Kb7 2.Kf3 Kc6 3.Ke4 Kd6 4.Kd4 β the kings approach the d-pawn and White's arrives first, in front of it.
And the defender uses it too:

βοΈ Position: White Kd1, b2; Black Ke8 β Black to move. FEN:
4k3/8/8/8/8/8/1P6/3K4 b - - 0 1
Verdict: draw with only 1β¦Kd7; 1β¦Ke7, 1β¦Kd8, 1β¦Kf7 and 1β¦Kf8 all lose. Line: 1β¦Kd7 2.b3 Kc6 3.b4 Kb5 β Black's king gets in front of the pawn in time.
How important is the opposition in the exact table? Chapter 15 found 160 mutual-zugzwang positions in K+P vs K (80 on files aβd), and 92.5% of those on files aβd are opposition positions β against a 26.6% baseline for random king pairs. The opposition is not a rule of thumb; it is the structure of the ending.
G.1.3 The rook pawn

βοΈ Position: White Ka1, a4; Black Kb8 β White to move. FEN:
1k6/8/8/8/P7/8/8/K7 w - - 0 1
Verdict: draw β all four legal White moves draw, because Black's king reaches a8 and White can never drive it out without stalemate. In the exact K+P vs K table, rook pawns are 46.2% of the drawn first-arising K+P vs K positions in Lichess games against 29.7% of the won ones (Chapter 14).
G.1.4 The rule of the square β and shouldering
Rule: draw a square from the pawn to its queening rank; if the defending king can step into it, the defender catches the pawn. Two corrections: draw the square from the 3rd rank for a pawn still on its 2nd (the double step), and watch for the attacking king shouldering the defender away.

βοΈ Position: White Kg4, a2; Black Kg2 β Black to move. FEN:
8/8/8/8/6K1/8/P5k1/8 b - - 0 1
Verdict: loss for Black to move β every legal move loses (DTM 24 plies). The double step puts the pawn on a4 at once, outside the square, and White's king on g4 stands between Black's king and the centre: 1β¦Kf1 2.a4 Ke1 3.a5 Kd1 4.a6 Kc1 5.a7.
Chapter 15 graded the rule on 156,578 exact positions: "outside the square β won" is right in 99.99% of cases (5 exceptions, all with the defender's king on a8 and the pawn on a7), but "inside the square β drawn" is right in only 64.1% β the attacking king's help (shouldering, escorting) turns the rest into wins. Correcting for the double step changed 3,807 verdicts.
G.1.5 Pawn races

βοΈ Position: White Kc3, a5; Black Kg6, h4 β White to move. FEN:
8/8/6k1/P7/7p/2K5/8/8 w - - 0 1
Verdict: win with only 1.a6 (DTM 23); all eight king moves draw. Line: 1.a6 Kf5 2.a7 Ke4 3.a8=Q+ Ke5 4.Qh1 Kf4 5.Qxh4+ β White queens with check-free tempo to spare and the new queen stops the h-pawn.
G.1.6 RΓ©ti's study β

βοΈ Position: White Kh8, c6; Black Ka6, h5 β White to move. FEN:
7K/8/k1P5/7p/8/8/8/8 w - - 0 1
Verdict: draw with only 1.Kg7; 1.c7, 1.Kh7 and 1.Kg8 lose. Line: 1.Kg7 h4 2.Kf6 h3 3.Ke6 h2 4.c7 h1=Q 5.c8=Q+. The king walks down the diagonal and threatens two things at once β catching the h-pawn and supporting its own c-pawn. A king's diagonal path is as short as its straight one; that geometry is the whole study.
G.1.7 Triangulation

βοΈ Position: White Kb4, c4, g4, c5; Black Ka6, g5, c6 β White to move. FEN:
8/8/k1p5/2P3p1/1KP3P1/8/8/8 w - - 0 1
Verdict: win with 1.Kb3, 1.Kc3 or 1.Ka4; 1.Ka3? draws. Line: 1.Kb3 Ka5 2.Ka3 Ka6 3.Kb4 β White's king walks a triangle (b4βb3βa3βb4) that Black's king, hemmed in on the edge, cannot copy, so the same position recurs with Black to move. Chapter 15 searched all 16 single blocked-pawn pairs and found no tempo-loss wins there; the trick needs a second, locked pawn pair like the g4/g5 pair here.
G.1.8 The outside passed pawn and the breakthrough

βοΈ Position: White Ke3, a4, g4; Black Ke6, g5 β White to move. FEN:
8/8/4k3/6p1/P5P1/4K3/8/8 w - - 0 1
Verdict: win β all eight legal moves win (DTM 31). The a-pawn decoys Black's king to the queenside while White's king eats the kingside pawn. Remove the a-pawn and the position is a draw (Chapter 15).

βοΈ Position: White Kg1, a5, b5, c5; Black Kg8, a7, b7, c7 β White to move. FEN:
6k1/ppp5/8/PPP5/8/8/8/6K1 w - - 0 1
With eight units on the board this is beyond the tables. π€ Engine check: Stockfish 19 at depth 20, multipv 3: 1.b6 +6.16, 1.Kg2 0.00, 1.Kf2 0.00. Principal variation: 1.b6 cxb6 2.a6 bxa6 3.c6 a5 4.c7 β one of White's pawns gets through. Chapter 15 confirmed the evaluation at depth 30 (+6.78), and found that 1.a6 (β6.16) and 1.c6 (β6.71 at depth 26) lose: the breakthrough must start in the middle.
G.1.9 King and pawn endings in practice
| Situation (source) | OTB | Lichess |
|---|---|---|
| K+P vs K, theoretical wins not won (first K+P vs K position, Ch 14) | β2% | 20.4% blitz/rapid; 34.0% below 1200 (n = 514) β 13.0% at 1800β1999 |
| K+P vs K, theoretical draws lost (Ch 14) | β2% | 13.0%; 15.6% below 1200 β 3.8% at 2400+ |
| Pure pawn ending, exactly one pawn up, side ahead wins (first stable pawn ending) | 71.9% [70.9β72.8], n = 8,895 (all speeds) | 65.1% [64.7β65.5], n = 11,357 (blitz + rapid) |
| β¦same, two pawns up | 93.8%, n = 3,083 | 83.3%, n = 5,178 |
| Pawn ending clearly won (eval β₯ 5.00) at its start β converted (Ch 15) | 94.6%, n = 11,620 (all speeds) | 83.9% blitz (n = 5,649); 86.9% rapid + classical; 73.7% bullet |
| Games with at least one blunder in the pawn ending (Ch 15) | 13.9% classical; 17.8% rapid + blitz | 25.4% rapid + classical; 28.5% blitz; 32.8% bullet |
The OTB K+P vs K numbers are low partly because strong players resign or agree a draw the moment a known position arises, so read them as "recognition" rather than pure technique. Two findings deserve a second look. First, the clock matters more than the rating: a clearly won pawn ending is converted 94.6% of the time OTB but only 73.7% in Lichess bullet. Second, one pawn up wins less often as OTB strength rises β 80.4% at FIDE 1600β1799, 67.3% at 2000β2199, 43.9% at 2400+ β because stronger defenders find the drawing resources (opposition, the rook-pawn corner, counterplay) that this section catalogues.
G.2 Rook endings
Rook endings are the most common pure endings in practice: in OTB classical games 21.2% of endgames pass through a rooks-only ending at some point (Lichess 16.4%), and R+P vs R β the ending of this section's first four positions β is reached in 2.05% of OTB endgame games (0.84% on Lichess).
G.2.1 The Lucena position β

βοΈ Position: White Kb8, Rc1, b7; Black Kd8, Ra2 β White to move. FEN:
1K1k4/1P6/8/8/8/8/r7/2R5 w - - 0 1
Verdict: win (DTZ 15, DTM 41 plies); 12 of 14 legal moves win, only 1.Ra1 and 1.Rc2 spoil it. The human method β "build a bridge" β is the line Chapter 14 verified move by move against the tablebase: 1.Rd1+ Ke7 2.Rd4! Ra1 3.Kc7 Rc1+ 4.Kb6 Rb1+ 5.Kc6 Rc1+ 6.Kb5 Rb1+ 7.Rb4, the rook on the 4th rank blocking the last check. The tablebase's own DTZ-optimal line after 1.Rd1+ Ke7 2.Rd4 is 2β¦Ke6 3.Kc7 Rc2+ 4.Kb6 Rf2 5.Rb4 β a different route to the same result. Chapter 16 checked the bridge rank in a version with the defending king on d7: 2.Rd4, 2.Rd5 and 2.Rd3 win, while 2.Rd2, 2.Rd6, 2.Rd7+ and 2.Rd8 only draw.

βοΈ Position: White Ka8, Rh1, a7; Black Kc7, Rb2 β White to move. FEN:
K7/P1k5/8/8/8/8/1r6/7R w - - 0 1
Verdict: draw β all 14 legal White moves draw. With a rook pawn there is no room on the far side for the king to hide from checks, so the bridge never gets built.
G.2.2 The Philidor position β

βοΈ Position: White Kf5, Ra7, e5; Black Ke8, Rb6 β Black to move. FEN:
4k3/R7/1r6/4PK2/8/8/8/8 b - - 0 1
Verdict: draw with Black to move; 8 of 16 Black moves hold: the rook stays on the 6th rank (1β¦Rc6, 1β¦Rh6), goes straight to the back to check from behind (1β¦Rb1βRb4), or the king steps aside (1β¦Kd8, 1β¦Kf8). The losing moves are 1β¦Rb5, 1β¦Rb8, 1β¦Ra6, 1β¦Rg6, 1β¦Re6, 1β¦Rb7, 1β¦Rd6 and 1β¦Rf6+. The classical method: keep the rook on the 6th rank until the pawn advances to e6, then drop the rook to the 1st rank and check from behind, because the White king has lost its shelter on e6.

βοΈ Position: White Ke6, Ra7, e5; Black Ke8, Rb8 β White to move. FEN:
1r2k3/R7/4K3/4P3/8/8/8/8 w - - 0 1
Verdict: win for White to move, but only 1.Kf6 or 1.Ra6 (2 of 18 moves). Line: 1.Kf6 Rb1 2.Ra8+ Kd7 3.e6+ Kd6 4.Rd8+ Kc5 5.e7. A rook passively on the back rank lets the king and pawn advance together β the most common way club players lose drawn rook endings.
Chapter 16 mapped every square for the defending rook in a Philidor set-up (White Kd5, Ra7, pawn e5; Black Ke8; White to move): the rook holds on 26 of 60 squares β among them b8 and c8 on the far side of the back rank, while f8βh8, next to the king, lose.
G.2.3 The short-side defence
Rule: when the defending king is cut off from the pawn's file, it goes to the short side (the side with fewer files between the pawn and the edge), leaving the long side free for its rook to check from a distance.

βοΈ Position: White Ke6, Rh7, e5; Black Kf8, Ra1 β White to move. FEN:
5k2/7R/4K3/4P3/8/8/8/r7 w - - 0 1
Verdict: draw with White to move; 13 of 19 White moves keep it a draw, and Black holds by checking from the long side (line: 1.Rh2 Rb1 2.Ra2 Re1 3.Rb2 Ra1 4.Rc2 Rb1 β Black's rook keeps its distance and the White king cannot shelter).

βοΈ Position: White Ke6, Rh7, e5; Black Kd8, Ra1 β White to move. FEN:
3k4/7R/4K3/4P3/8/8/8/r7 w - - 0 1
Verdict: win, with only 1.Rh8+ (DTM 53). Line: 1.Rh8+ Kc7 2.Ke7 Rb1 3.e6 Kc6 4.Rh6 β the Black king and rook are on the same side, the rook has no checking distance, and White's king walks to e7 in front of its pawn.
g03_short_side_wtm.py tested 48 neighbouring positions (White Ke6, pawn e5, rook on a7/b7/g7/h7; Black king d8 or f8; Black rook on a1, a2, b1, g1, h1 or h2; White to move). With White's rook on the g- or h-file, Black never held with the king on d8 (0 of 12) but held in 9 of 12 with the king on f8. With White's rook on the a- or b-file the picture is mixed (the king on d8 held 7 of 12, on f8 6 of 12): the defender's king must stay away from the attacker's rook and leave its own rook room to check.
G.2.4 The VanΔura position

βοΈ Position: White Kd4, Ra8, a6; Black Kg7, Rf6 β White to move. FEN:
R7/6k1/P4r2/8/3K4/8/8/8 w - - 0 1
Verdict: draw β 14 of 17 White moves draw, and the only losing ones (Rh8, Rg8+, Rf8) simply give the rook away. Black's rook on f6 attacks the a-pawn sideways and is ready to check the White king along the 6th rank from a distance; White cannot both free the rook from a8 and keep the pawn.

βοΈ Position: White Kd4, Ra8, a6; Black Kg7, Ra1 β White to move. FEN:
R7/6k1/P7/8/3K4/8/8/r7 w - - 0 1
Verdict: win for White (DTM 63) β move Black's rook from f6 to a1 (behind the pawn, the "natural" square) and White's king walks to b7 to free its rook: 1.Kc5 Kf6 2.Kb6 Rb1+ 3.Ka7. Chapter 16's full map: in the VanΔura set-up (White Kd4, Ra8, pawn a6; Black Kg7; White to move) the defending rook holds on only 7 of 60 squares β b6 through h6, all on the 6th rank.
G.2.5 Rook behind the passed pawn (Tarrasch's rule)

βοΈ Position: White Kg2, Ra1, h3, a5; Black Kg7, Ra8, h6 β White to move. FEN:
r7/6k1/7p/P7/8/7P/6K1/R7 w - - 0 1
Verdict: win β 12 of 19 moves keep it (DTZ 1). Line: 1.a6 Ra7 2.h4 Kg6 3.Ra5 Rb7 4.axb7. The rook behind the pawn gains in activity with every pawn step.

βοΈ Position: White Kg2, Ra8, h3, a5; Black Kg7, Ra1, h6 β White to move. FEN:
R7/6k1/7p/P7/8/7P/6K1/r7 w - - 0 1
Verdict: draw (the three losing moves hang the rook). Same pawns, rooks swapped: now White's rook is in front of its pawn and Black's rook behind it. π€ Engine check: a search engine without tables already sees the difference β Chapter 14 measured +4.61 (depth 16) / +5.33 (depth 24) for the first position and +0.06 / 0.00 for the reversed one.
G.2.6 Two pawns against none

βοΈ Position: White Kg3, Rb1, f5, h5; Black Kf7, Ra2 β White to move. FEN:
8/5k2/8/5P1P/8/6K1/r7/1R6 w - - 0 1
Verdict: draw β 19 of 21 White moves draw (Ra1 and Rb2 lose). The f- and h-pawns are the classic exception: two extra pawns, but the defender's king blockades the f-pawn and the h-pawn cannot be supported without stalemate or a lost f-pawn.

βοΈ Position: White Kg3, Rb1, f5, g5; Black Kg7, Ra2 β White to move. FEN:
8/6k1/8/5PP1/8/6K1/r7/1R6 w - - 0 1
Verdict: win (19 of 21 moves; DTM 33). Connected pawns, by contrast, win almost by themselves. Chapter 16 also verified that R+f+g vs R+g on the same wing is a draw.
G.2.7 Rook endings in practice
| Situation | OTB classical (FIDE bands) | Lichess blitz (Lichess bands) |
|---|---|---|
| R+P vs R, side with the pawn wins / draws (all bands) | 40.4% [38.7β42.1] / 59.1%, n = 3,060 | 44.6% [43.7β45.6] / 36.6%, n = 2,113 |
| R+P vs R, side with the pawn loses | 0.6% | 18.8% |
| R+P vs R at 2400+ (OTB) / 2400+ (Lichess), wins | 28.9% (draws 70.9%, n = 419) | 34.9% (draws 42.3%, n = 103) |
| R+2P vs R+P, side ahead wins / draws | 47.8% / 48.5%, n = 6,258 | 51.0% / 25.2%, n = 4,081 |
| Single-rook ending one pawn up, side ahead wins / draws | 58.5% / 35.7%, n = 11,733 | 57.0% / 14.5%, n = 9,903 |
| β¦two pawns up | 87.0%, n = 3,820 | 68.8%, n = 4,726 |
| Rook reached the 7th: score of the only side to get there | 57.9% (n = 10,390) | 55.4% (n = 9,645) |
The tablebase lets us go one step further and ask whether the right result happened. Chapters 14 and 16 probed samples of real R+P vs R and R+2P vs R+P positions at the moment they arose:

π Figure (described): For three tablebase-verified samples of real games, the bars show the share of theoretical wins that were won and theoretical draws that were held, OTB classical (blue) vs Lichess blitz/rapid (orange). OTB players convert R+P vs R wins 92β94% of the time and hold draws 82β88%; online, R+P vs R wins are converted only 68β73% of the time (R+2P vs R+P: 52.5%) and fewer than two-thirds of draws are held (47.4% in one sample). Knowledge of the Lucena and Philidor is worth the most in exactly the endings that most often arise.
In the Chapter 16 OTB sample, 62% of reached R+P vs R positions were already theoretical draws, and the defenders gave away 0.057 points per game against the attackers' 0.011 β in OTB rook endings it is the defence that leaks points. Even at the top the theory holds: of 34 classical broadcast games between two 2600+ players that passed through R+P vs R, the final result matched the tablebase verdict in 33.

π Figure (described): Win and draw rates of the side a pawn up in single-rook endings, by rating band, OTB classical (blue, FIDE bands) and Lichess blitz (orange, Lichess bands β a different scale). OTB, the winning rate falls from 64.9% at 1400β1599 to 47.0% at 2400+ as the draw rate climbs from 26.9% to 49.8%: stronger defenders know the drawing positions. Online the curves are almost flat, with draws below 20% in every band.
G.3 Minor-piece endings
G.3.1 The wrong rook pawn β

βοΈ Position: White Kg6, Bd1, h6; Black Kh8 β White to move. FEN:
7k/8/6KP/8/8/8/8/3B4 w - - 0 1
Verdict: draw β all 13 White moves draw. The light-squared bishop cannot control h8, so Black's king can never be driven from the corner.

βοΈ Position: White Kg6, Bc1, h6; Black Kh8 β White to move. FEN:
7k/8/6KP/8/8/8/8/2B5 w - - 0 1
Verdict: win β 11 of 12 moves win (only the hasty 1.h7 draws); DTM 5 plies: 1.Ba3 Kg8 2.h7+ Kh8 3.Bb2#. The same rule decides countless endings after a pawn trade: before you exchange into bishop + rook pawn, look at the colour of the queening square.
G.3.2 Bishop and knight against king

βοΈ Position: White Ke1, Bc3, Nd3; Black Ke6 β White to move. FEN:
8/8/4k3/8/8/2BN4/8/4K3 w - - 0 1
Verdict: win β 21 of 22 moves win (only 1.Bf6, hanging the bishop, does not); DTZ and DTM 57 plies, i.e. mate on White's 29th move with best play, comfortably inside the 50-move rule but not by much. The technique: drive the king to the edge, then to a corner of the bishop's colour (a1 or h8 for this dark-squared bishop), with the knight covering the squares of the other colour.

βοΈ Position: White Ke1, Nc3, Nd3; Black Ke6 β White to move. FEN:
8/8/4k3/8/8/2NN4/8/4K3 w - - 0 1
Verdict: draw β all 20 legal moves draw. Two knights can mate only if the defender blunders into it; they cannot force it against a bare king.
G.3.3 Opposite-coloured bishops β

βοΈ Position: White Kd4, Ba4, d5, g5; Black Kd6, Bh4 β White to move. FEN:
8/8/3k4/3P2P1/B2K3b/8/8/8 w - - 0 1
Verdict: draw β all 13 White moves draw. Black's king blockades one pawn on the light squares and the dark-squared bishop holds the other along a diagonal: two pawns up and no way through.

βοΈ Position: White Kd4, Ba4, b5, g5; Black Kd6, Bh4 β White to move. FEN:
8/8/3k4/1P4P1/B2K3b/8/8/8 w - - 0 1
Verdict: win with only 1.g6 (DTM 49). Line: 1.g6 Bf2+ 2.Kc4 Ke6 3.Bd1 Bg1 4.Bh5. When the passed pawns are far enough apart, the defending king cannot blockade one and help the bishop against the other. Chapter 17 gives the practical rule: two files apart usually draws, three or more often wins β but check, because a single tempo changes the verdict.
G.3.4 Bishop against knight with pawns on both wings

βοΈ Position: White Ke3, Bc2, a4, h4; Black Ke5, Nf6, h5 β White to move. FEN:
8/8/5n2/4k2p/P6P/4K3/2B5/8 w - - 0 1
Verdict: win β 11 of 14 moves win (the three exceptions hang the bishop). The bishop guards the outside a-pawn from afar while the king attacks on the other wing.

βοΈ Position: White Ke3, Nc2, a4, h4; Black Ke5, Bf6, h5 β White to move. FEN:
8/8/5b2/4k2p/P6P/4K3/2N5/8 w - - 0 1
Verdict: draw β every White move draws. A knight cannot defend a far-advanced pawn on one wing and help on the other at the same time.
G.3.5 Minor-piece endings in practice
| Situation (OTB unless stated) | Result |
|---|---|
| Bishop vs knight, level pawns: bishop side's score | 46.8% [45.4β48.1], n = 5,180 (Lichess 46.9%) β no edge for the bishop |
| β¦with a good bishop / a bad bishop | 51.9% (n = 1,993) / 36.4% [32.5β40.6] (n = 534) |
| One pawn up, OTB classical, side ahead wins | N vs N 64.6%; same-coloured B 66.3%; opposite-coloured B 31.8% (draws 66.1%); B vs N: bishop +1 62.8%, knight +1 69.7% |
| Pure opposite-coloured bishop endings drawn (all / one pawn up / two pawns up) | 61.1% (n = 5,564) / 64.6% (n = 2,410) / 25.9% (n = 911) β Lichess 25.5% all |
| Opposite-coloured bishops with a rook each, drawn (one pawn up) | 40.3% (n = 3,728) |
| Bishop pair vs bishop + knight, level pawns: bishop-pair side | 64.0% [61.8β66.1], n = 1,855 |
The opposite-coloured-bishop rows are the practical face of positions 28β29: with bishops alone, one extra pawn is drawn two-thirds of the time OTB, and the draw rate rises with strength (60.3% at FIDE 1600β1799 to 72.6% at 2400+, Chapter 17). Add a rook each and the fortress largely disappears (40.3%). Online, where defenders rarely build the fortress in time, pure opposite-bishop endings are drawn only about a quarter of the time.
G.4 Queen endings and other material
G.4.1 Queen against a pawn on the seventh β

βοΈ Position: White Kg8, Qh1; Black Kc2, d2 β White to move. FEN:
6K1/8/8/8/8/8/2kp4/7Q w - - 0 1
Verdict: win with only 5 of 26 moves (1.Qe4+, 1.Qc6+, 1.Qh2, 1.Qg2, 1.Qh7+); DTZ 44, DTM 47 plies. The method is the staircase: checks and pins that force the defending king onto the queening square in front of its own pawn, each time gaining one tempo for White's king to approach: 1.Qe4+ Kc1 2.Qc4+ Kb1 3.Qb3+ Kc1 4.Qc3+ Kd1 5.Kf7.

βοΈ Position: White Kg8, Qh1; Black Kb2, c2 β White to move. FEN:
6K1/8/8/8/8/8/1kp5/7Q w - - 0 1
Verdict: draw β 22 of 26 White moves draw and the other four lose the queen. With a bishop pawn the defender answers the staircase with β¦Ka1!: taking the pawn on c2 would be stalemate.

βοΈ Position: White Kg8, Qh1; Black Kb2, a2 β White to move. FEN:
6K1/8/8/8/8/8/pk6/7Q w - - 0 1
Verdict: draw (23 of 26 moves; the rest lose the queen). With a rook pawn the defending king simply sits in the corner and stalemate again saves it.
β οΈ Common pitfall: "the c-pawn and a-pawn draw" is true only when the attacking king is far away. Chapter 18 probed all 54 legal squares for White's king with the defending king beside its pawn: b- and d-pawns lose from every square, the c-pawn loses from 9 of 54 and the a-pawn from 15 of 54 β the squares where White's king is close enough to help mate before the stalemate defence works.
G.4.2 Queen against rook

βοΈ Position: White Kd6, Qe1; Black Kd8, Rc2 β White to move. FEN:
3k4/8/3K4/8/8/8/2r5/4Q3 w - - 0 1
Verdict: win β 17 of 24 moves win; DTZ 5, DTM 13 plies. The tablebase line shows the rook's fate: 1.Qe3 Kc8 2.Qh3+ Kb7 3.Qb3+ Ka6 4.Qxc2. In practice K+Q vs K+R is converted 92.6% of the time OTB (n = 94 tablebase wins in a sample of 100 games) and 83.3% on Lichess (Chapter 18).
G.4.3 Rook and bishop against rook

βοΈ Position: White Kd1, Rc1, Bc2; Black Kd6, Rh4 β White to move. FEN:
8/8/3k4/8/7r/8/2B5/2RK4 w - - 0 1
Verdict: draw β all 13 legal moves draw. Rook and bishop against rook is a theoretical draw in general (there are winning positions, Philidor's among them, but the defender reaches a safe set-up from most starting points). It matters for the clock: Chapter 18 found that among OTB games ending with the halfmove counter at 100 or more, rook + bishop against rook was the most frequent material balance (53 games), and that in a sample of 60 drawn OTB endings with at most seven pieces, 13 (21.7%) were still tablebase wins with a fresh 50-move count β four of them R+B vs R.
G.4.4 Queen endings in practice
| Situation (OTB classical unless stated) | Result |
|---|---|
| Queen ending exactly one pawn up, side ahead wins | 54.6% [51.8β57.4], draws 39.9%, n = 1,208 (single-rook ending: 60.6%) |
| β¦at FIDE 2400+ | 37.0% wins, 58.7% draws (n = 138) |
| Level-pawn queen endings drawn | 59.0% (n = 1,132); 71.4% at 2400+ (n = 140); Lichess blitz 20.2% (n = 860) |
| Drawn queen endings that ended in perpetual check | 35.8% [34.6β36.9] of 6,641 (rook endings: 8.3%) |
| Q+P vs Q: tablebase wins converted / tablebase draws still won by the pawn side | 74.3% / 28.3% (OTB sample of 150) |
Queen endings are the place where the tablebase and the scoreboard disagree most often: a third of the theoretical draws in Chapter 18's Q+P vs Q sample were still lost by the defender, because the checking defence demands exact calculation for dozens of moves.
G.5 Using the reference positions with your own games
π Try it β Endgame technique. Take the Philidor position (G.2.2) and play the Black side against Stockfish at full strength for ten games, starting each time with a different one of the eight drawing moves. Then do the same with the short-side position (G.2.3). Worked answer: after 1β¦Rb1 (checking from behind at once) the engine will push 2.e6 β keep checking from behind and never let the king hide on e6 with your rook on the back rank; after 1β¦Rc6 wait for e5βe6 and only then drop the rook. If you lose a game, run g01_reference_positions.py's tb_line() from the position after your last move β it will show the move that changed the verdict.
π Try it β Database research. Find the first position of each game in your own archive where seven or fewer pieces remain, probe it with chessdata.tablebase(), and compare the verdict with the result. Worked answer: the loop is the same as g01: replay, stop at len(board.piece_map()) <= 7, probe, then classify each game as "won as theory says", "spoiled win", "held draw" or "lost draw". Your spoiled-win and lost-draw rates are directly comparable with the tables above if you play mostly blitz on Lichess; compare with the OTB rows only if you play OTB classical.
π Check your understanding
- Why does 1.Ke2 win in the opposition position (G.1.2) while 1.Kf2 draws?
- In the VanΔura position, why is the rook on f6 better than the "natural" a1?
- Name the two pawns (by file) that draw against a queen on the seventh rank when the attacking king is far away, and the trick that saves them.
Answer
- After 1.Ke2 White's king keeps the opposition against Black's king on its way to the squares in front of the b-pawn (1β¦Kd7 2.Kd3 Kc7 3.Kc3 Kc6 4.Kb4); after 1.Kf2, or any of the other five moves, the tablebase shows Black's king arriving in front of the pawn in time β a draw.
- From f6 the rook attacks the pawn sideways (so White's rook must stay on a8 to defend it) and checks White's king along the 6th rank from a distance; from a1 it is passive, and White's king simply walks to b7 to free the rook (the tablebase: win, DTM 63).
- The bishop pawn (c/f) and the rook pawn (a/h): the defender's king goes to the corner (β¦Ka1) so that capturing the pawn would be stalemate.
G.6 Summary table
β = learn first.
| # | Position | Material | Side to move | Tablebase verdict | Moves that keep it | Chapter |
|---|---|---|---|---|---|---|
| 1 β | King on a key square | K+P vs K | Black | White wins (DTM 28) | β (all lose) | 14, 15 |
| 2 | King behind the pawn | K+P vs K | White | Draw | 8 of 8 | 14 |
| 3 β | Opposition | K+P vs K | White | Win | only Ke2 | 15 |
| 4 | Distant opposition | K+P vs K | White | Win | only Kg2 | 15 |
| 5 | Defender's opposition | K+P vs K | Black | Draw | only Kd7 | 15 |
| 6 | Rook pawn | K+P vs K | White | Draw | 4 of 4 | 14 |
| 7 | Square and shouldering | K+P vs K | Black | White wins | β | 15 |
| 8 | Pawn race | K+P vs K+P | White | Win | only a6 | 15 |
| 9 β | RΓ©ti | K+P vs K+P | White | Draw | only Kg7 | 15 |
| 10 | Triangulation | K+3P vs K+2P | White | Win | Kb3, Kc3, Ka4 | 15 |
| 11 | Outside passed pawn | K+2P vs K+P | White | Win | 8 of 8 | 15 |
| 37 | Breakthrough | K+3P vs K+3P | White | +6.16 (SF19, d20) | only b6 | 15 |
| 12 β | Lucena | R+P vs R | White | Win (DTM 41) | 12 of 14 | 14, 16 |
| 13 | Rook-pawn "Lucena" | R+P vs R | White | Draw | 14 of 14 | 16 |
| 14 β | Philidor | R+P vs R | Black | Draw | 8 of 16 | 14, 16 |
| 15 | Passive defence | R+P vs R | White | Win | Kf6, Ra6 | 14 |
| 16 β | Short side | R+P vs R | White | Draw | 13 of 19 | 16 |
| 17 | Long side | R+P vs R | White | Win (DTM 53) | only Rh8+ | 16 |
| 18 β | VanΔura | R+P vs R | White | Draw | 14 of 17 | 16 |
| 19 | Rook behind the a-pawn | R+P vs R | White | Win (DTM 63) | 8 of 17 | 16 |
| 20 | Rook behind passed pawn | R+2P vs R+P | White | Win | 12 of 19 | 14, 16 |
| 21 | Rooks reversed | R+2P vs R+P | White | Draw | 12 of 15 | 14, 16 |
| 22 | f- and h-pawns | R+2P vs R | White | Draw | 19 of 21 | 16 |
| 23 | f- and g-pawns | R+2P vs R | White | Win (DTM 33) | 19 of 21 | 16 |
| 24 β | Wrong rook pawn | B+P vs K | White | Draw | 13 of 13 | 14 |
| 25 | Right rook pawn | B+P vs K | White | Win (DTM 5) | 11 of 12 | 14 |
| 26 | B+N mate | B+N vs K | White | Win (DTM 57) | 21 of 22 | 14 |
| 27 | Two knights | N+N vs K | White | Draw | 20 of 20 | 14 |
| 28 β | OCB, pawns two files apart | B+2P vs B | White | Draw | 13 of 13 | 17 |
| 29 | OCB, pawns four files apart | B+2P vs B | White | Win (DTM 49) | only g6 | 17 |
| 30 | B vs N, both wings | B+2P vs N+P | White | Win | 11 of 14 | 17 |
| 31 | N vs B, both wings | N+2P vs B+P | White | Draw | 11 of 11 | 17 |
| 32 β | Q vs c-pawn | Q vs P | White | Draw | 22 of 26 | 14, 18 |
| 33 β | Q vs d-pawn | Q vs P | White | Win (DTM 47) | 5 of 26 | 14, 18 |
| 34 | Q vs a-pawn | Q vs P | White | Draw | 23 of 26 | 18 |
| 35 | Q vs R | Q vs R | White | Win (DTM 13) | 17 of 24 | 18 |
| 36 | R+B vs R | R+B vs R | White | Draw | 13 of 13 | 18 |
Reproducing this appendix
Script (in appendices/code/) |
What it does |
|---|---|
g01_reference_positions.py |
All 37 diagrams; tablebase verdict, result-keeping moves and DTZ-optimal line for 36 positions; Stockfish 19 for the breakthrough |
g02_short_side.py |
Tablebase map of defending-rook squares in the short-side set-up, Black to move (128 positions) |
g03_short_side_wtm.py |
The 48-position short-side grid with White to move quoted in G.2.3 |
g04_charts.py |
Figures 01β02 from the book's endgame reference tables |
All tablebase answers come from the Syzygy tables served at tablebase.lichess.ovh and are cached in data/cache/tablebase.sqlite, so the scripts re-run offline once the cache is warm. If you extend them, keep the pacing: the endpoint is a free public service, and one request at a time with a short pause is the polite way to use it.