Case Study 1 — Kasparov vs Deep Blue, New York 1997, Through Stockfish 19
Setup
The 1997 rematch between Garry Kasparov and IBM's Deep Blue is the most famous man-versus-machine event in chess. Its result is not in doubt — Deep Blue won 3½–2½, after Kasparov had won the 1996 match 4–2 — and both scores reproduce exactly from the twelve game results in our master-games data. What is worth asking, nearly thirty years later, is what a far stronger engine thinks of the two games Deep Blue won. Were they machine brilliance, human collapse, or something in between?
We use code/06_deep_blue.py and code/case_study_01.py. Every game is loaded from the PGN Mentor
collection in the book's data (event "New York man vs machine", master_games 52820 for game 2 and 52879 for
game 6) and analysed with Stockfish 19: every move at depth 16, the critical positions again at depths
20 and 24. All evaluations are from White's point of view, and White in both games is Deep Blue.
Two caveats before we start. First, old game records can contain transcription variants; we work from the record as it is in the data and say so where it matters. Second, a modern engine judges a 1997 game with knowledge neither player had — this is a measurement, not a verdict on either player.
The games
Game 2: the quiet move
Game 2 was a Ruy Lopez (ECO C93) in which Deep Blue, with White, slowly squeezed Kasparov's position on the queenside. The full record runs to 45...h5 (90 plies). Stockfish 19's view of the whole game:

📊 Figure (described): White's win probability (book win-% model) after every ply of game 2 at depth 16. The game stays in a narrow band around 53–62% for White for 60 plies, climbs steadily after move 35 as White's queenside pressure grows, dips at 45.Ra6 and ends at 97% after the record's last move 45...h5. The three labelled moves are the largest single swings.
=== 1997 game 2: Comp Deep Blue - Kasparov, Gary 1-0 (master_games 52820) ===
moves acpl accuracy inaccuracies mistakes blunders
side
black 45 36.8 92.4 3 0 1
white 45 17.4 94.9 2 0 1
ply move_no side san eval_before eval_after best_move_san wp_drop
64 32 black Bf8 50.0 159.0 a5 9.642421
89 45 white Ra6 456.0 124.0 Qxb6 23.057379
90 45 black h5 124.0 1000.0 Qe3 36.324539
The critical middlegame decision came at moves 36 and 37. Deep Blue played 36.axb5 and then 37.Be4, a quiet bishop move, instead of a queen raid on b6. Kasparov later voiced suspicions about some of the machine's play in the match, and decisions of this kind — quiet, positional, "human-looking" — were at the centre of that debate. Here is Stockfish 19's view of both moments:

♟️ Position: White Kg1, Qf2, Ra1, Ra2, Bc2, b4, c3, d5, f5, g2, h3; Black Kg8, Qe8, Ra8, Rc8, Bd6, b5, c4, e5, f6, g7, h6 — White to move. FEN:
r1r1q1k1/6p1/3b1p1p/1p1PpP2/1Pp5/2P4P/R1B2QP1/R5K1 w - - 0 37
before White's 36th move (game 36.axb5): multipv 3 depth 20: Qb6 +1.35; axb5 +1.19; Qe1 +0.17
before White's 37th move (game move 37.Be4):
multipv 3 depth 20: Be4 +1.29; Qb6 +0.47; Rxa8 +0.00
multipv 3 depth 24: Be4 +1.03; Qb6 +0.44; Rxa8 +0.00
single-line depth 24: +1.19 best Be4; PV Be4 Qd8 Kf1 Rxa2 Qxa2 Rb8 Ke1 Kf8
🤖 Engine check: at move 36 Stockfish 19 (multi-PV 3, depth 20) slightly prefers 36.Qb6 (+1.35) to the game's 36.axb5 (+1.19) — two good moves 0.16 apart, a difference well inside the depth-to-depth noise of Chapter 23. At move 37 it is unambiguous: 37.Be4 is Stockfish 19's first choice at depth 20 and depth 24, single-line and multi-PV (+1.03 to +1.29), and the queen raid 37.Qb6 is clearly worse (+0.44). In human terms: grabbing on b6 lets Black's pieces back into play, while 37.Be4 keeps the light-squared bishop on the long diagonal, covers the a8-rook's entry squares and leaves Black with nothing to do. The modern engine sides with the quiet move the machine played.
Then the ending. After 45.Ra6, the record has Black play 45...h5, after which Stockfish 19 rates White completely winning (+11.71 at depth 20, +18.16 at depth 24). The position one ply earlier is more interesting:

♟️ Position: White Kf1, Qc6, Ra6, Be4, b4, c3, d5, f5, g2, h3; Black Kf7, Qb6, Rb8, Bd6, b5, c4, e5, f6, g7, h6 — Black to move. FEN:
1r6/5kp1/RqQb1p1p/1p1PpP2/1Pp1B3/2P4P/6P1/5K2 b - - 14 45
position after 45.Ra6 (Black to move); the record's last move is 45...h5
depth 20: +0.55 best Qe3; PV Qe3 Qxd6 Re8 Qc7+ Re7 Qc6 Qxe4 d6 Qd3+ Kg1 Re8 Kh2
depth 24: +1.31 best Qe3; PV Qe3 Qxd6 Re8 Qd7+ Re7 Qc6 Qxe4 d6 Qxf5+ Kg1 Rd7 Qxb5
depth 30: +1.11 best Qe3; PV Qe3 Qxd6 Re8 Qd7+ Re7 Qc6 Qxe4 d6 Qxf5+ Kg1 Rd7 Qxb5
multipv 3 at depth 24: Qe3 +1.10; Qxc6 +5.31; Qd8 +7.02
🤖 Engine check: with Black to move after 45.Ra6, 45...Qe3 is the only move that keeps Black in the game: +1.10 to +1.31 at depths 24–30, against +5.31 or worse for everything else (multi-PV 3, depth 24). The idea is counterattack — the queen heads for White's exposed king, and after 46.Qxd6 Re8 Black's queen gets checks and the e4-bishop. Published accounts of the match say that analysts found a saving resource in this final phase after the game had ended. Stockfish 19 confirms that 45...Qe3 is by far the best try, but at depths 24–30 it still rates White clearly better (about +1.1), not a dead draw. A legend, checked, becomes "Black had real counterplay he did not use", which is a different — and more useful — statement.
Notice also the depth-16 graph's other big swing: Deep Blue's own 45.Ra6 dropped the evaluation from +4.56 to +1.24 (depth 16), where 45.Qxb6 was much stronger. The machine that played 37.Be4 so well was not flawless in the final phase either.
Game 6: the opening that ended the match
Game 6 is in the chapter's hook: 7...h6 8.Nxe6, and Black resigned after White's 19th move.

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bc1, Bd3, Nf3, Ng5, a2, b2, c2, d4, f2, g2, h2; Black Ke8, Qd8, Ra8, Rh8, Bc8, Bf8, Nd7, Nf6, a7, b7, c6, e6, f7, g7, h6 — White to move. FEN:
r1bqkb1r/pp1n1pp1/2p1pn1p/6N1/3P4/3B1N2/PPP2PPP/R1BQK2R w KQkq - 0 8
=== 1997 game 6: Comp Deep Blue - Kasparov, Gary 1-0 (master_games 52879) ===
moves acpl accuracy inaccuracies mistakes blunders
side
black 18 36.1 90.2 5 0 0
white 19 7.3 97.7 0 0 0
ply move_no side san eval_before eval_after best_move_san wp_drop
14 7 black h6 36.0 135.0 Bd6 8.868278
16 8 black Qe7 129.0 214.0 fxe6 7.083049
28 14 black Kc8 259.0 362.0 a5 6.947168
The three largest swings are all Kasparov's, and the first is 7...h6 itself (+0.36 → +1.35 at depth 16; +0.40 → +0.98 at depth 24). There is no single blunder in Black's play — no move costs 15 win-% points — but five inaccuracies in eighteen moves, each making a difficult position worse. Deep Blue's 19 moves have an average centipawn loss of 7.3 at depth 16 and not one inaccuracy.

♟️ Position: White Kg1, Qd3, Ra1, Bg3, Nf3, b2, c4, d4, f2, g2, h2; Black Kc8, Ra8, Rh8, Bc6, Be7, Nd5, Nd7, a7, b5, f5, g7, h6 — Black to move. FEN:
r1k4r/p2nb1p1/2b4p/1p1n1p2/2PP4/3Q1NB1/1P3PPP/R5K1 b - - 0 19
The final position is +6.42 (Stockfish 19, depth 20). On material Black is not worse — two rooks, two bishops and two knights against queen, rook, bishop and knight — but the c4-pawn hits the d5-knight, Black's king on c8 is boxed in by its own pieces, the rooks are disconnected, and White's queen, rook and bishop all have open lines towards the king. Stockfish's main line (19...bxc4 20.Qxc4 Nb4 21.Re1 Re8 22.Rxe7) shows how quickly the loose black pieces fall. It is a position no grandmaster would want to defend against a machine.
Analysis
Three conclusions survive a modern engine's scrutiny.
- Deep Blue's famous decisions were good by today's standard. 8.Nxe6 in game 6 and 37.Be4 in game 2 are both Stockfish 19's first choices at depth 24. Whatever one thinks of the 1997 controversy, a modern engine plays the same moves.
- Kasparov lost the match in two games of unusually low accuracy for him: ACPL 44.2 (game 2) and 44.9 (game 6) at depth 16, against 9.4–13.5 in the three drawn games and 13.5 in his win. In game 6 the damage came from the opening choice; in game 2 from a long squeeze and then the final phase.
- Deep Blue was not perfect either. 45.Ra6 in game 2 halved its advantage by the depth-16 measure, and across the 1997 match its ACPL (15.8) was close to Kasparov's (19.0).
What it means (and doesn't)
It means the 1997 result was not a fluke of one blunder: in its two wins the machine played precisely and the human did not. It does not mean Deep Blue was "stronger" in any rating sense — six games is far too few (Chapter 30), and Kasparov's 1996 win over an earlier version stands. It does not settle the 1997 controversy either; an engine can tell us a move is strong, not who chose it. And it does not mean modern engines "agree with Deep Blue" in general: we checked a handful of positions, not its whole repertoire.
Discussion questions
- Kasparov's accuracy in the two lost games was far below his level in the other games of the match. List three non-chess reasons (match situation, opponent, conditions) that might explain it, and say how you could test any of them with data.
- Stockfish 19 rates 45...Qe3 at +0.55 (depth 20), +1.31 (depth 24) and +1.11 (depth 30). What does that spread tell you about quoting a single number for a "drawn or lost?" question?
- Why is it more useful for a club player to study game 6's opening than game 2's ending?
- If you had to defend Deep Blue against the charge that 37.Be4 was "too human", which numbers from this case study would you use, and what would they not prove?
Your turn
Run engine.analyse_game at depth 16 on game 1 of the 1997 match (master_games 52819, Kasparov's only win)
and on game 1 of 1996 (52794, Deep Blue's first win). For each, report both sides' ACPL and the three
critical moments, and draw a board of the single largest swing with Stockfish's best move. Then compare:
does the loser's largest error come early (opening/middlegame) or late? Write a 200-word summary that
uses depth-stated evaluations only.