Chances of survival of individual chess pieces....

Discussion of anything and everything relating to chess playing software and machines.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
Ajedrecista
Posts: 1401
Joined: Wed Jul 13, 2011 7:04 pm
Location: Madrid, Spain.
Contact:

Re: Chances of survival of individual chess pieces...

Post by Ajedrecista » Fri Oct 10, 2014 6:54 pm

Hello again:

Sorry for this extremely long post.

I downloaded the PGN files of 230 different players at PGN Mentor and merge them into a single file (PGN_Mentor_230_players.pgn) using the following line in the command prompt:

Code: Select all

type *.pgn >> PGN_Mentor_230_players.pgn
Previously, I extracted all the PGNs from the RAR files using 7z, selecting all of them at once and clicking in 'extract here'. I mean, I did not extract them one by one. I just describe my method if someone wants to do the same.

There will be many duplicated games: for example I downloaded Karpov.pgn and Kasparov.pgn, and we know that they played a lot of games between themselves; same with other players.

Here is the list of players:

Code: Select all

Adams.pgn
Michael Adams, 2712 games

Akobian.pgn
Varuzhan Akobian, 928 games

Akopian.pgn
Vladimir Akopian, 1714 games

Alburt.pgn
Lev Alburt, 776 games

Alekhine.pgn
Alexander Alekhine, 1661 games

Alekseev.pgn
Evgeny Alekseev, 1165 games

Almasi.pgn
Zoltan Almasi, 1701 games

Anand.pgn
Viswanathan Anand, 2866 games

Anderssen.pgn
Adolf Anderssen, 681 games

Andersson.pgn
Ulf Andersson, 2640 games

Andreikin.pgn
Dmitry Andreikin, 885 games

Aronian.pgn
Levon Aronian, 1787 games

Ashley.pgn
Maurice Ashley, 414 games

Averbakh.pgn
Yuri Averbakh, 885 games

Azmaiparashvili.pgn
Zurab Azmaiparashvili, 1318 games

Bacrot.pgn
Etienne Bacrot, 2088 games

Bareev.pgn
Evgeny Bareev, 1844 games

BecerraRivero.pgn
Julio Becerra Rivero, 936 games

Beliavsky.pgn
Alexander Beliavsky, 2893 games

Benjamin.pgn
Joel Benjamin, 1617 games

Benko.pgn
Pal Benko, 1376 games

Berliner.pgn
Hans Berliner, 64 games

Bernstein.pgn
Ossip Bernstein, 261 games

Bird.pgn
Henry Bird, 353 games

Bisguier.pgn
Arthur Bisguier, 1186 games

Blackburne.pgn
Joseph Blackburne, 738 games

Blatny.pgn
Pavel Blatny, 1744 games

Bogoljubow.pgn
Efim Bogoljubow, 973 games

Boleslavsky.pgn
Isaac Boleslavsky, 651 games

Bologan.pgn
Viktor Bologan, 2324 games

Botvinnik.pgn
Mikhail Botvinnik, 891 games

Bronstein.pgn
David Bronstein, 1930 games

Browne.pgn
Walter Browne, 1613 games

Bruzon.pgn
Lazaro Bruzon, 690 games

Bu.pgn
Bu Xiangzhi, 1234 games

Byrne.pgn
Robert Byrne, 1013 games

Capablanca.pgn
José Raúl Capablanca, 597 games

Carlsen.pgn
Magnus Carlsen, 1688 games

Caruana.pgn
Fabiano Caruana, 1225 games

Chiburdanidze.pgn
Maia Chiburdanidze, 1318 games

Chigorin.pgn
Mikhail Chigorin, 688 games

Christiansen.pgn
Larry Christiansen, 1592 games

DeFirmian.pgn
Nick DeFirmian, 1674 games

DeLaBourdonnais.pgn
Louis de LaBourdonnais, 101 games

Denker.pgn
Arnold Denker, 404 games

Ding.pgn
Ding Liren, 421 games

DominguezPerez.pgn
Leinier Dominguez Perez, 675 games

Dreev.pgn
Alexey Dreev, 2708 games

Dzindzichashvili.pgn
Roman Dzindzichashvili, 780 games

Ehlvest.pgn
Jaan Ehlvest, 2434 games

Eljanov.pgn
Pavel Eljanov, 1224 games

Euwe.pgn
Max Euwe, 1122 games

Evans.pgn
Larry Evans, 685 games

Fedorowicz.pgn
John Fedorowicz, 1348 games

Fine.pgn
Reuben Fine, 305 games

Finegold.pgn
Benjamin Finegold, 823 games

Fischer.pgn
Robert James Fischer, 827 games

Fishbein.pgn
Alexander Fishbein, 440 games

Flohr.pgn
Salo Flohr, 986 games

Gaprindashvili.pgn
Nona Gaprindashvili, 1055 games

Gashimov.pgn
Vugar Gashimov, 953 games

Gelfand.pgn
Boris Gelfand, 2631 games

Geller.pgn
Efim Geller, 2198 games

Georgiev.pgn
Kiril Georgiev, 2320 games

Giri.pgn
Anash Giri, 824 games

Gligoric.pgn
Svetozar Gligoric, 2898 games

Goldin.pgn
Alexander Goldin, 898 games

GrandaZuniga.pgn
Julio Granda Zuniga, 1451 games

Grischuk.pgn
Alexander Grischuk, 2070 games

Gulko.pgn
Boris Gulko, 1874 games

Gunsberg.pgn
Isidor Gunsberg, 319 games

GurevichD.pgn
Dmitry Gurevich, 1488 games

GurevichM.pgn
Mikhail Gurevich, 2363 games

Harikrishna.pgn
Pentala Harikrishna, 1318 games

Hort.pgn
Vlastimil Hort, 3061 games

Horwitz.pgn
Bernhard Horwitz, 113 games

Hou.pgn
Hou Yifan, 1094 games

Huebner.pgn
Robert Huebner, 2082 games

Ibragimov.pgn
Ildar Ibragimov, 1421 games

IllescasCordoba.pgn
Miguel Illescas Cordoba, 1364 games

Ivanchuk.pgn
Vassily Ivanchuk, 3480 games

IvanovA.pgn
Alexander Ivanov, 1196 games

IvanovI.pgn
Igor Ivanov, 784 games

Ivkov.pgn
Borislav Ivkov, 2505 games

Jakovenko.pgn
Dmitry Jakovenko, 1289 games

Janowski.pgn
David Janowski, 769 games

Jussupow.pgn
Artur Jussupow, 1889 games

Kaidanov.pgn
Gregory Kaidanov, 1068 games

Kamsky.pgn
Gata Kamsky, 1712 games

Karjakin.pgn
Sergey Karjakin, 1706 games

Karpov.pgn
Anatoly Karpov, 3342 games

Kasimdzhanov.pgn
Rustam Kasimdzhanov, 1346 games

Kasparov.pgn
Garry Kasparov, 2025 games

Kavalek.pgn
Lubomir Kavalek, 1328 games

Keres.pgn
Paul Keres, 1571 games

Khalifman.pgn
Alexander Khalifman, 2108 games

Kholmov.pgn
Ratmir Kholmov, 1900 games

Koneru.pgn
Koneru Humpy, 1136 games

Korchnoi.pgn
Viktor Korchnoi, 4565 games

Korobov.pgn
Anton Korobov, 959 games

Kosteniuk.pgn
Alexandra Kosteniuk, 1373 games

Kotov.pgn
Alexander Kotov, 641 games

Kramnik.pgn
Vladimir Kramnik, 2404 games

Krasenkow.pgn
Michal Krasenkow, 2159 games

Krush.pgn
Irina Krush, 1382 games

Kudrin.pgn
Sergey Kudrin, 1186 games

Lahno.pgn
Kateryna Lahno, 919 games

Larsen.pgn
Bent Larsen, 2383 games

Lasker.pgn
Emanuel Lasker, 1063 games

Lautier.pgn
Joel Lautier, 1796 games

Le.pgn
Le Quang Liem, 952 games

Leko.pgn
Peter Leko, 2092 games

Levenfish.pgn
Grigory Levenfish, 354 games

Lilienthal.pgn
Andre Lilienthal, 649 games

Ljubojevic.pgn
Ljubomir Ljubojevic, 1944 games

Lputian.pgn
Smbat Lputian, 1552 games

MacKenzie.pgn
George MacKenzie, 198 games

Malakhov.pgn
Vladimir Malakhov, 1375 games

Mamedyarov.pgn
Shakhriyar Mamedyarov, 1588 games

Maroczy.pgn
Geza Maroczy, 756 games

Marshall.pgn
Frank Marshall, 1027 games

McDonnell.pgn
Alexander McDonnell, 106 games

McShane.pgn
Luke McShane, 1124 games

Mecking.pgn
Henrique Mecking, 569 games

Mikenas.pgn
Vladas Mikenas, 497 games

Miles.pgn
Anthony Miles, 2614 games

Milov.pgn
Vadim Milov, 1332 games

Morozevich.pgn
Alexander Morozevich, 1814 games

Morphy.pgn
Paul Morphy, 211 games

Motylev.pgn
Alexander Motylev, 1325 games

Movsesian.pgn
Sergei Movsesian, 2166 games

Najdorf.pgn
Miguel Najdorf, 1604 games

Najer.pgn
Evgeny Najer, 1414 games

Nakamura.pgn
Hikaru Nakamura, 1530 games

Navara.pgn
David Navara, 1525 games

Negi.pgn
Parimarjan Negi, 976 games

Nepomniachtchi.pgn
Ian Nepomniachtchi, 1129 games

Ni.pgn
Ni Hua, 1221 games

Nielsen.pgn
Peter Nielsen, 1978 games

Nikolic.pgn
Predrag Nikolic, 2195 games

Nimzowitsch.pgn
Aron Nimzowitsch, 512 games

Nisipeanu.pgn
Liviu-Dieter Nisipeanu, 1485 games

Novikov.pgn
Igor Novikov, 1318 games

Nunn.pgn
John Nunn, 1643 games

Olafsson.pgn
Fridrik Olafsson, 916 games

Oll.pgn
Lembit Oll, 1034 games

Onischuk.pgn
Alexander Onischuk, 1450 games

Pachman.pgn
Ludek Pachman, 1462 games

Paehtz.pgn
Elisabeth Paehtz, 1508 games

Panno.pgn
Oscar Panno, 1873 games

Paulsen.pgn
Louis Paulsen, 322 games

Petrosian.pgn
Tigran Petrosian, 1893 games

Philidor.pgn
Francois Philidor, 6 games

Pillsbury.pgn
Harry Pillsbury, 388 games

Pilnik.pgn
Herman Pilnik, 899 games

PolgarJ.pgn
Judit Polgar, 1819 games

PolgarS.pgn
Sofia Polgar, 741 games

PolgarZ.pgn
Zsuzsa Polgar, 909 games

Polugaevsky.pgn
Lev Polugaevsky, 1890 games

Ponomariov.pgn
Ruslan Ponomariov, 1555 games

Portisch.pgn
Lajos Portisch, 3030 games

Psakhis.pgn
Lev Psakhis, 1963 games

Quinteros.pgn
Miguel Quinteros, 1136 games

Radjabov.pgn
Teimour Radjabov, 1468 games

Reshevsky.pgn
Samuel Reshevsky, 1267 games

Reti.pgn
Richard Reti, 646 games

Ribli.pgn
Zoltan Ribli, 2100 games

Rohde.pgn
Michael Rohde, 445 games

Rubinstein.pgn
Akiba Rubinstein, 797 games

Rublevsky.pgn
Sergei Rublevsky, 1526 games

Saemisch.pgn
Friedrich Saemisch, 551 games

Sakaev.pgn
Konstantin Sakaev, 1425 games

Salov.pgn
Valery Salov, 766 games

Sasikiran.pgn
Krishnan Sasikiran, 1295 games

Schlechter.pgn
Carl Schlechter, 739 games

Seirawan.pgn
Yasser Seirawan, 1483 games

Serper.pgn
Gregory Serper, 848 games

Shabalov.pgn
Alexander Shabalov, 1959 games

Shamkovich.pgn
Leonid Shamkovich, 977 games

Shirov.pgn
Alexei Shirov, 3122 games

Short.pgn
Nigel Short, 2667 games

Shulman.pgn
Yury Shulman, 1182 games

Smirin.pgn
Ilia Smirin, 1943 games

Smyslov.pgn
Vasily Smyslov, 2627 games

Sokolov.pgn
Ivan Sokolov, 2719 games

Soltis.pgn
Andrew Soltis, 370 games

Spassky.pgn
Boris Spassky, 2231 games

Speelman.pgn
Jonathan Speelman, 2116 games

Spielmann.pgn
Rudolf Spielmann, 1057 games

Stahlberg.pgn
Gideon Stahlberg, 964 games

Staunton.pgn
Howard Staunton, 284 games

Stefanova.pgn
Antoaneta Stefanova, 1846 games

Stein.pgn
Leonid Stein, 699 games

Steinitz.pgn
William Steinitz, 590 games

Suetin.pgn
Alexey Suetin, 1284 games

Sutovsky.pgn
Emil Sutovsky, 1076 games

Svidler.pgn
Peter Svidler, 2504 games

Szabo.pgn
Laszlo Szabo, 1777 games

Taimanov.pgn
Mark Taimanov, 2117 games

Tal.pgn
Mikhail Tal, 2431 games

Tarrasch.pgn
Siegbert Tarrasch, 704 games

Tartakower.pgn
Savielly Tartakower, 1290 games

Teichmann.pgn
Richard Teichmann, 536 games

Timman.pgn
Jan Timman, 3386 games

Tiviakov.pgn
Sergei Tiviakov, 2449 games

Tkachiev.pgn
Vladislav Tkachiev, 1505 games

Tomashevsky.pgn
Evgeny Tomashevsky, 830 games

Topalov.pgn
Veselin Topalov, 2060 games

Uhlmann.pgn
Wolfgang Uhlmann, 2537 games

Unzicker.pgn
Wolfgang Unzicker, 1265 games

VachierLagrave.pgn
Maxime Vachier-Lagrave, 1219 games

Vaganian.pgn
Rafael Vaganian, 2252 games

VallejoPons.pgn
Francisco Vallejo Pons, 1720 games

VanWely.pgn
Loek Van Wely, 3189 games

Vitiugov.pgn
Nikita Vitiugov, 958 games

Volokitin.pgn
Andrei Volokitin, 998 games

Waitzkin.pgn
Joshua Waitzkin, 385 games

Wang.pgn
Wang Yue, 1105 games

WangH.pgn
Wang Hao, 969 games

Winawer.pgn
Simon Winawer, 241 games

Wojtaszek.pgn
Radoslaw Wojtaszek, 1233 games

Wojtkiewicz.pgn
Aleksander Wojtkiewicz, 1564 games

Wolff.pgn
Patrick Wolff, 614 games

Xie.pgn
Xie Jun, 701 games

Ye.pgn
Ye Jiangchuan, 655 games

Yermolinsky.pgn
Alex Yermolinsky, 1395 games

Yudasin.pgn
Leonid Yudasin, 1426 games

Zhu.pgn
Zhu Chen, 1009 games

Zukertort.pgn
Johannes Zukertort, 265 games

Zvjaginsev.pgn
Vadim Zvjaginsev, 1413 games
This PGN has a size of 348,813,541 bytes (~ 332.65 MB). Here are my results for promotions and underpromotions:

Code: Select all

Search_promotions_and_underpromotions_by_crowning_squares, ® 2013.

------------------------------------------------------------
Tool that provides some info about promotions in a PGN file.
------------------------------------------------------------

Write down the full name of the PGN file (up to 64 characters), including .pgn:

PGN_Mentor_230_players.pgn

Write down the clock rate of the CPU (in GHz), only for timing the elapsed time of the calculations:

3

Searching for games and results...

Games:      531366      Estimated remaining time:  1243.3 seconds.
  1-0:      178105      Estimated remaining time:  1227.7 seconds.
  0-1:      120814      Estimated remaining time:  1213.2 seconds.
  1/2-1/2:  232307      Estimated remaining time:  1201.4 seconds.
  Unknown:     140
______________________________

White score:  55.39%
______________________________

White advantage:    37.62 Elo.
______________________________

Searching promotions and underpromotions...

 1/64  a1=Q    2051     Estimated remaining time:  1190.7 seconds.
 2/64  a1=R       6     Estimated remaining time:  1180.7 seconds.
 3/64  a1=B      16     Estimated remaining time:  1164.8 seconds.
 4/64  a1=N      15     Estimated remaining time:  1148.6 seconds.
 5/64  b1=Q    1880     Estimated remaining time:  1133.2 seconds.
 6/64  b1=R      21     Estimated remaining time:  1118.8 seconds.
 7/64  b1=B      10     Estimated remaining time:  1103.9 seconds.
 8/64  b1=N      10     Estimated remaining time:  1088.8 seconds.
 9/64  c1=Q    1829     Estimated remaining time:  1075.0 seconds.
10/64  c1=R      16     Estimated remaining time:  1058.3 seconds.
11/64  c1=B       6     Estimated remaining time:  1036.4 seconds.
12/64  c1=N       9     Estimated remaining time:  1015.5 seconds.
13/64  d1=Q    1416     Estimated remaining time:   995.8 seconds.
14/64  d1=R      23     Estimated remaining time:   976.8 seconds.
15/64  d1=B       7     Estimated remaining time:   958.1 seconds.
16/64  d1=N      16     Estimated remaining time:   939.8 seconds.
17/64  e1=Q    1252     Estimated remaining time:   924.8 seconds.
18/64  e1=R      22     Estimated remaining time:   908.3 seconds.
19/64  e1=B      12     Estimated remaining time:   892.6 seconds.
20/64  e1=N      49     Estimated remaining time:   876.3 seconds.
21/64  f1=Q    1321     Estimated remaining time:   859.1 seconds.
22/64  f1=R      15     Estimated remaining time:   842.2 seconds.
23/64  f1=B       5     Estimated remaining time:   825.6 seconds.
24/64  f1=N      55     Estimated remaining time:   809.0 seconds.
25/64  g1=Q    1041     Estimated remaining time:   793.1 seconds.
26/64  g1=R      21     Estimated remaining time:   779.6 seconds.
27/64  g1=B      16     Estimated remaining time:   764.7 seconds.
28/64  g1=N      23     Estimated remaining time:   748.5 seconds.
29/64  h1=Q    1228     Estimated remaining time:   732.5 seconds.
30/64  h1=R       4     Estimated remaining time:   717.4 seconds.
31/64  h1=B       0     Estimated remaining time:   702.0 seconds.
32/64  h1=N      17     Estimated remaining time:   686.4 seconds.
33/64  a8=Q    2290     Estimated remaining time:   671.1 seconds.
34/64  a8=R      18     Estimated remaining time:   656.6 seconds.
35/64  a8=B       3     Estimated remaining time:   641.4 seconds.
36/64  a8=N      18     Estimated remaining time:   626.5 seconds.
37/64  b8=Q    2081     Estimated remaining time:   611.4 seconds.
38/64  b8=R      13     Estimated remaining time:   596.3 seconds.
39/64  b8=B       2     Estimated remaining time:   581.3 seconds.
40/64  b8=N      24     Estimated remaining time:   567.8 seconds.
41/64  c8=Q    2036     Estimated remaining time:   554.5 seconds.
42/64  c8=R      21     Estimated remaining time:   541.0 seconds.
43/64  c8=B       2     Estimated remaining time:   527.8 seconds.
44/64  c8=N      27     Estimated remaining time:   514.3 seconds.
45/64  d8=Q    2152     Estimated remaining time:   501.0 seconds.
46/64  d8=R      22     Estimated remaining time:   487.6 seconds.
47/64  d8=B       9     Estimated remaining time:   472.9 seconds.
48/64  d8=N      42     Estimated remaining time:   458.3 seconds.
49/64  e8=Q    1612     Estimated remaining time:   443.8 seconds.
50/64  e8=R      13     Estimated remaining time:   429.4 seconds.
51/64  e8=B       7     Estimated remaining time:   415.1 seconds.
52/64  e8=N      48     Estimated remaining time:   400.6 seconds.
53/64  f8=Q    1463     Estimated remaining time:   386.1 seconds.
54/64  f8=R      14     Estimated remaining time:   371.4 seconds.
55/64  f8=B       6     Estimated remaining time:   356.8 seconds.
56/64  f8=N      69     Estimated remaining time:   342.2 seconds.
57/64  g8=Q    1200     Estimated remaining time:   327.6 seconds.
58/64  g8=R      10     Estimated remaining time:   313.1 seconds.
59/64  g8=B       2     Estimated remaining time:   298.6 seconds.
60/64  g8=N      29     Estimated remaining time:   284.0 seconds.
61/64  h8=Q    1389     Estimated remaining time:   269.6 seconds.
62/64  h8=R       5     Estimated remaining time:   255.2 seconds.
63/64  h8=B       5     Estimated remaining time:   240.8 seconds.
64/64  h8=N      24     Estimated remaining time:   226.5 seconds.

Promotions/underpromotions to:
  Q:  26241
  R:    244
  B:    108
  N:    475

Searching promotions/underpromotions that give check...

1/8   *1=Q+    2981     Estimated remaining time:   212.2 seconds.
2/8   *1=R+      47     Estimated remaining time:   198.0 seconds.
3/8   *1=B+      28     Estimated remaining time:   183.8 seconds.
4/8   *1=N+     167     Estimated remaining time:   169.7 seconds.
5/8   *8=Q+    3933     Estimated remaining time:   155.4 seconds.
6/8   *8=R+      52     Estimated remaining time:   141.2 seconds.
7/8   *8=B+      12     Estimated remaining time:   127.0 seconds.
8/8   *8=N+     231     Estimated remaining time:   112.8 seconds.

Searching promotions/underpromotions that give checkmate...

1/8   *1=Q#       0     Estimated remaining time:    98.8 seconds.
2/8   *1=R#       0     Estimated remaining time:    84.7 seconds.
3/8   *1=B#       0     Estimated remaining time:    70.6 seconds.
4/8   *1=N#       0     Estimated remaining time:    56.4 seconds.
5/8   *8=Q#       0     Estimated remaining time:    42.3 seconds.
6/8   *8=R#       0     Estimated remaining time:    28.2 seconds.
7/8   *8=B#       0     Estimated remaining time:    14.1 seconds.
8/8   *8=N#       0

Number of lines of this PGN file:    9617833

Approximated elapsed time:  1184.6 seconds.

The obtained results will be saved into Promotions_stats_PGN_Mentor_230_players.pgn.txt file.

The results were successfully saved into Promotions_stats_PGN_Mentor_230_players.pgn.txt file.

Thanks for using this tool. Press enter to exit.

Code: Select all

PGN_Mentor_230_players.pgn
 
a1=Q:   2051
a1=R:      6
a1=B:     16
a1=N:     15
 
b1=Q:   1880
b1=R:     21
b1=B:     10
b1=N:     10
 
c1=Q:   1829
c1=R:     16
c1=B:      6
c1=N:      9
 
d1=Q:   1416
d1=R:     23
d1=B:      7
d1=N:     16
 
e1=Q:   1252
e1=R:     22
e1=B:     12
e1=N:     49
 
f1=Q:   1321
f1=R:     15
f1=B:      5
f1=N:     55
 
g1=Q:   1041
g1=R:     21
g1=B:     16
g1=N:     23
 
h1=Q:   1228
h1=R:      4
h1=B:      0
h1=N:     17
 
a8=Q:   2290
a8=R:     18
a8=B:      3
a8=N:     18
 
b8=Q:   2081
b8=R:     13
b8=B:      2
b8=N:     24
 
c8=Q:   2036
c8=R:     21
c8=B:      2
c8=N:     27
 
d8=Q:   2152
d8=R:     22
d8=B:      9
d8=N:     42
 
e8=Q:   1612
e8=R:     13
e8=B:      7
e8=N:     48
 
f8=Q:   1463
f8=R:     14
f8=B:      6
f8=N:     69
 
g8=Q:   1200
g8=R:     10
g8=B:      2
g8=N:     29
 
h8=Q:   1389
h8=R:      5
h8=B:      5
h8=N:     24
 
=======================
 
a1=*:    2088 ( 16.82%)
b1=*:    1921 ( 15.48%)
c1=*:    1860 ( 14.99%)
d1=*:    1462 ( 11.78%)
e1=*:    1335 ( 10.76%)
f1=*:    1396 ( 11.25%)
g1=*:    1101 (  8.87%)
h1=*:    1249 ( 10.06%)
 SUM:   12412
 
-----------------------
 
a8=*:    2329 ( 15.89%)
b8=*:    2120 ( 14.47%)
c8=*:    2086 ( 14.23%)
d8=*:    2225 ( 15.18%)
e1=*:    1680 ( 11.46%)
f8=*:    1552 ( 10.59%)
g8=*:    1241 (  8.47%)
h8=*:    1423 (  9.71%)
 SUM:   14656
 
-----------------------
 
a*=*:    4417 ( 16.32%)
b*=*:    4041 ( 14.93%)
c*=*:    3946 ( 14.58%)
d*=*:    3687 ( 13.62%)
e*=*:    3015 ( 11.14%)
f*=*:    2948 ( 10.89%)
g*=*:    2342 (  8.65%)
h*=*:    2672 (  9.87%)
 SUM:   27068
 
=======================
 
*1=*:   12412 ( 45.85%)
*8=*:   14656 ( 54.15%)
 SUM:   27068
 
=======================
 
*1=Q:   12018 ( 96.83%)
*1=R:     128 (  1.03%)
*1=B:      72 (  0.58%)
*1=N:     194 (  1.56%)
 SUM:   12412
 
-----------------------
 
*8=Q:   14223 ( 97.05%)
*8=R:     116 (  0.79%)
*8=B:      36 (  0.25%)
*8=N:     281 (  1.92%)
 SUM:   14656
 
-----------------------
 
 *=Q:   26241 ( 96.94%)
 *=R:     244 (  0.90%)
 *=B:     108 (  0.40%)
 *=N:     475 (  1.75%)
 SUM:   27068
 
=======================
 
(  27068 promotions and underpromotions in  531366 games) ~ 0.0509 (promotions and underpromotions)/game.
The difference between kingside and queenside is very clear.

I used joined by Andreas Stable with the following settings:

Code: Select all

[...]

Usage&#58; joined &#91;<*.PGN, *.FEN or *.EPD file>&#93; &#91;-<options>&#93;
Legal options are&#58;
   -p        &#58; Print messages to both stderr and stdout
   -q        &#58; Quit after scanning input file
   -r        &#58; Initial value for random algorithm
   -s        &#58; Print messages only to stdout
   -v<number>&#58; Set verbose level to <number> &#40;default 4&#41;
      The numbers may be added. The numbers are&#58;
       1&#58; Print PGN
       2&#58; Calculate number of legal moves in all positions
       4&#58; Print progress &#40;default&#41;
       8&#58; Print all warnings
      16&#58; Check PGN
      32&#58; Report result = '*'
      64&#58; Get statistics on all types of moves
***** Error exit *****

&#91;...&#93;

joined PGN_Mentor_230_players.pgn -v68
In principle, -v68 means options 4 and 64 (4 + 64 = 68). Here is the output:

Code: Select all

Scanning file PGN_Mentor_230_players.pgn containing 348813541 bytes !
*** Warning&#58; Illegal PGN syntax&#58; "URS-ch in line 3190871 !
--- Skipped to next header from line 3190871 to 3190872 !
*** Warning&#58; Illegal PGN syntax&#58; "URS-ch in line 7027888 !
--- Skipped to next header from line 7027888 to 7027889 !
*** Warning&#58; end = Rhg&#91;Event in line 7674049 !
--- Skipped to next header from line 7674049 to 7674049 !
*** Warning&#58; Illegal PGN syntax&#58; "Vienna"&#93; in line 8686952 !
--- Skipped to next header from line 8686952 to 8686953 !
Read 531366 games with 42762259 moves, 9617833 lines, 348813541 bytes !
Got max. 400 moves in game 108681 before line 1969544 !
Got 1347063493 legal moves in 43293625 positons !
Got max. 77 legal moves after move 82 in game 454070 line 8227606 !

Total move statistics&#58;
Pawn moves = 11274960, Knight moves = 7660097, Bishop moves = 6800220
Rook moves = 8150433, Queen moves = 5047654, King moves = 4776984
Check moves = 2068554, Mate moves = 4584, Stalemate moves = 605
Hit moves = 8613536, En passant moves = 31171, Pawn two moves = 3070029
Short castlings = 861000, Long castlings = 87089
Promotion to queen = 26281, Promotion to rook = 244
Promotion to bishop = 110, Promotion to knight = 477

Total game statistics&#58;
White won = 178105, Drawn = 232307, Black won = 120814
Unknown result = 140, Illegal result = 0, Conflicting results = 0
White mated = 1905, White stalemated = 275
Black mated = 2679, Black stalemated = 330

Number of games with different lengths&#58;
  1&#58;   428,   2&#58;    20,   3&#58;     5,   4&#58;    12,   5&#58;    11,   6&#58;    26
  7&#58;    34,   8&#58;    23,   9&#58;    81,  10&#58;    56,  11&#58;   142,  12&#58;   117
 13&#58;   270,  14&#58;   177,  15&#58;   437,  16&#58;   307,  17&#58;   616,  18&#58;   536
 19&#58;  1235,  20&#58;   945,  21&#58;  1339,  22&#58;  1079,  23&#58;  1833,  24&#58;  1438
 25&#58;  2007,  26&#58;  1675,  27&#58;  2278,  28&#58;  1841,  29&#58;  2737,  30&#58;  2185
 31&#58;  3047,  32&#58;  2296,  33&#58;  3251,  34&#58;  2560,  35&#58;  3255,  36&#58;  2566
 37&#58;  3722,  38&#58;  2732,  39&#58;  4095,  40&#58;  3133,  41&#58;  4224,  42&#58;  3140
 43&#58;  4492,  44&#58;  3358,  45&#58;  4758,  46&#58;  3645,  47&#58;  5237,  48&#58;  3810
 49&#58;  5476,  50&#58;  4282,  51&#58;  5641,  52&#58;  4162,  53&#58;  5778,  54&#58;  4478
 55&#58;  6151,  56&#58;  4599,  57&#58;  6293,  58&#58;  4840,  59&#58;  7115,  60&#58;  6200
 61&#58;  7491,  62&#58;  5542,  63&#58;  7275,  64&#58;  5464,  65&#58;  7186,  66&#58;  5522
 67&#58;  7311,  68&#58;  5410,  69&#58;  7137,  70&#58;  5952,  71&#58;  7439,  72&#58;  5940
 73&#58;  7476,  74&#58;  5679,  75&#58;  7453,  76&#58;  5532,  77&#58;  7571,  78&#58;  6020
 79&#58;  8503,  80&#58; 10049,  81&#58; 13370,  82&#58;  8812,  83&#58;  8931,  84&#58;  6412
 85&#58;  7116,  86&#58;  5348,  87&#58;  6612,  88&#58;  4785,  89&#58;  5852,  90&#58;  4593
 91&#58;  5302,  92&#58;  4508,  93&#58;  4982,  94&#58;  4070,  95&#58;  4902,  96&#58;  3976
 97&#58;  4647,  98&#58;  3831,  99&#58;  4380, 100&#58;  3708, 101&#58;  4397, 102&#58;  3497
103&#58;  4025, 104&#58;  3343, 105&#58;  3754, 106&#58;  3262, 107&#58;  3758, 108&#58;  2909
109&#58;  3659, 110&#58;  2920, 111&#58;  3307, 112&#58;  3107, 113&#58;  3574, 114&#58;  3032
115&#58;  3158, 116&#58;  2533, 117&#58;  2908, 118&#58;  2435, 119&#58;  3109, 120&#58;  3231
121&#58;  3002, 122&#58;  2411, 123&#58;  2473, 124&#58;  1844, 125&#58;  2071, 126&#58;  1737
127&#58;  2002, 128&#58;  1577, 129&#58;  1794, 130&#58;  1648, 131&#58;  1825, 132&#58;  1523
133&#58;  1471, 134&#58;  1313, 135&#58;  1309, 136&#58;  1237, 137&#58;  1227, 138&#58;  1116
139&#58;  1254, 140&#58;  1011, 141&#58;  1062, 142&#58;   881, 143&#58;  1059, 144&#58;   930
145&#58;  1186, 146&#58;   879, 147&#58;   910, 148&#58;   783, 149&#58;   880, 150&#58;   719
151&#58;   697, 152&#58;   618, 153&#58;   692, 154&#58;   616, 155&#58;   718, 156&#58;   549
157&#58;   555, 158&#58;   458, 159&#58;   541, 160&#58;   532, 161&#58;   472, 162&#58;   413
163&#58;   474, 164&#58;   363, 165&#58;   406, 166&#58;   348, 167&#58;   384, 168&#58;   290
169&#58;   330, 170&#58;   274, 171&#58;   344, 172&#58;   276, 173&#58;   333, 174&#58;   261
175&#58;   269, 176&#58;   209, 177&#58;   275, 178&#58;   241, 179&#58;   233, 180&#58;   258
181&#58;   234, 182&#58;   169, 183&#58;   191, 184&#58;   139, 185&#58;   194, 186&#58;   164
187&#58;   179, 188&#58;   155, 189&#58;   140, 190&#58;   135, 191&#58;   124, 192&#58;   138
193&#58;   110, 194&#58;    96, 195&#58;   102, 196&#58;   100, 197&#58;   104, 198&#58;   104
199&#58;   122, 200&#58;   130, 201&#58;   105, 202&#58;    90, 203&#58;   102, 204&#58;    57
205&#58;    80, 206&#58;    47, 207&#58;    78, 208&#58;    89, 209&#58;    86, 210&#58;    73
211&#58;    55, 212&#58;    37, 213&#58;    77, 214&#58;    82, 215&#58;    82, 216&#58;    46
217&#58;    52, 218&#58;    35, 219&#58;    49, 220&#58;    40, 221&#58;    58, 222&#58;    35
223&#58;    41, 224&#58;    58, 225&#58;    57, 226&#58;    32, 227&#58;    38, 228&#58;    41
229&#58;    23, 230&#58;    28, 231&#58;    29, 232&#58;    24, 233&#58;    33, 234&#58;    20
235&#58;    26, 236&#58;    34, 237&#58;    25, 238&#58;    18, 239&#58;    32, 240&#58;    28
241&#58;    21, 242&#58;    32, 243&#58;    20, 244&#58;    20, 245&#58;    21, 246&#58;    15
247&#58;    19, 248&#58;    17, 249&#58;    17, 250&#58;    13, 251&#58;    16, 252&#58;    11
253&#58;    21, 254&#58;    24, 255&#58;     8, 256&#58;    18, 257&#58;    16, 258&#58;     9
259&#58;     7, 260&#58;     2, 261&#58;     6, 262&#58;    14, 263&#58;    12, 264&#58;     9
265&#58;    14, 266&#58;    21, 267&#58;    16, 268&#58;     4, 269&#58;    13, 270&#58;     6
271&#58;     8, 272&#58;    10, 273&#58;     7, 274&#58;     6, 275&#58;    13, 276&#58;     2
277&#58;    14, 278&#58;    15, 279&#58;     5, 280&#58;     2, 281&#58;     7, 283&#58;     2
284&#58;     3, 285&#58;     6, 286&#58;     4, 287&#58;     6, 290&#58;     4, 291&#58;     3
292&#58;     8, 293&#58;     2, 294&#58;     2, 295&#58;     3, 296&#58;     2, 298&#58;    12
299&#58;     5, 300&#58;     4, 301&#58;     4, 302&#58;     1, 303&#58;     2, 304&#58;     1
305&#58;     5, 307&#58;     6, 308&#58;     4, 309&#58;     1, 310&#58;     2, 311&#58;     5
312&#58;     1, 314&#58;     4, 316&#58;     1, 318&#58;     4, 319&#58;     2, 320&#58;     3
321&#58;     4, 322&#58;     2, 323&#58;     2, 324&#58;     2, 325&#58;     3, 327&#58;     9
329&#58;     4, 330&#58;     3, 332&#58;     4, 336&#58;     2, 338&#58;     3, 348&#58;     3
356&#58;     3, 363&#58;     3, 369&#58;     2, 400&#58;     6
As everybody can see, short castlings are around 861000/(861000 + 87089) ~ 90.81% of the castlings. Regarding promotions/underpromotions, my tool did not count 40 promotions to queen (~ 0.15%), 2 underpromotions to bishop (~ 1.82%) and 2 underpromotions to knight (~ 0.42%), while got the right number of underpromotions to rook. OTOH, it counted well the number of lines, games, 1-0, 0-1, 1/2-1/2 and unknown results.

Probably tomorrow I can do the same by merging PGNs by openings hosted at PGN Mentor web, but I do not promise anything. The good thing about that is that it should not be any duplicate games (or very few), just the opposite as the case of this post.

Regards from Spain.

Ajedrecista.

Dr. Axel Schumacher
Posts: 1191
Joined: Thu Mar 09, 2006 12:32 pm
Location: Cologne-Uppsala-St. Petersburg-Cambridge-Toronto-Munich-Basel
Contact:

Re: Chances of survival of individual chess pieces...

Post by Dr. Axel Schumacher » Fri Oct 10, 2014 7:05 pm

Great stuff !
Thanks.

At a later time I will try to summarize the data and maybe combine it with the survival data. Now I have to prepare my things though; I have to go to the airport, heading to Boston tomorrow morning...
(If they let me through the Ebola control..)

Best
Axel
"A child of five would understand this. Send someone to fetch a child of five".
Groucho Marx

User avatar
Ajedrecista
Posts: 1401
Joined: Wed Jul 13, 2011 7:04 pm
Location: Madrid, Spain.
Contact:

Re: Chances of survival of individual chess pieces...

Post by Ajedrecista » Sat Oct 11, 2014 3:32 pm

Hello again:

Sorry for this insanely long post.

I merged 232 PGN of openings from PGN Mentor following the same method than with the 230 players. This time:

Code: Select all

type *.pgn >> PGN_Mentor_openings_database.pgn
In other post I said that KIDOther7.pgn was the PGN with more games. I was wrong: it is BenkoGambit.pgn (39107 games).

The merged PGN was huge: 1,998,380,485 bytes (circa 1.86 GB). Here is the list of the openings and number of games that contains:

Code: Select all

=================
MODERN QUEEN PAWN
=================

Modern.pgn
Modern
10865 games	1.d4 d6 2.c4 g6 3.Nc3 Bg7 4.e4

SemiBenoni.pgn
Semi-Benoni
3378 games	1.d4 c5 2.d5 e5

Trompowsky2Ne4.pgn
Trompowsky, 2...Ne4
6558 games	1.d4 Nf6 2.Bg5 Ne4

Trompowsky2e6.pgn
Trompowsky, 2...e6
5357 games	1.d4 Nf6 2.Bg5 e6

TrompowskyOther.pgn
Trompowsky, Other
8597 games	1.d4 Nf6 2.Bg5 d5, c5, g6

Torre2e6.pgn
Torre, 2...e6
9005 games	1.d4 Nf6 2.Nf3 e6 3.Bg5

Torre2g6.pgn
Torre, 2...g6
9205 games	1.d4 Nf6 2.Nf3 g6 3.Bg5

London2e6.pgn
London System, 2...e6
3717 games	1.d4 Nf6 2.Nf3 e6 3.Bf4

London2g6.pgn
London System, 2...g6
6877 games	1.d4 Nf6 2.Nf3 g6 3.Bf4

Catalan3Bb4.pgn
Catalan, 3...Bb4
3489 games	1.d4 Nf6 2.c4 e6 3.g3 Bb4+

Catalan3c5.pgn
Catalan, 3...c5
3267 games	1.d4 Nf6 2.c4 e6 3.g3 c5

CatalanOpen.pgn
Catalan, Open
1513 games	1.d4 Nf6 2.c4 e6 3.g3 d5 4.Bg2 dxc4

CatalanClosed.pgn
Catalan, Closed
9578 games	1.d4 Nf6 2.c4 e6 3.g3 d5 4.Bg2 Be7 5.Nf3

BlackKnightTango.pgn
Black Knights Tango
1855 games	1.d4 Nf6 2.c4 Nc6

BudapestGambit.pgn
Budapest Gambit
7390 games	1.d4 Nf6 2.c4 e5

OldIndian.pgn
Old Indian
12469 games	1.d4 Nf6 2.c4 d6

CzechBenoni.pgn
Czech Benoni
3888 games	1.d4 Nf6 2.c4 c5 3.d5 e5 4.Nc3 d6

BenkoGambit.pgn
Benko &#40;Volga&#41; Gambit
39107 games	1.d4 Nf6 2.c4 c5 3.d5 b5

ModernBenoni6Nf3.pgn
Modern Benoni, 6.Nf3
8719 games	1.d4 Nf6 2.c4 c5 3.d5 e6 4.Nc3 exd5 5.cxd5 d6 6.Nf3

ModernBenoni6e4.pgn
Modern Benoni, 6.e4
7479 games	1.d4 Nf6 2.c4 c5 3.d5 e6 4.Nc3 exd5 5.cxd5 d6 6.e4

DutchLeningrad.pgn
Dutch, Leningrad
4800 games	1.d4 f5 2.c4 Nf6 3.g3 g6 4.Bg2 Bg7 5.Nf3 O-O 6.O-O

DutchClassical.pgn
Dutch, Classical
4844 games	1.d4 f5 2.c4 Nf6 3.g3 e6 4.Bg2

Dutch3Nc3.pgn
Dutch, 3.Nc3
3533 games	1.d4 f5 2.c4 Nf6 3.Nc3

DutchOther.pgn
Dutch, Other
7646 games	1.d4 f5 2.Nc3, Bg5, e4

GrunfeldFianchetto.pgn
Grunfeld, Fianchetto
3911 games	1.d4 Nf6 2.c4 g6 3.g3 d5 4.Bg2 Bg7 5.Nf3 O-O 6.O-O

Grunfeld4Nf3.pgn
Grunfeld, 4.Nf3
11695 games	1.d4 Nf6 2.c4 g6 3.Nc3 d5 4.Nf3

GrunfeldOther.pgn
Grunfeld, Other
7069 games	1.d4 Nf6 2.c4 g6 3.Nc3 d5 4.Bf4, Bg5, e3, Qb3

GrunfeldExchange.pgn
Grunfeld, Exchange
12732 games	1.d4 Nf6 2.c4 g6 3.Nc3 d5 4.cxd5 Nxd5 5.e4 Nxc3 6.bxc3 Bg7

Bogo4Bd2.pgn
Bogo-Indian, 4.Bd2
10948 games	1.d4 Nf6 2.c4 e6 3.Nf3 Bb4+ 4.Bd2

Bogo4Nbd2.pgn
Bogo-Indian, 4.Nbd2
5830 games	1.d4 Nf6 2.c4 e6 3.Nf3 Bb4+ 4.Nbd2

QID4a3.pgn
Queen's Indian, 4.a3
8302 games	1.d4 Nf6 2.c4 e6 3.Nf3 b6 4.a3

QID4Nc3.pgn
Queen's Indian, 4.Nc3
7040 games	1.d4 Nf6 2.c4 e6 3.Nf3 b6 4.Nc3

QID4e3.pgn
Queen's Indian, 4.e3
3207 games	1.d4 Nf6 2.c4 e6 3.Nf3 b6 4.e3

QIDOther.pgn
Queen's Indian, Other
1292 games	1.d4 Nf6 2.c4 e6 3.Nf3 b6 4.Bg5, Bf4

QID4g3-Ba6.pgn
Queen's Indian, 4.g3 Ba6
11458 games	1.d4 Nf6 2.c4 e6 3.Nf3 b6 4.g3 Ba6

QID4g3Other.pgn
Queen's Indian, 4.g3 Other
9854 games	1.d4 Nf6 2.c4 e6 3.Nf3 b6 4.g3 Bb7, Bb4+

Nimzo4Nf3.pgn
Nimzo-Indian, 4.Nf3
6175 games	1.d4 Nf6 2.c4 e6 3.Nc3 Bb4 4.Nf3

NimzoSaemisch.pgn
Nimzo-Indian, Saemisch
2543 games	1.d4 Nf6 2.c4 e6 3.Nc3 Bb4 4.a3

NimzoLeningrad.pgn
Nimzo-Indian, Leningrad
2976 games	1.d4 Nf6 2.c4 e6 3.Nc3 Bb4 4.Bg5

Nimzo4f3.pgn
Nimzo-Indian, 4.f3
4008 games	1.d4 Nf6 2.c4 e6 3.Nc3 Bb4 4.f3

NimzoOther4.pgn
Nimzo-Indian, Other 4th moves
3123 games	1.d4 Nf6 2.c4 e6 3.Nc3 Bb4 4.g3, Qb3, Bd2

NimzoCl4O-O.pgn
Nimzo-Indian, Classical, 4...O-O
9648 games	1.d4 Nf6 2.c4 e6 3.Nc3 Bb4 4.Queenc2 O-O

NimzoCl4c5.pgn
Nimzo-Indian, Classical, 4...c5
5546 games	1.d4 Nf6 2.c4 e6 3.Nc3 Bb4 4.Queenc2 c5

NimzoClOther.pgn
Nimzo-Indian, Classical, Other
5920 games	1.d4 Nf6 2.c4 e6 3.Nc3 Bb4 4.Queenc2 d5, Nc6, b6, d6

NimzoRub4O-O.pgn
Nimzo-Indian, Rubinstein, 4...O-O
11214 games	1.d4 Nf6 2.c4 e6 3.Nc3 Bb4 4.e3 O-O

NimzoRub4c5.pgn
Nimzo-Indian, Rubinstein, 4...c5
7391 games	1.d4 Nf6 2.c4 e6 3.Nc3 Bb4 4.e3 c5

NimzoRubOther.pgn
Nimzo-Indian, Rubinstein, Other
6352 games	1.d4 Nf6 2.c4 e6 3.Nc3 Bb4 4.e3 b6, d5, Nc6, Bxc3+

KIDAverbakh.pgn
King's Indian, Averbakh
6982 games	1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Be2 O-O 6.Bg5

KIDFianchetto.pgn
King's Indian, Fianchetto
14778 games	1.c4 Nf6 2.d4 g6 3.g3 Bg7 4.Bg2 d6 5.Nf3 O-O

KID4pawns.pgn
King's Indian, 4 Pawns Attack
6295 games	1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.f4

KIDSaemisch.pgn
King's Indian, Saemisch
20513 games	1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.f3

KIDClassical.pgn
King's Indian, Classical
Main Line
16746 games	1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Nf3 O-O 6.Be2 e5 7.O-O Nc6

KIDOther7.pgn
King's Indian, Classical
Other 7th moves
28298 games	1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Nf3 O-O 6.Be2 e5 7.Be3, dxe5, Bg5 
1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Nf3 O-O 6.Be2 e5 7.O-O Nbd7, Na6, exd4, c6, Nh5, Queene8

KIDPetrosian.pgn
King's Indian, Classical
Petrosian
5336 games	1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Nf3 O-O 6.Be2 e5 7.d5

KIDOther56.pgn
King's Indian, Classical
Other 5th and 6th moves
9354 games	1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Nf3 Bg4, Nbd7, c6, c5 
1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Nf3 O-O 6.h3, Be3, Bg5, Bd3, g3

====================
CLASSICAL QUEEN PAWN
====================

Hodgson.pgn
Hogdson Attack
3638 games	1.d4 d5 2.Bg5

Colle.pgn
Colle System
7732 games	1.d4 d5 2.Nf3 Nf6 3.e3

QGSym-Baltic.pgn
Queen's Gambit
Symmetrical and Baltic
2053 games	1.d4 d5 2.c4 c5
1.d4 d5 2.c4 Bf5

QG-Albin.pgn
Queen's Gambit
Albin Counter-Gambit
2853 games	1.d4 d5 2.c4 e5

QG-Chigorin.pgn
Queen's Gambit, Chigorin
4252 games	1.d4 d5 2.c4 Nc6

SlavOther34.pgn
Queen's Gambit, Slav
Other 3rd and 4th moves
8722 games	1.d4 d5 2.c4 c6 3.Nf3 dxc4
1.d4 d5 2.c4 c6 3.Nf3 Nf6 4.Queenc2, Qb3, g3, Nbd2

SlavExchange.pgn
Queen's Gambit, Slav, Exchange
7312 games	1.d4 d5 2.c4 c6 3.Nf3 Nf6 4.cxd5 cxd5 5.Nc3

Slav4a6.pgn
Queen's Gambit, Slav, 4...a6
7709 games	1.d4 d5 2.c4 c6 3.Nf3 Nf6 4.Nc3 a6

SlavOther5.pgn
Queen's Gambit, Slav
Other 5th moves
4610 games	1.d4 d5 2.c4 c6 3.Nf3 Nf6 4.Nc3 dxc4 5.e4, e3, Ne5, g3
1.d4 d5 2.c4 c6 3.Nf3 Nf6 4.Nc3 dxc4 5.a4 Bg4, Na6, e6

SlavMain.pgn
Queen's Gambit, Slav, Main Line
11670 games	1.d4 d5 2.c4 c6 3.Nf3 Nf6 4.Nc3 dxc4 5.a4 Bf5

QGA3e4.pgn
Queen's Gambit Accepted, 3.e4
4020 games	1.d4 d5 2.c4 dxc4 3.e4

QGAOther3.pgn
Queen's Gambit Accepted
Other 3rd moves
2901 games	1.d4 d5 2.c4 dxc4 3.Nf3 a6, c5

QGAOther4.pgn
Queen's Gambit Accepted
Other 4th moves
7064 games	1.d4 d5 2.c4 dxc4 3.Nf3 Nf6 4.Nc3, Queena4+
1.d4 d5 2.c4 dxc4 3.Nf3 Nf6 4.e3 Bg4, a6, g6, c5

QGAMain.pgn
Queen's Gambit Accepted
Main Line
6604 games	1.d4 d5 2.c4 dxc4 3.Nf3 Nf6 4.e3 e6 5.Bxc4 c5

QGDOther34.pgn
Queen's Gambit Declined
Other 3rd and 4th moves
23451 games	1.d4 d5 2.c4 e6 3.Nf3 c5
1.d4 d5 2.c4 e6 3.Nc3 c6 4.e4
1.d4 d5 2.c4 e6 3.Nc3 c6 4.Nf3 dxc4
1.d4 d5 2.c4 e6 3.Nc3 c6 4.cxd5 exd5
1.d4 d5 2.c4 e6 3.Nc3 Nf6 4.Nf3 Nbd7, Bb4

QGDTarrasch.pgn
Queen's Gambit Declined
Tarrasch
6110 games	1.d4 d5 2.c4 e6 3.Nc3 c5

QGDExchange.pgn
Queen's Gambit Declined
Exchange
11556 games	1.d4 d5 2.c4 e6 3.Nc3 Nf6 4.cxd5

QGD5Bf4.pgn
Queen's Gambit Declined, 5.Bf4
6344 games	1.d4 d5 2.c4 e6 3.Nc3 Nf6 4.Nf3 Be7 5.Bf4

SemiTarr5e3-Nc6.pgn
Queen's Gambit Declined
Semi-Tarrasch, 5.e3 Nc6
4093 games	1.d4 d5 2.c4 e6 3.Nc3 Nf6 4.Nf3 c5 5.e3 Nc6

SemiTarraschMain.pgn
Queen's Gambit Declined
Semi-Tarrasch, Main Line
2622 games	1.d4 d5 2.c4 e6 3.Nc3 Nf6 4.Nf3 c5 5.cxd5

SemiSlavOther5.pgn
Queen's Gambit Declined
Semi-Slav, Other 5th moves
1019 games	1.d4 d5 2.c4 e6 3.Nf3 Nf6 4.Nc3 c6 5.Qb3, Bf4

SemiSlavBotvinnik.pgn
Queen's Gambit Declined
Semi-Slav, Botvinnik
13312 games	1.d4 d5 2.c4 e6 3.Nf3 Nf6 4.Nc3 c6 5.Bg5

SemiSlavMeran.pgn
Queen's Gambit Declined
Semi-Slav, Meran and Anti-Meran
26699 games	1.d4 d5 2.c4 e6 3.Nc3 Nf6 4.Nf3 c6 5.e3

QGDOrthoOther4.pgn
Queen's Gambit Declined
Orthodox, Other 4th moves
5570 games	1.d4 d5 2.c4 e6 3.Nc3 Nf6 4.Bg5 Nbd7, c5, Bb4

QGDOrthoMain.pgn
Queen's Gambit Declined
Orthodox, Main Line
10078 games	1.d4 d5 2.c4 e6 3.Nc3 Nf6 4.Bg5 Be7

================
MODERN KING PAWN
================

OwenDefense.pgn
Owen Defense
3188 games	1.e4 b6

NimzoDefense.pgn
Nimzowitsch Defense
8963 games	1.e4 Nc6

Scand3Qd6-Qd8.pgn
Scandinavian, 2...Queenxd5
3...Queend6 and 3...Queend8
7150 games	1.e4 d5 2.exd5 Queenxd5 3.Nc3 Queend6 
1.e4 d5 2.exd5 Queenxd5 3.Nc3 Queend8

Scand2Qxd5-3Qa5.pgn
Scandinavian, 2...Queenxd5, 3...Queena5
13750 games	1.e4 d5 2.exd5 Queenxd5 3.Nc3 Queena5

Scand2Nf6-3d4.pgn
Scandinavian, 2...Nf6 3.d4
7690 games	1.e4 d5 2.exd5 Nf6 3.d4

Scand2Nf6Other.pgn
Scandinavian, 2...Nf6 Other
9660 games	1.e4 d5 2.exd5 Nf6 3.c4, Bb5+, Nc3, Nf3, Bc4

Alekhine2Nc3-d5.pgn
Alekhine, 2.Nc3 d5
4960 games	1.e4 Nf6 2.Nc3 d5

AlekhineOther3.pgn
Alekhine, Other 3rd moves
5446 games	1.e4 Nf6 2.e5 Nd5 3.c4, Nc3, Nf3, Bc4, g3

AlekhineExchange.pgn
Alekhine, Exchange
4898 games	1.e4 Nf6 2.e5 Nd5 3.d4 d6 4.c4 Nb6 5.exd6

Alekhine4Pawns.pgn
Alekhine, Four Pawns Attack
2229 games	1.e4 Nf6 2.e5 Nd5 3.d4 d6 4.c4 Nb6 5.f4

AlekhineModern.pgn
Alekhine, Modern
11256 games	1.e4 Nf6 2.e5 Nd5 3.d4 d6 4.Nf3

Modern3Nf3.pgn
Modern, 3.Nf3
11099 games	1.e4 g6 2.d4 Bg7 3.Nf3

Modern3Nc3-d6.pgn
Modern, 3.Nc3 d6
20860 games	1.e4 g6 2.d4 Bg7 3.Nc3 d6

Modern3Nc3-c6.pgn
Modern, 3.Nc3 c6
7958 games	1.e4 g6 2.d4 Bg7 3.Nc3 c6

Modern3Nc3Other.pgn
Modern, 3.Nc3 Other
2020 games	1.e4 g6 2.d4 Bg7 3.Nc3 c5, a6, d5, Nc6

ModernOther3.pgn
Modern, Other 3rd moves
4899 games	1.e4 g6 2.d4 Bg7 3.c3, f4, Be3, Bc4

PircOtherWhite3.pgn
Pirc, Other White 3rd moves
4959 games	1.e4 d6 2.d4 Nf6 3.Bd3, f3, Nd2

PircOtherBlack3.pgn
Pirc, Other Black 3rd moves
17458 games	1.e4 d6 2.d4 Nf6 3.Nc3 c6, e5, Nbd7

PircAustrian.pgn
Pirc, Austrian Attack
7470 games	1.e4 d6 2.d4 Nf6 3.Nc3 g6 4.f4

PircOtherWhite4.pgn
Pirc, Other White 4th moves
12349 games	1.e4 d6 2.d4 Nf6 3.Nc3 g6 4.Be3, Bg5, f3, g3, Be2

PircClassical.pgn
Pirc, Classical
7509 games	1.e4 d6 2.d4 Nf6 3.Nc3 g6 4.Nf3

Caro-Kann2c4.pgn
Caro-Kann, 2.c4
8322 games	1.e4 c6 2.c4

Caro-Kann2Knight.pgn
Caro-Kann, Two Knights
5833 games	1.e4 c6 2.Nc3 d5 3.Nf3

Caro-KannEx.pgn
Caro-Kann, Exchange
6108 games	1.e4 c6 2.d4 d5 3.exd5 cxd5 4.Bd3

Caro-KannPan-Bot.pgn
Caro-Kann
Panov-Botvinnik Attack
13748 games	1.e4 c6 2.d4 d5 3.exd5 cxd5 4.c4

Caro-KannAdv.pgn
Caro-Kann, Advance
18962 games	1.e4 c6 2.d4 d5 3.e5

Caro-Kann4Nf6.pgn
Caro-Kann, 4...Nf6
5915 games	1.e4 c6 2.d4 d5 3.Nc3 dxe4 4.Nxe4 Nf6

Caro-Kann4Nd7.pgn
Caro-Kann, 4...Nd7
8938 games	1.e4 c6 2.d4 d5 3.Nc3 dxe4 4.Nxe4 Nd7

Caro-KannClassic.pgn
Caro-Kann, Classical
16014 games	1.e4 c6 2.d4 d5 3.Nc3 dxe4 4.Nxe4 Bf5

FrenchKIA.pgn
French, King's Indian Attack
12899 games	1.e4 e6 2.d3

FrenchOther2.pgn
French, Other 2nd moves
12665 games	1.e4 e6 2.Nf3, Queene2, Nc3, b3, c4

FrenchExchange.pgn
French, Exchange
14121 games	1.e4 e6 2.d4 d5 3.exd5

FrenchAdvance.pgn
French, Advance
19354 games	1.e4 e6 2.d4 d5 3.e5 c5 4.c3

FrTarraschOther3.pgn
French, Tarrasch
Other 3rd moves
8511 games	1.e4 e6 2.d4 d5 3.Nd2 Nc6, Be7, a6

FrTarrasch3c5.pgn
French, Tarrasch, 3...c5
12697 games	1.e4 e6 2.d4 d5 3.Nd2 c5

FrTarrasch3Nf6.pgn
French, Tarrasch, 3...Nf6
18381 games	1.e4 e6 2.d4 d5 3.Nd2 Nf6

FrenchRubinstein.pgn
French, Rubinstein
10971 games	1.e4 e6 2.d4 d5 3.Nc3 dxe4 4.Nxe4

FrWinawerOtherW4.pgn
French, Winawer
Other White 4th moves
7508 games	1.e4 e6 2.d4 d5 3.Nc3 Bb4 4.Ne2, exd5, Bd3, a3

FrWinawerOtherB4.pgn
French, Winawer
Other Black 4th moves
7663 games	1.e4 e6 2.d4 d5 3.Nc3 Bb4 4.e5 Ne7, b6, Queend7

FrWinawerMain.pgn
French, Winawer, Main Line
16590 games	1.e4 e6 2.d4 d5 3.Nc3 Bb4 4.e5 c5

FrenchSteinitz.pgn
French, Steinitz
9588 games	1.e4 e6 2.d4 d5 3.Nc3 Nf6 4.e5

FrenchMacCutcheon.pgn
French, MacCutcheon
3981 games	1.e4 e6 2.d4 d5 3.Nc3 Nf6 4.Bg5 Bb4

FrenchBurn.pgn
French, Burn
5119 games	1.e4 e6 2.d4 d5 3.Nc3 Nf6 4.Bg5 dxe4

FrenchClassical.pgn
French, Classical
5991 games	1.e4 e6 2.d4 d5 3.Nc3 Nf6 4.Bg5 Be7

SicilianMisc2.pgn
Sicilian
Miscellaneous 2nd moves
18925 games	1.e4 c5 2.d3, b3, c4, g3, Ne2, Bc4, b4

Sicilian2f4.pgn
Sicilian, 2.f4
5465 games	1.e4 c5 2.f4

SicilianSmith-Morra.pgn
Sicilian, Smith-Morra Gambit
6994 games	1.e4 c5 2.d4 cxd4 3.c3

SicilianAlapinOther2.pgn
Sicilian, Alapin, Other 2nd moves
13390 games	1.e4 c5 2.c3 e6, d6, g6, e5, b6, Nc6, Queena5

SicilianAlapin2Nf6.pgn
Sicilian, Alapin, 2...Nf6
15913 games	1.e4 c5 2.c3 Nf6

SicilianAlapin2d5.pgn
Sicilian, Alapin, 2...d5
16461 games	1.e4 c5 2.c3 d5

Sicilian2Nc3-e6.pgn
Sicilian, 2.Nc2 e6
9420 games	1.e4 c5 2.Nc3 e6

Sicilian2Nc3-d6.pgn
Sicilian, 2.Nc2 d6
8350 games	1.e4 c5 2.Nc3 d6

SicilianGrandPrix.pgn
Sicilian, Grand Prix Attack
8945 games	1.e4 c5 2.Nc3 Nc6 3.f4

SicilianClosedOther3.pgn
Sicilian, Closed
Other 3rd moves
20619 games	1.e4 c5 2.Nc3 Nc6 3.Nf3, Nge2, Bb5

SicilianClosedMain.pgn
Sicilian, Closed, Main Line
16234 games	1.e4 c5 2.Nc3 Nc6 3.g3

Sicilian2Nf3Other2.pgn
Sicilian, 2.Nf3, Other 2nd moves
20309 games	1.e4 c5 2.Nf3 g6, a6, Nf6

SicilianRossolimo.pgn
Sicilian, Rossolimo
25182 games	1.e4 c5 2.Nf3 Nc6 3.Bb5

Sic2Nc6-4Qc7-4Qb6.pgn
Sicilian, 2...Nc6
4...Queenc7 and 4...Qb6
6804 games	1.e4 c5 2.Nf3 Nc6 3.d4 cxd4 4.Nxd4 Queenc7, Qb6

SicilianLowenthal.pgn
Sicilian, Lowenthal
9598 games	1.e4 c5 2.Nf3 Nc6 3.d4 cxd4 4.Nxd4 e5

Sicilian2Nc6Other5.pgn
Sicilian, 2...Nc6, Other 5th moves
2194 games	1.e4 c5 2.Nf3 Nc6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 g6, a6, Qb6

SicilianAccelDragon.pgn
Sicilian, Accelerated Dragon
17654 games	1.e4 c5 2.Nf3 Nc6 3.d4 cxd4 4.Nxd4 g6

SicilianSveshnikov.pgn
Sicilian, Sveshnikov &#40;Pelican&#41;
19205 games	1.e4 c5 2.Nf3 Nc6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 e5 6.Ndb5 d6

SicilianKanOther5.pgn
Sicilian, Kan &#40;Paulsen&#41;
Other 5th moves
2143 games	1.e4 c5 2.Nf3 e6 3.d4 cxd4 4.Nxd4 a6 5.Be2, Be3, g3

SicilianKan5c4.pgn
Sicilian, Kan &#40;Paulsen&#41;, 5.c4
3582 games	1.e4 c5 2.Nf3 e6 3.d4 cxd4 4.Nxd4 a6 5.c4

SicilianKan5Nc3.pgn
Sicilian, Kan &#40;Paulsen&#41;, 5.Nc3
16345 games	1.e4 c5 2.Nf3 e6 3.d4 cxd4 4.Nxd4 a6 5.Nc3

SicilianKan5Bd3.pgn
Sicilian, Kan &#40;Paulsen&#41;, 5.Bd3
14618 games	1.e4 c5 2.Nf3 e6 3.d4 cxd4 4.Nxd4 a6 5.Bd3

SicilianTaimanovOther5.pgn
Sicilian, Taimanov
Other 5th moves
2999 games	1.e4 c5 2.Nf3 e6 3.d4 cxd4 4.Nxd4 Nc6 5.Be3, Nxc6, c4, Be2, g3

SicilianTaimanov5Nb5.pgn
Sicilian, Taimanov, 5.Nb5
3666 games	1.e4 c5 2.Nf3 e6 3.d4 cxd4 4.Nxd4 Nc6 5.Nb5

SicilianTaimanovMain.pgn
Sicilian, Taimanov, Main Line
25418 games	1.e4 c5 2.Nf3 e6 3.d4 cxd4 4.Nxd4 Nc6 5.Nc3

SicilianMoscow.pgn
Sicilian, Moscow Variation
17659 games	1.e4 c5 2.Nf3 d6 3.Bb5+

Sicilian2d6-4Qxd4.pgn
Sicilian, 2...d6, 4.Queenxd4
6491 games	1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Queenxd4

SicilianDragonOther6.pgn
Sicilian, Dragon
Other 6th moves
3606 games	1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 g6 6.g3, f4, f3, Bg5

SicDragon6Be2-6Bc4.pgn
Sicilian, Dragon
6.Be2 and 6.Bc4
4397 games	1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 g6 6.Be2, Bc4

SicilianDragonYugoslav.pgn
Sicilian, Dragon
Yugoslav Attack
15321 games	1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 g6 6.Be3 Bg7 7.f3

SicilianClassicalOther6.pgn
Sicilian, Classical
Other 6th moves
13301 games	1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 Nc6 6.Be2, Be3, f3, g3, f4

SicilianClassicalSozin.pgn
Sicilian, Classical, Sozin
10266 games	1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 Nc6 6.Bc4

SicilianRichter-Rauzer.pgn
Sicilian, Classical
Richter-Rauzer
18903 games	1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 Nc6 6.Bg5

SicilianScheveningen.pgn
Sicilian, Scheveningen
19418 games	1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 e6

SicilianNajdorf6a4.pgn
Sicilian, Najdorf, 6.a4
2538 games	1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 a6 6.a4

SicilianNajdorf6g3.pgn
Sicilian, Najdorf, 6.g3
2930 games	1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 a6 6.g3

SicilianNajdorf6f3.pgn
Sicilian, Najdorf, 6.f3
3321 games	1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 a6 6.f3

SicilianNajdorf6f4.pgn
Sicilian, Najdorf, 6.f4
5363 games	1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 a6 6.f4

SicilianNajdorf6Bc4.pgn
Sicilian, Najdorf
6.Bc4 &#40;Fischer-Sozin&#41;
9279 games	1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 a6 6.Bc4

SicilianNajdorf6Be3.pgn
Sicilian, Najdorf, 6.Be3
16127 games	1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 a6 6.Be3

SicilianNajdorf6Be2.pgn
Sicilian, Najdorf, 6.Be2
15536 games	1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 a6 6.Be2

SicilianNajdorf6Bg5.pgn
Sicilian, Najdorf
6.Bg5 &#40;Main Line&#41;
16293 games	1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 a6 6.Bg5

===================
CLASSICAL KING PAWN
===================

CenterGame-Danish.pgn
Center Game and
Danish Gambit
4038 games	1.e4 e5 2.d4 exd4

BishopsOpening.pgn
Bishop's Opening
11243 games	1.e4 e5 2.Bc4

KingsGambit.pgn
King's Gambit
10833 games	1.e4 e5 2.f4

Vienna.pgn
Vienna
12256 games	1.e4 e5 2.Nc3

Latvian-Elephant.pgn
Latvian Gambit and
Elephant Gambit
1056 games	1.e4 e5 2.Nf3 f5, d5

Philidor.pgn
Philidor
10708 games	1.e4 e5 2.Nf3 d6

PetroffOther3.pgn
Petroff, Other 3rd moves
13510 games	1.e4 e5 2.Nf3 Nf6 3.Nc3, d4, d3, Bc4

PetroffMain.pgn
Petroff, Main Line
12736 games	1.e4 e5 2.Nf3 Nf6 3.Nxe5 d6 4.Nf3 Nxe4

Ponziani.pgn
Ponziani
2567 games	1.e4 e5 2.Nf3 Nc6 3.c3

ThreeKnights.pgn
Three Knights
981 games	1.e4 e5 2.Nf3 Nc6 3.Nc3 Bc5, g6, d6, Bb4

FourKnights.pgn
Four Knights
16983 games	1.e4 e5 2.Nf3 Nc6 3.Nc3 Nf6

GoringGambit.pgn
Goring Gambit
1661 games	1.e4 e5 2.Nf3 Nc6 3.d4 exd4 4.c3

ScotchGambit.pgn
Scotch Gambit
5918 games	1.e4 e5 2.Nf3 Nc6 3.d4 exd4 4.Bc4

ScotchOther4.pgn
Scotch, Other 4th moves
3862 games	1.e4 e5 2.Nf3 Nc6 3.d4 exd4 4.Nxd4 Queenh4, Nxd4, Queenf6, Bb4+, d6, g6

Scotch4Nf6.pgn
Scotch, 4...Nf6
6637 games	1.e4 e5 2.Nf3 Nc6 3.d4 exd4 4.Nxd4 Nf6

Scotch4Bc5.pgn
Scotch, 4...Bc5
8110 games	1.e4 e5 2.Nf3 Nc6 3.d4 exd4 4.Nxd4 Bc5

Hungarian.pgn
Hungarian
2506 games	1.e4 e5 2.Nf3 Nc6 3.Bc4 Be7

TwoKnights.pgn
Two Knights
17545 games	1.e4 e5 2.Nf3 Nc6 3.Bc4 Nf6

GiuocoPiano.pgn
Giuoco Piano &#40;Italian Game&#41;
19482 games	1.e4 e5 2.Nf3 Nc6 3.Bc4 Bc5

RuyLopezOther3.pgn
Ruy Lopez &#40;Spanish&#41;
Other 3rd moves
8824 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 d6, Nd4, g6, Nge7

RuyLopezClassical.pgn
Ruy Lopez &#40;Spanish&#41;, Classical
3826 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 Bc5

RuyLopezSchliemann.pgn
Ruy Lopez &#40;Spanish&#41;
Schliemann
5492 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 f5

RuyLopezBerlin.pgn
Ruy Lopez &#40;Spanish&#41;, Berlin
14318 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 Nf6

RuyLopezExchange.pgn
Ruy Lopez &#40;Spanish&#41;, Exchange
10940 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Bxc6

RuyLopezModSteinitz.pgn
Ruy Lopez &#40;Spanish&#41;
Modern Steinitz
6398 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 d6

RuyLopezOther5.pgn
Ruy Lopez &#40;Spanish&#41;
Other 5th moves
9940 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.d3, d4, Queene2

RuyLopezOpen.pgn
Ruy Lopez &#40;Spanish&#41;, Open
6244 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Nxe4

RuyMoeller-SteinDef.pgn
Ruy Lopez &#40;Spanish&#41;
Moeller and Steinitz Deferred
1125 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Bc5, d6

RuyLopezArchangelsk.pgn
Ruy Lopez &#40;Spanish&#41;
Archangelsk
2977 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O b5 6.Bb3 Bb7

RuyLopezOther6.pgn
Ruy Lopez &#40;Spanish&#41;
Other 6th moves
6010 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Bxc6, Queene2, d4, d3, Nc3

RuyLopezAntiMarshall.pgn
Ruy Lopez &#40;Spanish&#41;
Anti-Marshall
2416 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Rooke1 b5 7.Bb3 O-O 8.a4, h3, d4, d3

RuyLopezMarshall.pgn
Ruy Lopez &#40;Spanish&#41;
Marshall Attack
2424 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Rooke1 b5 7.Bb3 O-O 8.c3 d5

RuyLopezOther9.pgn
Ruy Lopez &#40;Spanish&#41;
Other 9th moves
5499 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Rooke1 b5 7.Bb3 d6 8.c3 O-O 9.d4, d3, a4

RuyLopezKar-Smy-Khol.pgn
Ruy Lopez &#40;Spanish&#41;
Karpov, Smyslov and Kholmov
1054 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Rooke1 b5 7.Bb3 d6 8.c3 O-O 9.h3 Nd7, h6, Be6

RuyLopezBreyer.pgn
Ruy Lopez &#40;Spanish&#41;, Breyer
3824 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Rooke1 b5 7.Bb3 d6 8.c3 O-O 9.h3 Nb8

RuyLopezFlohr-Zaitsev.pgn
Ruy Lopez &#40;Spanish&#41;
Flohr-Zaitsev
2884 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Rooke1 b5 7.Bb3 d6 8.c3 O-O 9.h3 Bb7

RuyLopezChigorin.pgn
Ruy Lopez &#40;Spanish&#41;
Chigorin &#40;Main Line&#41;
7794 games	1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Rooke1 b5 7.Bb3 d6 8.c3 O-O 9.h3 Na5 10.Bc2 c5 11.d4

====================
FLANK AND UNORTHODOX
====================

English1b6.pgn
English, 1...b6
2697 games	1.c4 b6

English1f5.pgn
English, 1...f5
6566 games	1.c4 f5

English1c6.pgn
English, 1...c6
13441 games	1.c4 c6

English1g6.pgn
English, 1...g6
16355 games	1.c4 g6

EngSymDoubleFianchetto.pgn
English, Symmetrical
Double Fianchetto
1979 games	1.c4 c5 2.Nf3 Nf6 3.g3 b6 4.Bg2 Bb7 5.O-O g6

EnglishSymHedgehog.pgn
English, Symmetrical, Hedgehog
3883 games	1.c4 c5 2.Nf3 Nf6 3.g3 b6 4.Bg2 Bb7 5.O-O e6

EnglishSym3d4.pgn
English, Symmetrical, 3.d4
6848 games	1.c4 c5 2.Nf3 Nf6 3.d4

EnglishSymOtherB3.pgn
English, Symmetrical
Other Black 3rd moves
12281 games	1.c4 c5 2.Nc3 Nf6 3.Nf3 e6, d5, g6, b6

EnglishSymFourKnights.pgn
English, Symmetrical
Four Knights
6080 games	1.c4 c5 2.Nc3 Nf6 3.Nf3 Nc6

EnglishSymMain.pgn
English, Symmetrical, Main Line
8150 games	1.c4 c5 2.Nc3 Nc6 3.g3 g6 4.Bg2 Bg7

English1e6-2Nf3-d5.pgn
English, Symmetrical
1...e6, 2.Nf3 d5
10580 games	1.c4 e6 2.Nf3 d5

English1e6-2Nc3-d5.pgn
English, Symmetrical
1...e6, 2.Nc3 d5
5699 games	1.c4 e6 2.Nc3 d5

EnglishFlohr-Mikenas.pgn
English, Flohr-Mikenas
3564 games	1.c4 e6 2.Nc3 Nf6 3.e4

English1e6Main.pgn
English, 1...e6, Main Line
10736 games	1.c4 e6 2.Nc3 Nf6 3.Nf3

EnglishSicRev2g3.pgn
English, Sicilian Reversed, 2.g3
11347 games	1.c4 e5 2.g3

EnglishSicRevOtherB2.pgn
English, Sicilian Reversed
Other Black 2nd moves
5405 games	1.c4 e5 2.Nc3 d6, Bb4

EnglishSicRev4Knights.pgn
English, Sicilian Reversed
Four Knights
9757 games	1.c4 e5 2.Nc3 Nf6 3.Nf3 Nc6

EnglishSicRevBremen.pgn
English, Sicilian Reversed
Bremen
7546 games	1.c4 e5 2.Nc3 Nf6 3.g3

EnglishSicRevClosed.pgn
English, Sicilian Reversed
Closed
9168 games	1.c4 e5 2.Nc3 Nc6

English1Nf6-2g3.pgn
English, 1...Nf6, 2.g3
9606 games	1.c4 Nf6 2.g3

English1Nf6-2Nf3.pgn
English, 1...Nf6, 2.Nf3
Anglo-Indian
8284 games	1.c4 Nf6 2.Nf3 g6 3.g3 Bg7 4.Bg2 O-O

English1Nf6-2Nc3.pgn
English, 1...Nf6, 2.Nc3
Anglo-Indian
13698 games	1.c4 Nf6 2.Nc3 g6

Reti2b3.pgn
Reti, 2.b3
3125 games	1.Nf3 d5 2.b3

Reti2c4.pgn
Reti, 2.c4
15055 games	1.Nf3 d5 2.c4

RetiKIA.pgn
Reti, King's Indian Attack
22784 games	1.Nf3 d5 2.g3

Bird.pgn
Bird
14047 games	1.f4

Nimzowitsch-Larsen.pgn
Nimzowitsch-Larsen
10167 games	1.b3

Sokolsky.pgn
Sokolsky
4066 games	1.b4

Dunst.pgn
Dunst
6129 games	1.Nc3
I hope no typos.

I ran my parser (single core, 32-bit) through the PGN and it took a little more than 2.5 hours (the PGN had more than 5.57e+7 lines and more than 3.1e+6 games):

Code: Select all

Search_promotions_and_underpromotions_by_crowning_squares, ® 2013.

------------------------------------------------------------
Tool that provides some info about promotions in a PGN file.
------------------------------------------------------------

Write down the full name of the PGN file &#40;up to 64 characters&#41;, including .pgn&#58;

PGN_Mentor_openings_database.pgn

Write down the clock rate of the CPU &#40;in GHz&#41;, only for timing the elapsed time of the calculations&#58;

3

Searching for games and results...

Games&#58;     3105667      Estimated remaining time&#58;  7877.2 seconds.
  1-0&#58;     1190378      Estimated remaining time&#58;  7900.9 seconds.
  0-1&#58;      915048      Estimated remaining time&#58;  8293.5 seconds.
  1/2-1/2&#58;  999728      Estimated remaining time&#58; 11543.6 seconds.
  Unknown&#58;     513
______________________________

White score&#58;  54.43%
______________________________

White advantage&#58;    30.89 Elo.
______________________________

Searching promotions and underpromotions...

 1/64  a1=Q   12739     Estimated remaining time&#58; 10766.6 seconds.
 2/64  a1=R      90     Estimated remaining time&#58; 10244.4 seconds.
 3/64  a1=B      32     Estimated remaining time&#58; 10049.4 seconds.
 4/64  a1=N      83     Estimated remaining time&#58;  9663.9 seconds.
 5/64  b1=Q   11679     Estimated remaining time&#58;  9346.2 seconds.
 6/64  b1=R     104     Estimated remaining time&#58;  9116.6 seconds.
 7/64  b1=B      35     Estimated remaining time&#58;  8845.2 seconds.
 8/64  b1=N     103     Estimated remaining time&#58;  8640.6 seconds.
 9/64  c1=Q   11744     Estimated remaining time&#58;  8463.5 seconds.
10/64  c1=R     114     Estimated remaining time&#58;  8250.1 seconds.
11/64  c1=B      17     Estimated remaining time&#58;  8028.6 seconds.
12/64  c1=N     121     Estimated remaining time&#58;  7899.8 seconds.
13/64  d1=Q   10302     Estimated remaining time&#58;  7701.8 seconds.
14/64  d1=R     122     Estimated remaining time&#58;  7517.0 seconds.
15/64  d1=B      11     Estimated remaining time&#58;  7394.9 seconds.
16/64  d1=N     150     Estimated remaining time&#58;  7214.5 seconds.
17/64  e1=Q    9034     Estimated remaining time&#58;  7050.1 seconds.
18/64  e1=R      97     Estimated remaining time&#58;  6942.0 seconds.
19/64  e1=B      44     Estimated remaining time&#58;  6804.8 seconds.
20/64  e1=N     245     Estimated remaining time&#58;  6671.4 seconds.
21/64  f1=Q    8998     Estimated remaining time&#58;  6551.0 seconds.
22/64  f1=R     135     Estimated remaining time&#58;  6407.2 seconds.
23/64  f1=B      29     Estimated remaining time&#58;  6285.8 seconds.
24/64  f1=N     242     Estimated remaining time&#58;  6166.9 seconds.
25/64  g1=Q    7144     Estimated remaining time&#58;  6024.2 seconds.
26/64  g1=R      97     Estimated remaining time&#58;  5891.9 seconds.
27/64  g1=B      17     Estimated remaining time&#58;  5834.9 seconds.
28/64  g1=N     163     Estimated remaining time&#58;  5696.5 seconds.
29/64  h1=Q    8127     Estimated remaining time&#58;  5559.4 seconds.
30/64  h1=R      69     Estimated remaining time&#58;  5450.4 seconds.
31/64  h1=B      21     Estimated remaining time&#58;  5328.4 seconds.
32/64  h1=N     109     Estimated remaining time&#58;  5215.3 seconds.
33/64  a8=Q   15097     Estimated remaining time&#58;  5105.7 seconds.
34/64  a8=R     104     Estimated remaining time&#58;  4982.6 seconds.
35/64  a8=B      16     Estimated remaining time&#58;  4862.9 seconds.
36/64  a8=N      97     Estimated remaining time&#58;  4756.8 seconds.
37/64  b8=Q   13261     Estimated remaining time&#58;  4640.4 seconds.
38/64  b8=R      98     Estimated remaining time&#58;  4512.2 seconds.
39/64  b8=B      28     Estimated remaining time&#58;  4401.5 seconds.
40/64  b8=N     116     Estimated remaining time&#58;  4457.8 seconds.
41/64  c8=Q   13350     Estimated remaining time&#58;  4336.7 seconds.
42/64  c8=R      96     Estimated remaining time&#58;  4211.7 seconds.
43/64  c8=B      22     Estimated remaining time&#58;  4113.5 seconds.
44/64  c8=N     163     Estimated remaining time&#58;  4000.5 seconds.
45/64  d8=Q   14234     Estimated remaining time&#58;  3939.3 seconds.
46/64  d8=R     129     Estimated remaining time&#58;  3827.4 seconds.
47/64  d8=B      37     Estimated remaining time&#58;  3716.2 seconds.
48/64  d8=N     201     Estimated remaining time&#58;  3617.2 seconds.
49/64  e8=Q   10185     Estimated remaining time&#58;  3497.1 seconds.
50/64  e8=R     152     Estimated remaining time&#58;  3378.9 seconds.
51/64  e8=B      31     Estimated remaining time&#58;  3264.1 seconds.
52/64  e8=N     367     Estimated remaining time&#58;  3146.4 seconds.
53/64  f8=Q   10152     Estimated remaining time&#58;  3027.8 seconds.
54/64  f8=R     200     Estimated remaining time&#58;  2919.1 seconds.
55/64  f8=B      39     Estimated remaining time&#58;  2800.1 seconds.
56/64  f8=N     389     Estimated remaining time&#58;  2686.8 seconds.
57/64  g8=Q    8264     Estimated remaining time&#58;  2575.9 seconds.
58/64  g8=R      97     Estimated remaining time&#58;  2459.0 seconds.
59/64  g8=B      20     Estimated remaining time&#58;  2339.0 seconds.
60/64  g8=N     141     Estimated remaining time&#58;  2229.3 seconds.
61/64  h8=Q    9710     Estimated remaining time&#58;  2112.5 seconds.
62/64  h8=R      90     Estimated remaining time&#58;  1997.9 seconds.
63/64  h8=B      21     Estimated remaining time&#58;  1885.6 seconds.
64/64  h8=N     108     Estimated remaining time&#58;  1772.5 seconds.

Promotions/underpromotions to&#58;
  Q&#58; 174020
  R&#58;   1794
  B&#58;    420
  N&#58;   2798

Searching promotions/underpromotions that give check...

1/8   *1=Q+   21262     Estimated remaining time&#58;  1668.2 seconds.
2/8   *1=R+     316     Estimated remaining time&#58;  1557.7 seconds.
3/8   *1=B+      87     Estimated remaining time&#58;  1444.4 seconds.
4/8   *1=N+     944     Estimated remaining time&#58;  1331.5 seconds.
5/8   *8=Q+   27514     Estimated remaining time&#58;  1219.1 seconds.
6/8   *8=R+     453     Estimated remaining time&#58;  1106.3 seconds.
7/8   *8=B+     124     Estimated remaining time&#58;   993.0 seconds.
8/8   *8=N+    1238     Estimated remaining time&#58;   883.2 seconds.

Searching promotions/underpromotions that give checkmate...

1/8   *1=Q#       0     Estimated remaining time&#58;   771.3 seconds.
2/8   *1=R#       0     Estimated remaining time&#58;   660.4 seconds.
3/8   *1=B#       0     Estimated remaining time&#58;   550.0 seconds.
4/8   *1=N#       0     Estimated remaining time&#58;   439.2 seconds.
5/8   *8=Q#       0     Estimated remaining time&#58;   328.9 seconds.
6/8   *8=R#       0     Estimated remaining time&#58;   219.4 seconds.
7/8   *8=B#       0     Estimated remaining time&#58;   109.5 seconds.
8/8   *8=N#       0

Number of lines of this PGN file&#58;   55756181

Approximated elapsed time&#58;  9194.5 seconds.

The obtained results will be saved into Promotions_stats_PGN_Mentor_openings_database.pgn.txt file.

The results were successfully saved into Promotions_stats_PGN_Mentor_openings_database.pgn.txt file.

Thanks for using this tool. Press enter to exit.
Here is how Promotions_stats_PGN_Mentor_openings_database.pgn.txt looks:

Code: Select all

PGN_Mentor_openings_database.pgn
 
a1=Q&#58;  12739
a1=R&#58;     90
a1=B&#58;     32
a1=N&#58;     83
 
b1=Q&#58;  11679
b1=R&#58;    104
b1=B&#58;     35
b1=N&#58;    103
 
c1=Q&#58;  11744
c1=R&#58;    114
c1=B&#58;     17
c1=N&#58;    121
 
d1=Q&#58;  10302
d1=R&#58;    122
d1=B&#58;     11
d1=N&#58;    150
 
e1=Q&#58;   9034
e1=R&#58;     97
e1=B&#58;     44
e1=N&#58;    245
 
f1=Q&#58;   8998
f1=R&#58;    135
f1=B&#58;     29
f1=N&#58;    242
 
g1=Q&#58;   7144
g1=R&#58;     97
g1=B&#58;     17
g1=N&#58;    163
 
h1=Q&#58;   8127
h1=R&#58;     69
h1=B&#58;     21
h1=N&#58;    109
 
a8=Q&#58;  15097
a8=R&#58;    104
a8=B&#58;     16
a8=N&#58;     97
 
b8=Q&#58;  13261
b8=R&#58;     98
b8=B&#58;     28
b8=N&#58;    116
 
c8=Q&#58;  13350
c8=R&#58;     96
c8=B&#58;     22
c8=N&#58;    163
 
d8=Q&#58;  14234
d8=R&#58;    129
d8=B&#58;     37
d8=N&#58;    201
 
e8=Q&#58;  10185
e8=R&#58;    152
e8=B&#58;     31
e8=N&#58;    367
 
f8=Q&#58;  10152
f8=R&#58;    200
f8=B&#58;     39
f8=N&#58;    389
 
g8=Q&#58;   8264
g8=R&#58;     97
g8=B&#58;     20
g8=N&#58;    141
 
h8=Q&#58;   9710
h8=R&#58;     90
h8=B&#58;     21
h8=N&#58;    108
 
=======================
 
a1=*&#58;   12944 ( 15.78%)
b1=*&#58;   11921 ( 14.53%)
c1=*&#58;   11996 ( 14.63%)
d1=*&#58;   10585 ( 12.91%)
e1=*&#58;    9420 ( 11.49%)
f1=*&#58;    9404 ( 11.47%)
g1=*&#58;    7421 (  9.05%)
h1=*&#58;    8326 ( 10.15%)
 SUM&#58;   82017
 
-----------------------
 
a8=*&#58;   15314 ( 15.79%)
b8=*&#58;   13503 ( 13.92%)
c8=*&#58;   13631 ( 14.05%)
d8=*&#58;   14601 ( 15.05%)
e1=*&#58;   10735 ( 11.07%)
f8=*&#58;   10780 ( 11.11%)
g8=*&#58;    8522 (  8.78%)
h8=*&#58;    9929 ( 10.23%)
 SUM&#58;   97015
 
-----------------------
 
a*=*&#58;   28258 ( 15.78%)
b*=*&#58;   25424 ( 14.20%)
c*=*&#58;   25627 ( 14.31%)
d*=*&#58;   25186 ( 14.07%)
e*=*&#58;   20155 ( 11.26%)
f*=*&#58;   20184 ( 11.27%)
g*=*&#58;   15943 (  8.91%)
h*=*&#58;   18255 ( 10.20%)
 SUM&#58;  179032
 
=======================
 
*1=*&#58;   82017 ( 45.81%)
*8=*&#58;   97015 ( 54.19%)
 SUM&#58;  179032
 
=======================
 
*1=Q&#58;   79767 ( 97.26%)
*1=R&#58;     828 (  1.01%)
*1=B&#58;     206 (  0.25%)
*1=N&#58;    1216 (  1.48%)
 SUM&#58;   82017
 
-----------------------
 
*8=Q&#58;   94253 ( 97.15%)
*8=R&#58;     966 (  1.00%)
*8=B&#58;     214 (  0.22%)
*8=N&#58;    1582 (  1.63%)
 SUM&#58;   97015
 
-----------------------
 
 *=Q&#58;  174020 ( 97.20%)
 *=R&#58;    1794 (  1.00%)
 *=B&#58;     420 (  0.23%)
 *=N&#58;    2798 (  1.56%)
 SUM&#58;  179032
 
=======================
 
( 179032 promotions and underpromotions in 3105667 games&#41; ~ 0.0576 &#40;promotions and underpromotions&#41;/game.
------------------------

Later I ran joined for verifying results and I spotted a bug: when counting legal moves, it went up to 2^(32) or 2^(32) - 1 (I do not know) when it had read around 56.3% of the PGN, and then started again from 1 (or 0, I do not know). Here is the output with -v68 option (like yesterday):

Code: Select all

Read 3105667 games with 243619980 moves, 55756181 lines, 1998380485 bytes
Got max. 400 moves in game 148164 before line 2659331 !
Got 3362664534 legal moves in 246725647 positons !
Got max. 79 legal moves after move 45 in game 3086627 line 55417997 !

Total move statistics&#58;
Pawn moves = 65436429, Knight moves = 44107143, Bishop moves = 38193392
Rook moves = 45119690, Queen moves = 28975980, King moves = 27273045
Check moves = 12235289, Mate moves = 71213, Stalemate moves = 2524
Hit moves = 49643162, En passant moves = 186866, Pawn two moves = 18073491
Short castlings = 4881061, Long castlings = 604638
Promotion to queen = 174352, Promotion to rook = 1796
Promotion to bishop = 421, Promotion to knight = 2801

Total game statistics&#58;
White won = 1190378, Drawn = 999728, Black won = 915048
Unknown result = 508, Illegal result = 5, Conflicting results = 0
White mated = 31901, White stalemated = 1252
Black mated = 39312, Black stalemated = 1272

Number of games with different lengths&#58;
  2&#58;    10,   3&#58;    13,   4&#58;    16,   5&#58;    26,   6&#58;    74,   7&#58;   167
  8&#58;   264,   9&#58;   497,  10&#58;   709,  11&#58;  1029,  12&#58;  1375,  13&#58;  1873
 14&#58;  2340,  15&#58;  3105,  16&#58;  3308,  17&#58;  4400,  18&#58;  4560,  19&#58;  7196
 20&#58;  7691,  21&#58;  7968,  22&#58;  7653,  23&#58;  8833,  24&#58;  8615,  25&#58;  9909
 26&#58;  9018,  27&#58; 11387,  28&#58; 10552,  29&#58; 12998,  30&#58; 12189,  31&#58; 14252
 32&#58; 12571,  33&#58; 15892,  34&#58; 15155,  35&#58; 17886,  36&#58; 15057,  37&#58; 19851
 38&#58; 15909,  39&#58; 22467,  40&#58; 19349,  41&#58; 25088,  42&#58; 19669,  43&#58; 26938
 44&#58; 21392,  45&#58; 29503,  46&#58; 23241,  47&#58; 32315,  48&#58; 24886,  49&#58; 34785
 50&#58; 27373,  51&#58; 36548,  52&#58; 28940,  53&#58; 38593,  54&#58; 30325,  55&#58; 39826
 56&#58; 31832,  57&#58; 41074,  58&#58; 33276,  59&#58; 43867,  60&#58; 38025,  61&#58; 45801
 62&#58; 36558,  63&#58; 45629,  64&#58; 36566,  65&#58; 45192,  66&#58; 37380,  67&#58; 45273
 68&#58; 37292,  69&#58; 45548,  70&#58; 37899,  71&#58; 44444,  72&#58; 37591,  73&#58; 44117
 74&#58; 36819,  75&#58; 42974,  76&#58; 37040,  77&#58; 42944,  78&#58; 38370,  79&#58; 48061
 80&#58; 58430,  81&#58; 63817,  82&#58; 45168,  83&#58; 45544,  84&#58; 36339,  85&#58; 38610
 86&#58; 31577,  87&#58; 35225,  88&#58; 29554,  89&#58; 32643,  90&#58; 28361,  91&#58; 31075
 92&#58; 27469,  93&#58; 29517,  94&#58; 25747,  95&#58; 27850,  96&#58; 24913,  97&#58; 26106
 98&#58; 23047,  99&#58; 25483, 100&#58; 23351, 101&#58; 24806, 102&#58; 21733, 103&#58; 22910
104&#58; 20421, 105&#58; 21639, 106&#58; 19548, 107&#58; 20705, 108&#58; 18175, 109&#58; 19603
110&#58; 17050, 111&#58; 18371, 112&#58; 17271, 113&#58; 17780, 114&#58; 15929, 115&#58; 16381
116&#58; 15045, 117&#58; 15422, 118&#58; 14458, 119&#58; 15769, 120&#58; 21539, 121&#58; 14548
122&#58; 12047, 123&#58; 12202, 124&#58; 10602, 125&#58; 10920, 126&#58;  9696, 127&#58; 10333
128&#58;  9081, 129&#58;  9143, 130&#58;  8633, 131&#58;  8763, 132&#58;  7739, 133&#58;  7797
134&#58;  7088, 135&#58;  7421, 136&#58;  6776, 137&#58;  6623, 138&#58;  6046, 139&#58;  6373
140&#58;  5824, 141&#58;  5617, 142&#58;  5026, 143&#58;  5190, 144&#58;  4874, 145&#58;  4984
146&#58;  4456, 147&#58;  4401, 148&#58;  4049, 149&#58;  4004, 150&#58;  3798, 151&#58;  3533
152&#58;  3255, 153&#58;  3193, 154&#58;  2967, 155&#58;  2898, 156&#58;  2794, 157&#58;  2699
158&#58;  2476, 159&#58;  2589, 160&#58;  3378, 161&#58;  2331, 162&#58;  1952, 163&#58;  1906
164&#58;  1666, 165&#58;  1746, 166&#58;  1569, 167&#58;  1652, 168&#58;  1454, 169&#58;  1394
170&#58;  1311, 171&#58;  1375, 172&#58;  1265, 173&#58;  1230, 174&#58;  1047, 175&#58;  1112
176&#58;  1062, 177&#58;  1076, 178&#58;   983, 179&#58;   888, 180&#58;   897, 181&#58;   851
182&#58;   723, 183&#58;   770, 184&#58;   656, 185&#58;   691, 186&#58;   605, 187&#58;   636
188&#58;   549, 189&#58;   553, 190&#58;   576, 191&#58;   462, 192&#58;   513, 193&#58;   490
194&#58;   436, 195&#58;   447, 196&#58;   392, 197&#58;   397, 198&#58;   358, 199&#58;   494
200&#58;   520, 201&#58;   388, 202&#58;   295, 203&#58;   379, 204&#58;   273, 205&#58;   295
206&#58;   275, 207&#58;   297, 208&#58;   280, 209&#58;   268, 210&#58;   223, 211&#58;   196
212&#58;   204, 213&#58;   229, 214&#58;   221, 215&#58;   207, 216&#58;   193, 217&#58;   199
218&#58;   161, 219&#58;   159, 220&#58;   174, 221&#58;   143, 222&#58;   149, 223&#58;   164
224&#58;   153, 225&#58;   118, 226&#58;   128, 227&#58;   137, 228&#58;   125, 229&#58;   125
230&#58;   122, 231&#58;    99, 232&#58;    96, 233&#58;   110, 234&#58;    92, 235&#58;    79
236&#58;    93, 237&#58;    77, 238&#58;    97, 239&#58;    90, 240&#58;   113, 241&#58;    76
242&#58;    75, 243&#58;    68, 244&#58;    56, 245&#58;    65, 246&#58;    79, 247&#58;    49
248&#58;    48, 249&#58;    50, 250&#58;    43, 251&#58;    36, 252&#58;    50, 253&#58;    55
254&#58;    45, 255&#58;    38, 256&#58;    43, 257&#58;    28, 258&#58;    46, 259&#58;    36
260&#58;    41, 261&#58;    29, 262&#58;    21, 263&#58;    27, 264&#58;    32, 265&#58;    28
266&#58;    37, 267&#58;    21, 268&#58;    19, 269&#58;    17, 270&#58;    26, 271&#58;    22
272&#58;    23, 273&#58;    34, 274&#58;    30, 275&#58;    13, 276&#58;    29, 277&#58;    28
278&#58;    20, 279&#58;    16, 280&#58;    13, 281&#58;    19, 282&#58;    13, 283&#58;    16
284&#58;    10, 285&#58;    11, 286&#58;    22, 287&#58;     7, 288&#58;    12, 289&#58;     7
290&#58;    11, 291&#58;     4, 292&#58;    11, 293&#58;    16, 294&#58;     4, 295&#58;    12
296&#58;     8, 297&#58;    11, 298&#58;    14, 299&#58;    17, 300&#58;     7, 301&#58;     7
302&#58;     7, 303&#58;     9, 304&#58;     2, 305&#58;     9, 306&#58;    15, 307&#58;    10
308&#58;    10, 309&#58;     3, 310&#58;    13, 311&#58;     6, 312&#58;     4, 313&#58;     6
314&#58;     3, 315&#58;     1, 316&#58;     7, 317&#58;     5, 318&#58;     9, 319&#58;    11
320&#58;     2, 321&#58;     5, 322&#58;     3, 323&#58;     1, 324&#58;     2, 325&#58;     7
326&#58;     9, 327&#58;     8, 328&#58;     5, 329&#58;     9, 332&#58;     6, 334&#58;     3
335&#58;     3, 336&#58;     4, 337&#58;     5, 338&#58;     4, 339&#58;     2, 340&#58;     2
341&#58;     1, 342&#58;     4, 343&#58;     2, 345&#58;     1, 348&#58;     2, 349&#58;     2
351&#58;     1, 353&#58;     4, 354&#58;     1, 355&#58;     1, 356&#58;     2, 357&#58;     2
359&#58;     4, 360&#58;     8, 361&#58;     2, 363&#58;     1, 365&#58;     3, 368&#58;     2
372&#58;     2, 374&#58;     1, 376&#58;     1, 380&#58;     2, 387&#58;     1, 388&#58;     2
393&#58;     4, 398&#58;     1, 400&#58;    13
I count as 'unknown' the following cases: games - 'white wins' - 'black wins' - draws, where joined splits among 'unknown', 'illegal' and 'conflicting'; in fact: 513 = 508 + 5 + 0.

I talked about the bug when counting legal moves. I understand them as the sum of all perft(1) of the positions present OTB. Well, an average branching factor between 30 and 35 can be considered normal. With the results given by joined: <BF> = (3362664534 legal moves)/(246725647 positions) ~ 13.63 (legal moves)/position, which is a pretty low value; adding 2^(32) because there was only an overflow: <BF> = (7657631830 legal moves)/(246725647 positions) ~ 31.04 (legal moves)/position, which makes sense.

Again, the difference between queenside and kingside is noticeable; indeed: 4881061/(4881061 + 604638) ~ 88.98% of castlings are short castlings, and the importance of the pawn shelter avoids more promotions on the kingside. A game averages circa 1.77 castlings.

My tool shows again its inaccuracy when counting promotions/underpromotions, but I am happy overall: it did not count 332 promotions to queen (~ 0.19%), 2 underpromotions to rook (~ 0.11%), 1 underpromotion to bishop (~ 0.24%) and 3 underpromotions to knight (~ 0.11%).

I fear you have too much info to summarize. Good luck!

Regards from Spain.

Ajedrecista.

Adam Hair
Posts: 3201
Joined: Wed May 06, 2009 8:31 pm
Location: Fuquay-Varina, North Carolina

Re: Chances of survival of individual chess pieces....

Post by Adam Hair » Sat Oct 11, 2014 4:33 pm

Is there a binary available for the survival program? At the moment I do not have a way to compile a Visual Studio project. My Windows computer stays offline, and I do not have Visual Studio installed.

Post Reply