NochetoTreeNumber tag standard (2023.01.01)

Description

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

Value of the tag should use the compressed format.

This tag is optional.

Example 1

Example of game which initial position is before first move:

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

1.e4 e5 *

Note: in this case not using NochetoTreeNumber in PGN is prefable.

Example 2

Example of game which initial position is at move 18 as black:

[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 (as in Example 1 above).

Full format

The number starts with move number followed by dot.

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

These numbers are sparated by a dot.

Compressed format

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

Only sequences of 0. shall 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 *