Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: crafty pgn export

Author: Dave Gomboc

Date: 09:53:50 08/05/99

Go up one level in this thread


On August 05, 1999 at 10:37:35, Robert Hyatt wrote:

>On August 05, 1999 at 02:39:23, Dave Gomboc wrote:
>
>>I was just scanning through main.c again, and I see in crafty 11.20 that
>>zero-zero is preferred for castling?  AFAIK, this is totally broken: it is
>>capital_oh-capital_oh that is correct, because zero-zero can represent a double
>>forfeit (though you might allow it as kingside castling if a zero-zero result
>>doesn't match the result tag in the game header.)
>>
>>I didn't yet read the rest of main.c to see if this changed again later.
>>
>>Dave
>
>
>No... zero-zero is _not_ preferred.  It is _broken_ to do so.  I had to add
>support to read such moves because other programs output pgn with zero-zero
>used.  This used to screw up building an opening book.
>
>But oh-oh rather than zero-zero is correct.
>
>However, Crafty will (hopefully) accept zero-zero as well as the correct
>oh-oh, so that you don't have to hand-edit the hundreds of thousands of PGN
>games that have zero-zero and zero-zero-zero.

Shep said it was changed again later.  I was only going by the text in main.c,
section 11.20. :-)  Unless I misread it, it says that zero-zero was preferred..
at least at that time.

Dave



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.