# Deep Blue versus Garry Kasparov

* February 10–17, 1996: held in Philadelphia, Pennsylvania
* Result: Kasparov–Deep Blue (4–2)
* Record set: First computer program to defeat a world champion in a classical game under tournament regulations
Second match (rematch)
* May 3–11, 1997: held in New York City, New York
* Result: Deep Blue–Kasparov (3½–2½)
* Record set: First computer program to defeat a world champion in a match under tournament regulations
Deep Blue versus Garry Kasparov was a pair of six-game chess matches between then-world chess champion Garry Kasparov and an IBM supercomputer called Deep Blue. Kasparov won the first match, held in Philadelphia in 1996, by 4–2. Deep Blue won a 1997 rematch held in New York City by 3½–2½. The second match was the first defeat of a reigning world chess champion by a computer under tournament conditions, and was the subject of a documentary film, Game Over: Kasparov and the Machine.

## Impact and symbolic significance

Both matches were widely covered by the media, and Deep Blue became a celebrity. After the match, it was reported that IBM had dismantled Deep Blue, but in fact it remained in operation for several years.
Prizes were awarded for both matches by the sponsor, IBM Research, with Deep Blue's share going back to IBM. For the first match, the winner was awarded $400,000 and the loser $100,000; for the second match, the winner was awarded $700,000 and the loser $400,000. Carnegie Mellon University awarded an additional $100,000 to the Deep Blue team, a prize created by computer science professor Edward Fredkin in 1980 for the first computer program to beat a reigning world chess champion.
Deep Blue's win was seen as symbolically significant, a sign that artificial intelligence was catching up to human intelligence, and could defeat one of humanity's great intellectual champions. Later analysis tended to play down Kasparov's loss as a result of uncharacteristically bad play on Kasparov's part, and play down the intellectual value of chess as a game that can be defeated by brute force.
In a podcast discussion in December 2016, Kasparov reflected on his views of the match. He mentioned that after thorough research and introspection while writing a book, his perspective shifted. He acknowledged his increased respect for the Deep Blue team and a decrease in his opinion of both his own and Deep Blue's performance. He also noted the evolution of chess engines, and that modern ones easily surpass Deep Blue.
After Deep Blue's victory, the ancient Chinese game of Go, a game of simple rules and far more possible moves than chess, became the canonical example of a game where humans outmatched machines. Go requires more intuition and is far less susceptible to brute force. It is widely played in China, South Korea, and Japan, and was considered one of the four arts of the Chinese scholar in antiquity. In 1997, many players with less than a year of experience could beat the best Go programs. But the programs gradually improved, and in 2015, Google DeepMind's AlphaGo program defeated the European Go champion Fan Hui in a private match. It then surprisingly defeated top-ranked Lee Sedol in the match AlphaGo versus Lee Sedol in 2016. While Deep Blue mainly relied on brute computational force to evaluate millions of positions, AlphaGo also relied on neural networks and reinforcement learning.

## Summary

The 1996 match :
| Game # | White | Black | Result | Method of conclusion |
| 1 | Deep Blue | Kasparov | 1–0 | Resignation |
| 2 | Kasparov | Deep Blue | 1–0 | Resignation |
| 3 | Deep Blue | Kasparov | ½–½ | Draw by mutual agreement |
| 4 | Kasparov | Deep Blue | ½–½ | Draw by mutual agreement |
| 5 | Deep Blue | Kasparov | 0–1 | Resignation |
| 6 | Kasparov | Deep Blue | 1–0 | Resignation |
| Result: Kasparov–Deep Blue: 4–2 |||||
The 1997 rematch :
| Game # | White | Black | Result | Method of conclusion |
| 1 | Kasparov | Deep Blue | 1–0 | Resignation |
| 2 | Deep Blue | Kasparov | 1–0 | Resignation |
| 3 | Kasparov | Deep Blue | ½–½ | Draw by mutual agreement |
| 4 | Deep Blue | Kasparov | ½–½ | Draw by mutual agreement |
| 5 | Kasparov | Deep Blue | ½–½ | Draw by mutual agreement |
| 6 | Deep Blue | Kasparov | 1–0 | Resignation |
| Result: Deep Blue–Kasparov: 3½–2½ |||||

## 1996 match
### Game 1

| | a | b | c | d | e | f | g | h | |
| 8 | | | | | | | | | 8 |
| 7 | | | | | | | | | 7 |
| 6 | | | | | | | | | 6 |
| 5 | | | | | | | | | 5 |
| 4 | | | | | | | | | 4 |
| 3 | | | | | | | | | 3 |
| 2 | | | | | | | | | 2 |
| 1 | | | | | | | | | 1 |
| | a | b | c | d | e | f | g | h | |
February 10. The first game began with the Sicilian Defence, Alapin Variation. The first game of the 1996 match was the first game to be won by a chess-playing computer against a reigning world champion under normal chess tournament conditions, and in particular, classical time controls.

### Game 2

| | a | b | c | d | e | f | g | h | |
| 8 | | | | | | | | | 8 |
| 7 | | | | | | | | | 7 |
| 6 | | | | | | | | | 6 |
| 5 | | | | | | | | | 5 |
| 4 | | | | | | | | | 4 |
| 3 | | | | | | | | | 3 |
| 2 | | | | | | | | | 2 |
| 1 | | | | | | | | | 1 |
| | a | b | c | d | e | f | g | h | |
February 11. The second game transposed to an open line of the Catalan Opening. Kasparov played in what could be called a preemptive style, blocking all Deep Blue's development attempts. The game lasted for 73 moves but eventually Deep Blue's operator had to resign the game. Though an opposite-colored bishops ending tends to be drawish, Kasparov had three connected passed pawns to Deep Blue's single passed pawn.
Deep Blue had a configuration error so it played the entire game without its opening book, but its "extended book" managed to reproduce opening theory up to move 13, by scoring moves based on its dataset of 700,000 previous grandmaster games.

### Game 3

February 13. As in the first game, Kasparov played the Sicilian Defence to which Deep Blue again responded with the Alapin Variation. The game lasted for 39 moves and was drawn.

### Game 4

February 14. The fourth game was the second to end in a draw, although at one point Deep Blue's team declined Kasparov's draw offer. The opening transposed to a line of the Queen's Gambit Declined.

### Game 5

February 16. The fifth game was the turning point of the match. Its opening transposed to the Scotch Four Knights Game, an opening combining the characteristics of the Scotch Game and the Four Knights Game. Game 5 was considered an embarrassment for the Deep Blue team because they had declined Kasparov's draw offer after the 23rd move. This was the only game in the match that Black won.

### Game 6

| | a | b | c | d | e | f | g | h | |
| 8 | | | | | | | | | 8 |
| 7 | | | | | | | | | 7 |
| 6 | | | | | | | | | 6 |
| 5 | | | | | | | | | 5 |
| 4 | | | | | | | | | 4 |
| 3 | | | | | | | | | 3 |
| 2 | | | | | | | | | 2 |
| 1 | | | | | | | | | 1 |
| | a | b | c | d | e | f | g | h | |
February 17. The sixth game, like the fourth, transposed to the same line of the Queen's Gambit Declined. The final game was an illustration of just how badly chess engines of the time could play in some positions. Employing anti-computer tactics and keeping the focus of the game on long-term planning, Kasparov slowly improved his position throughout the mid-game while Deep Blue wasted time doing very little to improve its position. By the end of the game, Deep Blue's pieces were crammed into its queenside corner, with no moves to make aside from shuffling its king. Kasparov had all the time in the world to finish the rout. Kasparov's next move would probably have been 44.Qe7 to exchange the queens. That would have allowed his passed pawn, which was near promotion, to advance, leading to the win of one of Black's rooks.

## 1997 rematch
### Game 1

May 3. The 1997 rematch began with a line of the Réti Opening which later developed into the King's Indian Attack. Kasparov won the game in 45 moves.
Deep Blue's 44th move in this game was allegedly the result of a bug in which Deep Blue, unable to determine a desirable move, resorted to a fail-safe.

### Game 2

| | a | b | c | d | e | f | g | h | |
| 8 | | | | | | | | | 8 |
| 7 | | | | | | | | | 7 |
| 6 | | | | | | | | | 6 |
| 5 | | | | | | | | | 5 |
| 4 | | | | | | | | | 4 |
| 3 | | | | | | | | | 3 |
| 2 | | | | | | | | | 2 |
| 1 | | | | | | | | | 1 |
| | a | b | c | d | e | f | g | h | |
May 4. The second game began with the Ruy Lopez opening, Smyslov Variation. Kasparov eventually resigned, although post-game analysis indicates that he could have held a draw in the final position. After this game Kasparov accused IBM of cheating, by alleging that a grandmaster (presumably a top rival) had been behind a certain move. The claim was repeated in the documentary Game Over: Kasparov and the Machine.
Deep Blue's first nine moves were from the opening book. The next moves were computed based on the extended book. After move 19. ... Nh4, the game was outside the extended book.
At the time it was reported that Kasparov missed the fact that after 45...Qe3 46.Qxd6 Re8, Black (Kasparov) can force a draw by perpetual check. His friends told him so the next morning. They suggested 47.h4 h5!, a position after which the black queen can perpetually check White. This is possible as Deep Blue moved 44.Kf1 instead of an alternative move of its king. Regarding the end of game 2 and 44.Kf1 in particular, chess journalist Mig Greengard in the Game Over film states, "It turns out, that the position in, here at the end is actually a draw, and that, one of Deep Blue's final moves was a terrible error, because Deep Blue has two choices here. It can move its king here or move its king over here. It picked the wrong place to step." Another person in that film, four-time US champion Yasser Seirawan, then concludes that "The computer had left its king a little un-defended. And Garry could have threatened a perpetual check, not a win but a perpetual check."
The moves that surprised Kasparov enough to allege cheating were 36.axb5! axb5 37.Be4! after which Black is lost. A more materialistic machine could have won two pawns with 36.Qb6 Rd8 37.axb5 Rab8 38.Qxa6, but after 38...e4! Black would have acquired strong counterplay. Deep Blue could have also won material with the move 37.Qb6. Kasparov and many others thought the move 37.Be4! ignored material gain by force and was too sophisticated for a computer, suggesting there had been some sort of human intervention during the game.

### Game 3

May 6. In the third game, Kasparov chose to employ the irregular 1.d3, the Mieses Opening. The game then transposed to a line of the English Opening. Kasparov believed that by playing an esoteric opening, the computer would get out of its opening book and play the opening worse than it would have done using the book. Despite this anti-computer tactic, the game was drawn.

### Game 4

May 7. The fourth game began with the initial moves defining the Caro–Kann Defence (1.e4 c6); however, the opening then transposed to the Pirc Defense. Kasparov got into time trouble late in the game. The sub-optimal moves he played in a hurry may have cost him victory. The game ended with a draw.

### Game 5

| | a | b | c | d | e | f | g | h | |
| 8 | | | | | | | | | 8 |
| 7 | | | | | | | | | 7 |
| 6 | | | | | | | | | 6 |
| 5 | | | | | | | | | 5 |
| 4 | | | | | | | | | 4 |
| 3 | | | | | | | | | 3 |
| 2 | | | | | | | | | 2 |
| 1 | | | | | | | | | 1 |
| | a | b | c | d | e | f | g | h | |
May 10. The fifth game of the rematch began identically with the first, with a line of the Réti Opening developing into the King's Indian Attack. As in the fourth game, Deep Blue played a brilliant endgame that secured a draw, when it was looking as if Kasparov would win. It was later discovered that Kasparov had a win beginning with 44.Rg7+.
If White plays 50.g8=Q, then Black can force a draw by threefold repetition, starting with 50...Rd1+ and then 51...Rd2+.

### Game 6

| | a | b | c | d | e | f | g | h | |
| 8 | | | | | | | | | 8 |
| 7 | | | | | | | | | 7 |
| 6 | | | | | | | | | 6 |
| 5 | | | | | | | | | 5 |
| 4 | | | | | | | | | 4 |
| 3 | | | | | | | | | 3 |
| 2 | | | | | | | | | 2 |
| 1 | | | | | | | | | 1 |
| | a | b | c | d | e | f | g | h | |
May 11. The final, deciding game of the rematch was a miniature, by far the shortest of any played during either match. Before the sixth game, the overall score was even: 2½–2½. As in game 4, Kasparov played the Caro–Kann Defence. Deep Blue made a knight sacrifice which wrecked Kasparov's defense and forced him to resign in less than twenty moves. As Kasparov later recounts, he chose to play a dubious opening in an effort to put Deep Blue out of its comfort zone. Although the knight sacrifice is a well-known refutation, Kasparov reasoned that an engine wouldn't play the move without a concrete gain.