Author: Dann Corbit
Date: 13:59:50 12/22/98
Go up one level in this thread
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.