jakesylvestre / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
1 stars 7 forks source link

Save more information in meta data #642

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Save more information in meta data pgn file:
[TimeControl "240+6"]
[PlyCount "23"]

In the future:
[BlackElo "2000"]
[ECO "C60"]
[Opening "Spanish"]
[Variation "Cozio, 4.O-O g6"]

This is interesting to import the pgn file on other chess clients.

Original issue reported on code.google.com by leogregianin@gmail.com on 28 Jan 2011 at 12:57

GoogleCodeExporter commented 9 years ago
TimeControl - You could probably read the original time controls from the 
timemodel.
PlyCount - This doesn't really contain anything interesting, does it? But it 
would be easy to get the number from the gamemodel.
BlackElo - We can load more data about FICS opponents into the ICPlayer object. 
For the remaining player types, we don't currently have the data needed.
ECO, Opening and Variation - These are things you look up in a database. We 
could create a module to do it, either using a database we include, or by 
looking it up on the web. The opening name would be nice to include in the 
automated comments panel.

Original comment by lobais on 28 Jan 2011 at 2:34

GoogleCodeExporter commented 9 years ago

Original comment by gbtami on 27 Mar 2011 at 7:56

GoogleCodeExporter commented 9 years ago

Original comment by gbtami on 6 Apr 2013 at 8:48

GoogleCodeExporter commented 9 years ago
We should save clock time, elapsed move time and game analysis info (for engine 
players) too in comments  as they are described in extended .pgn spec.

Original comment by gbtami on 25 Aug 2013 at 7:59