public
Last active

Code to Visualize "Pianograms" - Winner-take-all type plots given two or more players. In this example, we plot Kasparov vs Karpov's Wins - sliced yearly, 5-year and decade-wise buckets. Code accompanies this blog post:

  • Download Gist
k_vs_k_plotting.R
R
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
rm(list=ls())
library(ggplot2)
library(plyr)
library(reshape2)
 
 
df <- read.csv("~/RStats/data/KvsK_lifetime.csv", stringsAsFactors=F, strip.white=T)
df <- arrange(df, game) #use plyr's arrange to Sort by Game Number
 
#For ease drop the Opening, Event.Locale columns and Moves Columns
df <- df[, c(1,2,5, 3)]
 
#Who had White? Create a new column
df$GK.white <- ifelse(df$KvsK == "Karpov vs Kasparov", 0, 1)
 
#Create to new column for the Winner.
df$GK.won <- 0 # we will be overwriting this column in instances where GK Won
for (g in 1:nrow(df)) {
if(df$result[g] == "Draw") {df$GK.won[g] <- "Draw"}
else if ((df$GK.white[g]==1 & df$result[g]==1) || (df$GK.white[g]==0 & df$result[g]==0)) {
df$GK.won[g] <- 1
}
}
 
# for the sake of plotting, we drop all the Draw Results
# df <- df[df$GK.won != "Draw", ]
# df$GK.won <- as.numeric(df$GK.won)
 
#drop the game and kvsk column
df <- df[c(-1,-2)]
 
##Create a placeholder Data Frame
## bucket each year into Y, FiveYear and its Decade
x = seq(1970,2005, by=5)
d = seq(1970,2000, by=10)
years.df <- data.frame(
year = 1970:2009,
five.year = unlist(lapply(x, FUN=rep, 5)),
decade = unlist(lapply(d, FUN=rep, 10))
)
 
df <- merge(years.df, df, all.x=T) #add in 2 new columns, and fill in all the year gaps.
 
 
# @ Given a data frame slice, this function determines who had more wins in that slice
moreWins <- function(df) {
valid.rows <- sum(!is.na(df$GK.won)) # count of 0 or 1 values
if(valid.rows==0) {
return("00")
}
gk.wins <- sum(na.omit(df$GK.won == "1")) #how many times did GK win
gk.losses <- sum(na.omit(df$GK.won == "0")) #how many times did GK lose
if(gk.wins > gk.losses) {
return("GK")
}
else if(gk.wins == gk.losses) {
return("DR")
}
else {
return("AK")
}
}
 
 
 
 
yearlywinner.df <- ddply(df, .(year), moreWins)
names(yearlywinner.df)[2] <- "winner.1"
 
five.year.winner.df <- ddply(df, .(five.year), moreWins)
names(five.year.winner.df)[2] <- "winner.5"
 
decade.winner.df <- ddply(df, .(decade), moreWins)
names(decade.winner.df)[2] <- "winner.10"
 
 
y.full <- merge(years.df, yearlywinner.df)
fy.full <- merge(years.df, five.year.winner.df)
dec.full <- merge(years.df, decade.winner.df)
 
names(y.full)
plot.df <- y.full[c(1,4)]
plot.df$winner.5 <- fy.full$winner.5
plot.df$winner.10 <- dec.full$winner.10
 
m.df <- melt(plot.df, id.vars="year")
 
m.df$variable <- factor(m.df$variable,
levels=c("winner.1", "winner.5","winner.10" ),
ordered=TRUE)
 
 
## plotting - Pianograms
win_labeller <- function(var, value){
value <- as.character(value)
if (var=="variable") {
value[value=="winner.1"] <- "Yearly Winner"
value[value=="winner.5"] <- "5-Year Winner"
value[value=="winner.10"] <- "Decade Winner"
}
return(value)
}
 
head(m.df)
 
breaks <- seq(1970,2010,by=5)
 
## Use this to plot each time-period plot. (Change the fill to winner.1, winner.5 or winner.10)
p1 <- ggplot(plot.df) + geom_bar(aes(x=year, fill=winner.10), binwidth=1, color="gray90")
p1 <- p1 + labs(title="Karpov vs Kasparov, Winner by Decade")
p1 <- p1 + ylab("Year's Winner")+ scale_x_continuous(breaks=breaks)
p1 <- p1 + theme(axis.text.y=element_blank(), legend.title=element_blank()) + scale_fill_manual(
limits=c("00", "AK", "GK", "DR"),
values= c("white","blue","darkgreen", "gray60"),
labels=c("Did not play", "Anatoly Karpov", "Garry Kasparov", "Draw")
)
p1
 
p <- NULL
vlines <- seq(1980, 2010, by=10)
p <- ggplot(m.df) + geom_bar(aes(x=year, fill=value), binwidth=1, color="gray90") + facet_grid (
variable ~ ., labeller=win_labeller
)
p <- p + ylab("Decade, 5-year and Yearly Winners")
 
p <- p + scale_fill_manual(
limits=c("00", "AK", "GK", "DR"),
values= c("white","blue","darkgreen", "gray70"),
labels=c("Did not play", "Anatoly Karpov", "Garry Kasparov", "Draw")
)
 
p <- p + theme(panel.background = element_blank(),
axis.text.y=element_blank(),
axis.ticks=element_blank()
) + geom_vline(xintercept = vlines, color="darkred", size=2) +
labs(title="Karpov vs Kasparov, Lifetime Winner-Take-All Tally")
p
kasparov_karpov.csv
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
game ,KvsK,result,moves ,year ,event/locale,opening
201, Kasparov vs Karpov ,1,56,2009,Kasparov-Karpov Blitz Match,D31 Queen's Gambit Declined
176, Karpov vs Kasparov ,Draw,45,1996,Las Palmas,"D39 Queen's Gambit Declined, Ragozin, Vienna Variation"
177, Kasparov vs Karpov ,Draw,49,1999,Siemens Giants,"E32 Nimzo-Indian, Classical"
178, Karpov vs Kasparov ,Draw,48,1999,Siemens Giants,D12 Queen's Gambit Declined Slav
179, Karpov vs Kasparov ,Draw,38,1999,Siemens Giants,"D78 Neo-Grunfeld, 6.O-O c6"
180, Kasparov vs Karpov ,1,43,1999,Siemens Giants,"E32 Nimzo-Indian, Classical"
181, Karpov vs Kasparov ,Draw,36,2001,SuperGM,"D73 Neo-Grunfeld, 5.Nf3"
182, Kasparov vs Karpov ,1,31,2001,SuperGM,B12 Caro-Kann Defense
183, Karpov vs Kasparov ,0,52,2002,Rapid Match 25/10,"D92 Grunfeld, 5.Bf4"
184, Kasparov vs Karpov ,0,47,2002,Rapid Match 25/10,C42 Petrov Defense
185, Kasparov vs Karpov ,Draw,28,2002,Rapid Match 25/10,C42 Petrov Defense
186, Karpov vs Kasparov ,1,46,2002,Rapid Match 25/10,"D92 Grunfeld, 5.Bf4"
187, Karpov vs Kasparov ,Draw,35,2004,Reykjavik Blitz,D47 Queen's Gambit Declined Semi-Slav
188, Kasparov vs Karpov ,Draw,53,2006,Lichthof Chess Champions,E12 Queen's Indian
189, Karpov vs Kasparov ,Draw,19,2006,Lichthof Chess Champions,D37 Queen's Gambit Declined
190, Karpov vs Kasparov ,0,24,2009,Kasparov-Karpov Rapid Match,"D72 Neo-Grunfeld, 5.cd, Main line"
191, Kasparov vs Karpov ,1,33,2009,Kasparov-Karpov Rapid Match,D31 Queen's Gambit Declined
192, Karpov vs Kasparov ,0,26,2009,Kasparov-Karpov Blitz Match,D02 Queen's Pawn Game
193, Kasparov vs Karpov ,0,60,2009,Kasparov-Karpov Blitz Match,D31 Queen's Gambit Declined
194, Kasparov vs Karpov ,1,51,2009,Kasparov-Karpov Blitz Match,D31 Queen's Gambit Declined
195, Karpov vs Kasparov ,1,36,2009,Kasparov-Karpov Rapid Match,"D72 Neo-Grunfeld, 5.cd, Main line"
196, Karpov vs Kasparov ,Draw,25,2009,Kasparov-Karpov Blitz Match,"D72 Neo-Grunfeld, 5.cd, Main line"
197, Karpov vs Kasparov ,Draw,17,2009,Kasparov-Karpov Blitz Match,D22 Queen's Gambit Accepted
198, Kasparov vs Karpov ,1,28,2009,Kasparov-Karpov Rapid Match,D31 Queen's Gambit Declined
199, Karpov vs Kasparov ,0,36,2009,Kasparov-Karpov Blitz Match,"D72 Neo-Grunfeld, 5.cd, Main line"
200, Kasparov vs Karpov ,1,96,2009,Kasparov-Karpov Blitz Match,D31 Queen's Gambit Declined
151, Karpov vs Kasparov ,Draw,24,1990,Kasparov-Karpov World Championship Match,E92 King's Indian
152, Kasparov vs Karpov ,1,57,1990,Kasparov-Karpov World Championship Match,"C92 Ruy Lopez, Closed"
153, Kasparov vs Karpov ,Draw,37,1990,Kasparov-Karpov World Championship Match,"C92 Ruy Lopez, Closed"
154, Karpov vs Kasparov ,1,29,1990,Kasparov-Karpov World Championship Match,"E87 King's Indian, Samisch, Orthodox"
155, Kasparov vs Karpov ,Draw,41,1990,Kasparov-Karpov World Championship Match,C45 Scotch Game
156, Karpov vs Kasparov ,Draw,33,1990,Kasparov-Karpov World Championship Match,D85 Grunfeld
157, Karpov vs Kasparov ,Draw,36,1990,Kasparov-Karpov World Championship Match,E92 King's Indian
158, Kasparov vs Karpov ,1,44,1990,Kasparov-Karpov World Championship Match,"C92 Ruy Lopez, Closed"
159, Kasparov vs Karpov ,Draw,43,1990,Kasparov-Karpov World Championship Match,"C92 Ruy Lopez, Closed"
160, Karpov vs Kasparov ,Draw,39,1990,Kasparov-Karpov World Championship Match,E92 King's Indian
161, Kasparov vs Karpov ,Draw,36,1990,Kasparov-Karpov World Championship Match,A17 English
162, Kasparov vs Karpov ,Draw,42,1990,Kasparov-Karpov World Championship Match,"C92 Ruy Lopez, Closed"
163, Karpov vs Kasparov ,Draw,30,1990,Kasparov-Karpov World Championship Match,"E81 King's Indian, Samisch"
164, Kasparov vs Karpov ,Draw,18,1990,Kasparov-Karpov World Championship Match,"C43 Petrov, Modern Attack"
165, Karpov vs Kasparov ,Draw,42,1990,Kasparov-Karpov World Championship Match,D85 Grunfeld
166, Karpov vs Kasparov ,Draw,53,1990,Kasparov-Karpov World Championship Match,E92 King's Indian
167, Karpov vs Kasparov ,Draw,61,1991,Reggio Emilia ;CBM 27 Knaak,"E88 King's Indian, Samisch, Orthodox, 7.d5 c6"
168, Karpov vs Kasparov ,Draw,114,1991,"Tilburg Wahls,M",E97 King's Indian
169, Karpov vs Kasparov ,Draw,32,1991,"Linares 51/427 [Karpov,An]",D45 Queen's Gambit Declined Semi-Slav
170, Kasparov vs Karpov ,1,44,1991,"Tilburg T.Ernst, H.Schuessler, W.Unzick",C45 Scotch Game
171, Kasparov vs Karpov ,Draw,61,1991,"Amsterdam 51/358 [Karpov,An]","C92 Ruy Lopez, Closed"
172, Kasparov vs Karpov ,1,41,1992,Linares (Spain),"B17 Caro-Kann, Steinitz Variation"
173, Karpov vs Kasparov ,0,27,1993,Linares ;CBM 34 Anand,"E86 King's Indian, Samisch, Orthodox, 7.Nge2 c6"
174, Kasparov vs Karpov ,Draw,41,1994,Linares GM tournamen,"B17 Caro-Kann, Steinitz Variation"
175, Kasparov vs Karpov ,1,44,1996,Las Palmas,"E32 Nimzo-Indian, Classical"
1, Karpov vs Kasparov ,1,45,1975,Leningrad,"B92 Sicilian, Najdorf, Opocensky Variation"
2, Karpov vs Kasparov ,Draw,41,1981,match-tournament,"A30 English, Symmetrical"
3, Kasparov vs Karpov ,Draw,18,1981,Moscow Interntional tournament,D55 Queen's Gambit Declined
4, Kasparov vs Karpov ,Draw,41,1981,match-tournament,C42 Petrov Defense
5, Karpov vs Kasparov ,Draw,33,1984,Karpov-Kasparov World Championship Match,A15 English
6, Karpov vs Kasparov ,Draw,13,1984,m/29,D47 Queen's Gambit Declined Semi-Slav
7, Karpov vs Kasparov ,1,33,1984,Karpov-Kasparov World Championship Match,B44 Sicilian
8, Kasparov vs Karpov ,Draw,37,1984,Karpov-Kasparov World Championship Match,E15 Queen's Indian
9, Karpov vs Kasparov ,Draw,22,1984,Karpov-Kasparov World Championship Match,"D58 Queen's Gambit Declined, Tartakower (Makagonov-Bondarevsky) Syst"
10, Kasparov vs Karpov ,Draw,20,1984,Moskva,C42 Petrov Defense
11, Karpov vs Kasparov ,Draw,35,1984,Karpov-Kasparov World Championship Match,"D58 Queen's Gambit Declined, Tartakower (Makagonov-Bondarevsky) Syst"
12, Kasparov vs Karpov ,Draw,20,1984,Karpov-Kasparov World Championship Match,"D58 Queen's Gambit Declined, Tartakower (Makagonov-Bondarevsky) Syst"
13, Karpov vs Kasparov ,1,59,1984,Karpov-Kasparov World Championship Match,D55 Queen's Gambit Declined
14, Karpov vs Kasparov ,Draw,41,1984,Karpov-Kasparov World Championship Match,A15 English
15, Karpov vs Kasparov ,Draw,21,1984,Moscow RUS,"D58 Queen's Gambit Declined, Tartakower (Makagonov-Bondarevsky) Syst"
16, Karpov vs Kasparov ,Draw,17,1984,Karpov-Kasparov World Championship Match,"B64 Sicilian, Richter-Rauzer Attack"
17, Kasparov vs Karpov ,Draw,21,1984,Karpov-Kasparov World Championship Match,"D58 Queen's Gambit Declined, Tartakower (Makagonov-Bondarevsky) Syst"
18, Karpov vs Kasparov ,1,44,1984,Karpov-Kasparov World Championship Match,"D34 Queen's Gambit Declined, Tarrasch"
19, Kasparov vs Karpov ,Draw,25,1984,Karpov-Kasparov World Championship Match,E15 Queen's Indian
20, Kasparov vs Karpov ,Draw,15,1984,Karpov-Kasparov World Championship Match,E12 Queen's Indian
21, Karpov vs Kasparov ,Draw,20,1984,Karpov-Kasparov World Championship Match,D45 Queen's Gambit Declined Semi-Slav
22, Karpov vs Kasparov ,Draw,51,1984,Karpov-Kasparov World Championship Match,D55 Queen's Gambit Declined
23, Kasparov vs Karpov ,1,41,1984,Karpov-Kasparov World Championship Match,E12 Queen's Indian
24, Kasparov vs Karpov ,Draw,41,1984,Karpov-Kasparov World Championship Match,"D58 Queen's Gambit Declined, Tartakower (Makagonov-Bondarevsky) Syst"
25, Kasparov vs Karpov ,Draw,44,1984,Karpov-Kasparov World Championship Match,E15 Queen's Indian
26, Karpov vs Kasparov ,1,70,1984,Karpov-Kasparov World Championship Match,"D34 Queen's Gambit Declined, Tarrasch"
27, Kasparov vs Karpov ,Draw,23,1984,Karpov-Kasparov World Championship Match,"A33 English, Symmetrical"
28, Kasparov vs Karpov ,Draw,17,1984,Karpov-Kasparov World Championship Match,"A33 English, Symmetrical"
29, Karpov vs Kasparov ,Draw,22,1984,Karpov-Kasparov World Championship Match,D55 Queen's Gambit Declined
30, Karpov vs Kasparov ,Draw,35,1984,Moscow,"D58 Queen's Gambit Declined, Tartakower (Makagonov-Bondarevsky) Syst"
31, Karpov vs Kasparov ,Draw,36,1984,Karpov-Kasparov World Championship Match,"B81 Sicilian, Scheveningen, Keres Attack"
32, Kasparov vs Karpov ,0,70,1984,Karpov-Kasparov World Championship Match,E15 Queen's Indian
33, Kasparov vs Karpov ,Draw,16,1984,Karpov-Kasparov World Championship Match,E15 Queen's Indian
34, Karpov vs Kasparov ,Draw,21,1984,Karpov-Kasparov World Championship Match,B83 Sicilian
35, Karpov vs Kasparov ,Draw,93,1984,Karpov-Kasparov World Championship Match,E15 Queen's Indian
36, Kasparov vs Karpov ,Draw,25,1984,Karpov-Kasparov World Championship Match,"E06 Catalan, Closed, 5.Nf3"
37, Karpov vs Kasparov ,Draw,23,1984,Karpov-Kasparov World Championship Match,"D58 Queen's Gambit Declined, Tartakower (Makagonov-Bondarevsky) Syst"
38, Kasparov vs Karpov ,Draw,47,1984,Karpov-Kasparov World Championship Match,E17 Queen's Indian
39, Kasparov vs Karpov ,Draw,20,1984,Karpov-Kasparov World Championship Match,C42 Petrov Defense
40, Karpov vs Kasparov ,Draw,13,1984,Karpov-Kasparov World Championship Match,D11 Queen's Gambit Declined Slav
41, Kasparov vs Karpov ,Draw,25,1984,Moscow,"D58 Queen's Gambit Declined, Tartakower (Makagonov-Bondarevsky) Syst"
42, Kasparov vs Karpov ,Draw,20,1984,Karpov-Kasparov World Championship Match,"E06 Catalan, Closed, 5.Nf3"
43, Karpov vs Kasparov ,Draw,34,1984,Karpov-Kasparov World Championship Match,D55 Queen's Gambit Declined
44, Kasparov vs Karpov ,Draw,19,1984,Karpov-Kasparov World Championship Match,A15 English
45, Kasparov vs Karpov ,Draw,25,1984,Karpov-Kasparov World Championship Match,C42 Petrov Defense
46, Karpov vs Kasparov ,1,63,1985,Karpov-Kasparov World Championship Match,D55 Queen's Gambit Declined
47, Karpov vs Kasparov ,0,42,1985,Karpov-Kasparov World Championship Match,"B84 Sicilian, Scheveningen"
48, Kasparov vs Karpov ,1,25,1985,Karpov-Kasparov World Championship Match,"E21 Nimzo-Indian, Three Knights"
49, Kasparov vs Karpov ,Draw,38,1985,Karpov-Kasparov World Championship Match,"C92 Ruy Lopez, Closed"
50, Karpov vs Kasparov ,Draw,36,1985,Karpov-Kasparov World Championship Match,B83 Sicilian
51, Karpov vs Kasparov ,Draw,37,1985,Karpov-Kasparov World Championship Match,"B84 Sicilian, Scheveningen"
52, Kasparov vs Karpov ,Draw,20,1985,Karpov-Kasparov World Championship Match,D55 Queen's Gambit Declined
53, Karpov vs Kasparov ,Draw,21,1985,Karpov-Kasparov World Championship Match,"B84 Sicilian, Scheveningen"
54, Karpov vs Kasparov ,Draw,27,1985,Karpov-Kasparov World Championship Match,D55 Queen's Gambit Declined
55, Kasparov vs Karpov ,Draw,71,1985,Karpov-Kasparov World Championship Match,"D58 Queen's Gambit Declined, Tartakower (Makagonov-Bondarevsky) Syst"
56, Karpov vs Kasparov ,Draw,71,1985,Karpov-Kasparov World Championship Match,C42 Petrov Defense
57, Kasparov vs Karpov ,0,44,1985,Karpov-Kasparov World Championship Match,"C92 Ruy Lopez, Closed"
58, Kasparov vs Karpov ,Draw,31,1985,Karpov-Kasparov World Championship Match,"E21 Nimzo-Indian, Three Knights"
59, Karpov vs Kasparov ,Draw,48,1985,Karpov-Kasparov World Championship Match,"D58 Queen's Gambit Declined, Tartakower (Makagonov-Bondarevsky) Syst"
60, Karpov vs Kasparov ,Draw,25,1985,Karpov-Kasparov World Championship Match,"B84 Sicilian, Scheveningen"
61, Kasparov vs Karpov ,1,42,1985,Karpov-Kasparov World Championship Match,"E21 Nimzo-Indian, Three Knights"
62, Kasparov vs Karpov ,1,67,1985,Karpov-Kasparov World Championship Match,C42 Petrov Defense
63, Kasparov vs Karpov ,Draw,29,1985,Karpov-Kasparov World Championship Match,"E21 Nimzo-Indian, Three Knights"
64, Karpov vs Kasparov ,Draw,18,1985,Karpov-Kasparov World Championship Match,B44 Sicilian
65, Karpov vs Kasparov ,Draw,15,1985,Karpov-Kasparov World Championship Match,"B63 Sicilian, Richter-Rauzer Attack"
66, Karpov vs Kasparov ,0,40,1985,Karpov-Kasparov World Championship Match,B44 Sicilian
67, Karpov vs Kasparov ,1,42,1985,Karpov-Kasparov World Championship Match,D31 Queen's Gambit Declined
68, Kasparov vs Karpov ,Draw,53,1985,Karpov-Kasparov World Championship Match,"C92 Ruy Lopez, Closed"
69, Karpov vs Kasparov ,Draw,85,1985,Karpov-Kasparov World Championship Match,D31 Queen's Gambit Declined
70, Kasparov vs Karpov ,Draw,25,1985,Karpov-Kasparov World Championship Match,"D58 Queen's Gambit Declined, Tartakower (Makagonov-Bondarevsky) Syst"
71, Kasparov vs Karpov ,Draw,24,1985,Karpov-Kasparov World Championship Match,"E21 Nimzo-Indian, Three Knights"
72, Kasparov vs Karpov ,Draw,28,1985,Karpov-Kasparov World Championship Match,C42 Petrov Defense
73, Kasparov vs Karpov ,1,42,1985,Karpov-Kasparov World Championship Match,"E21 Nimzo-Indian, Three Knights"
74, Karpov vs Kasparov ,0,32,1985,Karpov-Kasparov World Championship Match,D52 Queen's Gambit Declined
75, Karpov vs Kasparov ,Draw,65,1985,Karpov-Kasparov World Championship Match,"B84 Sicilian, Scheveningen"
76, Kasparov vs Karpov ,1,67,1985,Karpov-Kasparov World Championship Match,C42 Petrov Defense
77, Kasparov vs Karpov ,Draw,29,1985,Karpov-Kasparov World Championship Match,"E21 Nimzo-Indian, Three Knights"
78, Karpov vs Kasparov ,Draw,18,1985,Karpov-Kasparov World Championship Match,B44 Sicilian
79, Karpov vs Kasparov ,Draw,15,1985,Karpov-Kasparov World Championship Match,"B63 Sicilian, Richter-Rauzer Attack"
80, Karpov vs Kasparov ,0,40,1985,Karpov-Kasparov World Championship Match,B44 Sicilian
81, Karpov vs Kasparov ,1,42,1985,Karpov-Kasparov World Championship Match,D31 Queen's Gambit Declined
82, Kasparov vs Karpov ,Draw,53,1985,Karpov-Kasparov World Championship Match,"C92 Ruy Lopez, Closed"
83, Karpov vs Kasparov ,Draw,85,1985,Karpov-Kasparov World Championship Match,D31 Queen's Gambit Declined
84, Kasparov vs Karpov ,Draw,42,1986,Karpov-Kasparov World Championship Rematch,C42 Petrov Defense
85, Karpov vs Kasparov ,Draw,25,1986,Karpov-Kasparov World Championship Rematch,"D92 Grunfeld, 5.Bf4"
86, Kasparov vs Karpov ,Draw,41,1986,Karpov-Kasparov World Championship Rematch,E16 Queen's Indian
87, Karpov vs Kasparov ,1,41,1986,Karpov-Kasparov World Championship Rematch,"D97 Grunfeld, Russian"
88, Karpov vs Kasparov ,Draw,29,1986,Karpov-Kasparov World Championship Rematch,"D98 Grunfeld, Russian"
89, Kasparov vs Karpov ,Draw,34,1986,Karpov-Kasparov World Championship Rematch,D55 Queen's Gambit Declined
90, Karpov vs Kasparov ,Draw,20,1986,Moskva,D45 Queen's Gambit Declined Semi-Slav
91, Karpov vs Kasparov ,Draw,43,1986,Karpov-Kasparov World Championship Rematch,D31 Queen's Gambit Declined
92, Karpov vs Kasparov ,Draw,41,1986,Karpov-Kasparov World Championship Rematch,"D82 Grunfeld, 4.Bf4"
93, Karpov vs Kasparov ,Draw,49,1986,Karpov-Kasparov World Championship Rematch,E15 Queen's Indian
94, Karpov vs Kasparov ,Draw,38,1986,Karpov-Kasparov World Championship Rematch,A15 English
95, Kasparov vs Karpov ,Draw,21,1986,Karpov-Kasparov World Championship Rematch,"E06 Catalan, Closed, 5.Nf3"
96, Kasparov vs Karpov ,Draw,52,1986,Karpov-Kasparov World Championship Rematch,"E21 Nimzo-Indian, Three Knights"
97, Kasparov vs Karpov ,0,58,1986,Karpov-Kasparov World Championship Rematch,E12 Queen's Indian
98, Karpov vs Kasparov ,Draw,40,1986,Karpov-Kasparov World Championship Rematch,E60 King's Indian Defense
99, Karpov vs Kasparov ,1,32,1986,Karpov-Kasparov World Championship Rematch,"D82 Grunfeld, 4.Bf4"
100, Kasparov vs Karpov ,1,41,1986,Karpov-Kasparov World Championship Rematch,"C92 Ruy Lopez, Closed"
101, Karpov vs Kasparov ,Draw,25,1986,Karpov-Kasparov World Championship Rematch,"D92 Grunfeld, 5.Bf4"
102, Kasparov vs Karpov ,Draw,41,1986,Karpov-Kasparov World Championship Rematch,E16 Queen's Indian
103, Karpov vs Kasparov ,1,41,1986,Karpov-Kasparov World Championship Rematch,"D97 Grunfeld, Russian"
104, Karpov vs Kasparov ,Draw,29,1986,Karpov-Kasparov World Championship Rematch,"D98 Grunfeld, Russian"
105, Kasparov vs Karpov ,Draw,34,1986,Karpov-Kasparov World Championship Rematch,D55 Queen's Gambit Declined
106, Karpov vs Kasparov ,Draw,20,1986,Moskva,D45 Queen's Gambit Declined Semi-Slav
107, Karpov vs Kasparov ,Draw,43,1986,Karpov-Kasparov World Championship Rematch,D31 Queen's Gambit Declined
108, Karpov vs Kasparov ,Draw,41,1986,Karpov-Kasparov World Championship Rematch,"D82 Grunfeld, 4.Bf4"
109, Kasparov vs Karpov ,0,41,1987,Kasparov-Karpov World Championship Match,"A29 English, Four Knights, Kingside Fianchetto"
110, Karpov vs Kasparov ,Draw,36,1987,Kasparov-Karpov World Championship Match,D85 Grunfeld
111, Karpov vs Kasparov ,Draw,30,1987,Kasparov-Karpov World Championship Match,E60 King's Indian Defense
112, Kasparov vs Karpov ,Draw,19,1987,Kasparov-Karpov World Championship Match,D37 Queen's Gambit Declined
113, Kasparov vs Karpov ,Draw,37,1987,Kasparov-Karpov World Championship Match,D53 Queen's Gambit Declined
114, Kasparov vs Karpov ,1,45,1987,Kasparov-Karpov World Championship Match,"A29 English, Four Knights, Kingside Fianchetto"
115, Karpov vs Kasparov ,Draw,53,1987,Brussels,E60 King's Indian Defense
116, Karpov vs Kasparov ,1,57,1987,Kasparov-Karpov World Championship Match,"A34 English, Symmetrical"
117, Karpov vs Kasparov ,Draw,43,1987,Kasparov-Karpov World Championship Match,"D97 Grunfeld, Russian"
118, Kasparov vs Karpov ,Draw,21,1987,Kasparov-Karpov World Championship Match,"B17 Caro-Kann, Steinitz Variation"
119, Kasparov vs Karpov ,Draw,28,1987,Kasparov-Karpov World Championship Match,A25 English
120, Karpov vs Kasparov ,Draw,60,1987,Kasparov-Karpov World Championship Match,"D58 Queen's Gambit Declined, Tartakower (Makagonov-Bondarevsky) Syst"
121, Karpov vs Kasparov ,Draw,29,1987,Kasparov-Karpov World Championship Match,E60 King's Indian Defense
122, Karpov vs Kasparov ,Draw,70,1987,Kasparov-Karpov World Championship Match,"D87 Grunfeld, Exchange"
123, Kasparov vs Karpov ,Draw,21,1987,Kasparov-Karpov World Championship Match,D31 Queen's Gambit Declined
124, Karpov vs Kasparov ,Draw,46,1987,Kasparov-Karpov World Championship Match,E97 King's Indian
125, Karpov vs Kasparov ,Draw,42,1987,Brussels,"E64 King's Indian, Fianchetto, Yugoslav System"
126, Kasparov vs Karpov ,0,32,1987,Kasparov-Karpov World Championship Match,"A29 English, Four Knights, Kingside Fianchetto"
127, Karpov vs Kasparov ,1,38,1987,Kasparov-Karpov World Championship Match,"D87 Grunfeld, Exchange"
128, Karpov vs Kasparov ,Draw,79,1987,Kasparov-Karpov World Championship Match,"D87 Grunfeld, Exchange"
129, Kasparov vs Karpov ,Draw,20,1987,Kasparov-Karpov World Championship Match,"B17 Caro-Kann, Steinitz Variation"
130, Kasparov vs Karpov ,1,64,1987,Kasparov-Karpov World Championship Match,A13 English
131, Kasparov vs Karpov ,Draw,40,1987,Kasparov-Karpov World Championship Match,"D58 Queen's Gambit Declined, Tartakower (Makagonov-Bondarevsky) Syst"
132, Karpov vs Kasparov ,0,52,1987,Kasparov-Karpov World Championship Match,"D87 Grunfeld, Exchange"
133, Kasparov vs Karpov ,1,59,1987,Brussels,E12 Queen's Indian
134, Kasparov vs Karpov ,1,50,1987,Kasparov-Karpov World Championship Match,A21 English
135, Karpov vs Kasparov ,Draw,28,1987,Kasparov-Karpov World Championship Match,"D97 Grunfeld, Russian"
136, Kasparov vs Karpov ,1,63,1988,Amsterdam,"B17 Caro-Kann, Steinitz Variation"
137, Karpov vs Kasparov ,Draw,37,1988,"Karpov,A; Zaitsev,I","D76 Neo-Grunfeld, 6.cd Nxd5, 7.O-O Nb6"
138, Karpov vs Kasparov ,Draw,30,1988,"USSR 46/752 Karpov,An; Zaitsev,I","E32 Nimzo-Indian, Classical"
139, Kasparov vs Karpov ,1,39,1988,It ( cat. 17 ),"B17 Caro-Kann, Steinitz Variation"
140, Karpov vs Kasparov ,Draw,58,1988,Amsterdam,"D87 Grunfeld, Exchange"
141, Karpov vs Kasparov ,1,38,1988,Cup World (cat.15),"D87 Grunfeld, Exchange"
142, Karpov vs Kasparov ,Draw,42,1989,"Skelleftea 48/813 [Kasparov,G]",E97 King's Indian
143, Karpov vs Kasparov ,Draw,34,1990,Kasparov-Karpov World Championship Match,D85 Grunfeld
144, Kasparov vs Karpov ,Draw,41,1990,Kasparov-Karpov World Championship Match,"C92 Ruy Lopez, Closed"
145, Karpov vs Kasparov ,Draw,86,1990,Kasparov-Karpov World Championship Match,"E87 King's Indian, Samisch, Orthodox"
146, Kasparov vs Karpov ,1,102,1990,Kasparov-Karpov World Championship Match,C45 Scotch Game
147, Karpov vs Kasparov ,1,40,1990,Kasparov-Karpov World Championship Match,D85 Grunfeld
148, Karpov vs Kasparov ,1,44,1990,Kasparov-Karpov World Championship Match,E92 King's Indian
149, Kasparov vs Karpov ,Draw,84,1990,Kasparov-Karpov World Championship Match,"C92 Ruy Lopez, Closed"
150, Kasparov vs Karpov ,1,41,1990,Kasparov-Karpov World Championship Match,"C92 Ruy Lopez, Closed"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.