Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: PGN and variations question

Author: Rafael Andrist

Date: 23:07:15 02/24/02

Go up one level in this thread


On February 25, 2002 at 01:51:16, Manfred Schubert wrote:

>On February 25, 2002 at 01:27:35, Manfred Rosenboom wrote:
>
>>Like Eelco mentioned: the move itself can't be part of the variation, because
>>the variation is an alternative line of play. E.g.: if the main line in the
>>initial position is 1.e4 and you want to mention, that 1.d4 is an alternative
>>line of play, you have to write 1. e4 (1.d4)
>
>So something like 1. e4 (1. e4) would be definitely invalid PGN? The standard is
>maximum vague about this.
>
>Crafty seems to create this, so I'll have to support the import, but I think I
>shouldn't allow creating such variations when it is consensus that it is
>illegal.
>
>
>Manfred

Here's a crash test for your import function (at least Fritz can import it):

[Event "game tree"]
[Site "earth"]
[Date "2001.12.30"]
[White "stm"]
[Black "sntm"]
[Round "1"]
[Result "*"]
[FEN "1k6/3K1p2/8/8/8/8/P5P1/8 w - - 0 1"]
Kd7-d8 (g2-g3 Kb8-b7 (f7-f5 a2-a4 Kb8-b7 (Kb8-a7 ) (Kb8-a8 ) (f5-f4
) ) (f7-f6 a2-a4 Kb8-b7 (f6-f5 ) (Kb8-a7 ) (Kb8-a8 ) ) (Kb8-a7 a2-a4
f7-f5 (f7-f6 ) (Ka7-b6 ) (Ka7-b7 ) (Ka7-b8 ) (Ka7-a6 ) (Ka7-a8 ) ) (Kb8-a8
a2-a4 f7-f5 (f7-f6 ) (Ka8-b7 ) (Ka8-b8 ) (Ka8-a7 ) ) a2-a4
(g3-g4
Kb7-b6 ) (a2-a3 f7-f5 ) (Kd7-d8 ) (Kd7-e8 f7-f5 ) (Kd7-e7 f7-f5
) (Kd7-d6 f7-f5 ) f7-f5 (f7-f6 ) (Kb7-b6 ) (Kb7-b8 ) (Kb7-a6 ) (Kb7-a7 )
(Kb7-a8 ) ) (a2-a4 Kb8-b7
(f7-f5 a4-a5 Kb8-b7 (f5-f4 ) (Kb8-a7 ) (Kb8-a8 ) ) (f7-f6
a4-a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