Older Version Newer Version

GerdIsenberg GerdIsenberg Nov 2, 2017

[[toc]]
**[[Home]] * [[Knowledge]] * [[Opening Book]] * ECO**

**Encyclopaedia of Chess Openings**, (ECO)
a de facto standard of a classification system for chess openings, established by [[http://en.wikipedia.org/wiki/Chess_Informant|Chess Informant]] since 1966, using a coding system that has been widely-used and adopted by other chess publications, chess programs, [[Databases|databases]] and [[GUI|GUIs]]. There are five main categories, "A" to "E", which are divided into one hundred subcategories each, in total 500 from A00 to E99. ECO code is a registered trademark of Chess Informant <ref>[[http://en.wikipedia.org/wiki/List_of_chess_openings|List of chess openings from Wikipedia]]</ref> .

=Main Classifications= 
* A - [[http://en.wikipedia.org/wiki/Flank_opening|Flank openings]]
* B - [[http://en.wikipedia.org/wiki/Semi-Open_Game|Semi-Open Games]] other than the [[http://en.wikipedia.org/wiki/French_Defence|French Defence]]
* C - [[http://en.wikipedia.org/wiki/Open_Game|Open Games]] and the [[http://en.wikipedia.org/wiki/French_Defence|French Defence]]
* D - [[http://en.wikipedia.org/wiki/Closed_Game|Closed Games]] and [[http://en.wikipedia.org/wiki/Semi-Closed_Game|Semi-Closed Games]]
* E - [[http://en.wikipedia.org/wiki/Indian_Defence|Indian Defences]]

=Ambiguity= 
ECO codes are defined by halfmove sequences from the [[Initial Position|initial position]] with non-uniform length or depth of one to 28 [[Ply|plies]] <ref>[[http://www.365chess.com/eco/D69_Queen%27s_Gambit_Declined_Orthodox_defence_classical_13.en|D69: Queen's Gambit Declined, Orthodox defence, classical, 13.en - 365Chess.com]]</ref> . The position reached after that move sequence associates the ECO code. Depending on the particular opening and its classification granulation and depth, the ECO assignment may change during the course of the opening from halfmove to halfmove to more specific classified ECO codes until it sticks with the final assessment. However, due to [[Transposition|transpositions]], even into [[Color Flipping|color flipped positions]], ambiguity manifests in different implementations of chess engines, [[Databases|databases]] and [[GUI|GUIs]]. As pointed out by [[Gregor Cramer]], [[ChessBase (Database)|ChessBase]] assigns "1.f4 e5 2.d4" to A02, and "1.d4 e5 2.f4" to A40, but [[Scidb]] assigns both lines to A02 <ref>[[https://www.mail-archive.com/scid-users@lists.sourceforge.net/msg06639.html|Scid.eco]] by [[Gregor Cramer]], [[https://www.mail-archive.com/scid-users@lists.sourceforge.net/|scid-users]], April 19, 2014</ref> . Since there are zillions of transpositions f.i. between Scandinavian gambit B01, Caro Kann B13, B14, Symmetrical English A35, and Queens Gambit D26, D40, ..., the following position has ambiguous ECO assignments. How should it be classified? Depending on the sequence of moves reaching it?
|| [[image:http://webchess.freehostia.com/diag/chessdiag.php?fen=r1bqkb1r/pp3ppp/2n1p3/3n4/3P4/2N2N2/PP3PPP/R1BQKB1R%20w%20KQkq%20-&size=large&coord=yes&cap=no&stm=yes&fb=no&theme=classic&color1=E3CEAA&color2=635147&color3=000000 align="center"]] ||
|| r1bqkb1r/pp3ppp/2n1p3/3n4/3P4/2N2N2/PP3PPP/R1BQKB1R w KQkq - ||
Four of many possible move sequences to reach the same position:
[[code]]
1.e4 d5 2.exd5 Nf6 3.c4 c6 4.d4 cxd5 5.Nc3 Nc6 6.Nf3 e6 7.cxd5 Nxd5
1.e4 c6 2.d4 d5 3.exd5 cxd5 4.c4 e6 5.Nf3 Nf6 6.cxd5 Nxd5 7.Nc3 Nc6
1.d4 d5 2.c4 e6 3.Nc3 Nf6 4.Nf3 c5 5.cxd5 Nxd5 6.e3 cxd4 7.exd4 Nc6
1.c4 c5 2.Nc3 Nf6 3.Nf3 Nc6 4.e3 e6 5.d4 cxd4 6.exd4 d5 7.cxd5 Nxd5
[[code]]

=Sample Implementation= 
The book identification code of the [[Opening Book|opening book]] in [[IsiChess]] (commercial [[MS-DOS|DOS]] version) had all book lines defined in a [[Portable Game Notation|PGN]]-like textfile with a descriptive name and ECO code associated, much more than the 500 determinative ECO lines and full of transpositions, merged into an opening tree similar to a persistent [[Transposition Table|transposition table]] indexed by the [[Zobrist Hashing|Zobrist key]], keeping not only a list of possible moves from the current position, but also a list of different predecessor moves aka indices to the different opening lines. Its book editor has not only an opening tree view, but also a list view of opening lines where multiple lines with different last moves and possibly ECO codes may appear, leading to the current position.

=See also= 
* [[NIC-Key]]

=Forum Posts= 
==1998 ...==
* [[http://www.stmintz.com/ccc/index.php?id=33684|Electronic ECO]] by C.M.A., [[CCC]], November 23, 1998
* [[http://www.stmintz.com/ccc/index.php?id=59677|Mercilous Attack? What is it? What is the ECO on it?]] by [[Dann Corbit]], [[CCC]], July 07, 1999
==2000 ...==
* [[http://www.stmintz.com/ccc/index.php?id=100213|ECO question]] by [[Robert Pope]], [[CCC]], March 04, 2000
* [[http://www.stmintz.com/ccc/index.php?id=229375|implement program to identify eco code]] by Sylvain Eche, [[CCC]], May 13, 2002
* [[http://www.stmintz.com/ccc/index.php?id=388737|ECO-Browser in Scid 3.6.1 (under WinXP)]] by [[Daniel Clausen]], [[CCC]], September 23, 2004
* [[http://www.stmintz.com/ccc/index.php?id=426462|ECO Codes as PGN 1.16 available for download]] by [[Michael Diosi]], [[CCC]], May 17, 2005
==2010 ...==
* [[https://www.mail-archive.com/scid-users@lists.sourceforge.net/msg06639.html|Scid.eco]] by [[Gregor Cramer]], [[https://www.mail-archive.com/scid-users@lists.sourceforge.net/|scid-users]], April 19, 2014
* [[http://www.talkchess.com/forum/viewtopic.php?t=52141|code method to get ECO code/opening name]] by [[Mike Adams]], [[CCC]], April 27, 2014
* [[http://www.talkchess.com/forum/viewtopic.php?t=59970|Hint for ChessGUI users]] by [[Jon Dart]], [[CCC]], April 26, 2016 » [[ChessGUI]]
* [[http://www.talkchess.com/forum/viewtopic.php?t=64744|Tool to ECO classify EPD positions?]] by [[Dann Corbit]], [[CCC]], July 28, 2017

=External Links= 
* [[http://en.wikipedia.org/wiki/Encyclopaedia_of_Chess_Openings|Encyclopaedia of Chess Openings (ECO) from Wikipedia]]
* [[http://en.wikipedia.org/wiki/List_of_chess_openings|List of chess openings from Wikipedia]]
* [[http://www.chessinformant.rs/content/eco/index.html|ECO Code by Chess Informant - Overview]]
* [[http://www.365chess.com/eco.php|ECO Codes - 365Chess.com]]
* [[http://www.chessgames.com/chessecohelp.html|ECO Listing - chessgames.com]]
* [[http://www.playwitharena.com/?User_Files%2C_Engines:ECO_Opening_Classification_%2811%29|ECO Opening Classification (11)]] from [[Arena|Arena Chess GUI]] developed by [[Christopher Conkie]]
* [[ftp://ftp.cs.kent.ac.uk/pub/djb/pgn-extract/eco.pgn|eco.pgn]] from [[http://www.cs.kent.ac.uk/people/staff/djb/pgn-extract/|pgn-extract]] by [[David J. Barnes]]
* [[https://github.com/jdart1/arasan-chess/blob/master/book/eco|arasan-chess/book/eco at master · jdart1/arasan-chess · GitHub]] by [[Jon Dart]]
* [[http://www.sdragons.org/Software/chess_programming.html|Chess Programming - CleanPGN]] by [[Hugh S. Myers]]
* [[https://opex.ebemunk.com/|OPEX - Chess Openings Explorer]] by [[Buğra Fırat]] 

=References= 
<references />
=What links here?= 
[[include page="ECO" component="backlinks" limit="100"]]
**[[Opening Book|Up one level]]**