Author: Chris Moreton
Date: 18:15:00 12/22/98
Go up one level in this thread
Thanks Dann & Bob, I went straight to the crafty code ripped out a method call "ReadPGN" and pasted it straight into my program where it is performing far beyond anything I reckon I could have done any time soon. Does this make me stupid or smart? Probably a thief. Thanks Again On December 22, 1998 at 16:59:50, Dann Corbit wrote: >On December 22, 1998 at 15:06:36, Chris Moreton wrote: >>I am adding the ability to read PGN files to Rival. Is there a source that >>describes everything that must be considered when reading PGN files? For >>example, the first attempt always assumes that there is a space following the >>period, e.g. "1. e4 e5" but I've since discovered that this need not be the >>case. Also, I'm not sure if I cover every possible way a move can be written. >>Any help would be appreciated. >Lots and lots of PGN files simply ignore the standard. Maybe even most. And >the standard allows all kinds of crazy stuff when implemented to the full (even >if people follow it). You might get the heavily annotated PGN files from my ftp >site, as these will cause most PGN readers to puke. Winboard and Crafty both >read PGN and you have the source available for those. >ftp://38.168.214.175/pub >Get the file anno.pgn. >If you can correctly read that, you will be able to read just about everything >because it really gives the standard a workout. You should get a copy of the >PGN standard too.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.