en cs

NochetoTreeNumber tag standard (2023.01.01b)

Description

Nocheto PGN standard adds NochetoTreeNumber tag, which points at the position in the PGN moves tree where the chess software should set its position after the PGN is opened.

Value of the tag written in the PGN should be in the compressed format.

This tag is optional.

Example 1

Example of a game where its initial position is before the first move:

[White "..."]
[Black "..."]
[NochetoTreeNumber "0"]

1.e4 e5 *

Note: in this case is recommended not to use NochetoTreeNumber in PGN.

Example 2

Example of a game where its initial position is at the black move 18:

[White "..."]
[Black "..."]
[NochetoTreeNumber "18.0x36"]

1.e4 e5 2.Nf3 Nc6 3.Bc4 Bc5 4.O-O Nf6 5.d3 d6 6.Bg5 h6 7.Bh4 g5 8.Bg3 h5 
9.Nxg5 h4 10.Nxf7 Qe7 11.Nxh8 hxg3 12.Kh1 gxf2 13.Nc3 Qh7 14.Nf7 Ng4 15.h3 
Qh4 16.Qf3 Nd4 17.Nxd6+ cxd6 18.Qf7+ Kd8 19.Qf8+ Kc7 20.Nd5+ Kb8 21.Ne7 a6 
22.Nxc8 Qg3 23.Nb6+ Ka7 24.Qxa8+ Kxb6 25.Qd8+ Ka7 26.hxg4 Nf3 27.Qh8 Nh4 0-1

Format of the value

No move position

0 is used to indicate that no move shoud be made after the PGN is opened (as in Example 1 above).

Full format

The format starts with a move number followed by a dot.

Every move in the moves tree which leads to the position described by NochetoTreeNumber is represented by the order number of the branch of that move.

These numbers are separated by a dot.

Compressed format

NochetoTreeNumber might have a lot of .0 repetitions. To make it shorter, the compressed format write use .0xn instead, where n is the amount of repetition.

Only sequences of 0. can be compressed.

Examples

Example 1

1.e4 move

NochetoTreeNumber = 1.0

[NochetoTreeNumber "1.0"]

1.e4 ( 1.d4 d5 2.c4 ) e5 2.Nf3 ( 2.d4 exd4 ) ( 2.c3 Nf6 3.d4 ) 2...Nc6 3.Bb5 *

Example 2

1.d4 move

NochetoTreeNumber = 1.1

[NochetoTreeNumber "1.1"]

1.e4 ( 1.d4 d5 2.c4 ) e5 2.Nf3 ( 2.d4 exd4 ) ( 2.c3 Nf6 3.d4 ) 2...Nc6 3.Bb5 *

Example 3

2...Nf6 move

NochetoTreeNumber = 2.0.0.2.0

[NochetoTreeNumber "2.0x2.2.0"]

1.e4 ( 1.d4 d5 2.c4 ) e5 2.Nf3 ( 2.d4 exd4 ) ( 2.c3 Nf6 3.d4 ) 2...Nc6 3.Bb5 *

Example 4

3.d4 move

NochetoTreeNumber = 3.0.0.2.0.0

[NochetoTreeNumber "3.0x2.2.0x2"]

1.e4 ( 1.d4 d5 2.c4 ) e5 2.Nf3 ( 2.d4 exd4 ) ( 2.c3 Nf6 3.d4 ) 2...Nc6 3.Bb5 *

Example 5

3.Bb5 move

NochetoTreeNumber = 3.0.0.0.0.0

[NochetoTreeNumber "3.0x5"]

1.e4 ( 1.d4 d5 2.c4 ) e5 2.Nf3 ( 2.d4 exd4 ) ( 2.c3 Nf6 3.d4 ) 2...Nc6 3.Bb5 *

Example 6

2...d6 move

NochetoTreeNumber = 2.0.0.1.1

[NochetoTreeNumber "2.0x2.1.1"]

1.e4 ( 1.d4 d5 2.c4 ) e5 2.Nf3 ( 2.d4 exd4 ( 2...d6 ) ) ( 2.c3 Nf6 3.d4 ) 
2...Nc6 3.Bb5 *