live chess pgns are being generated without specifying the correct move

live chess pgns are being generated without specifying the correct move

Site Ideas

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.

c

Joined
19 Aug 12
Moves
4076
92d

@congruent said
The live chess pgns are being generated without specifying the correct move e.g. knight move at move 4 is actually Nbd7

c

Joined
19 Aug 12
Moves
4076
92d

I have played a game where the download pgn does not work.

@congruent

chemist

Linkenheim

Joined
22 Apr 05
Moves
656345
91d
1 edit

@congruent said
I have played a game where the download pgn does not work.

@congruent
[pgn]https://www.redhotpawn.com/live-chess/live-chess-play.php?gameid=2137519301[/pgn]
Game 2137519301

I think that life games are not archived. The game number leads into nowhere.

chemist

Linkenheim

Joined
22 Apr 05
Moves
656345
91d

@congruent said
@congruent said
The live chess pgns are being generated without specifying the correct move e.g. knight move at move 4 is actually Nbd7

[pgn][Site "www.dailychess.com"]
[Date "2024-02-06 19:59 UTC"]
[White "judo girls"]
[Black "congruent"]
[Result "0-1"]
[TimeControl "120+1 seconds"]
[Mode "ICS"]
1. a4 d6 2. b3 e6 3. c4 Nf6 4. Ra2 Nd7 5. Ra3 d5 6. b4 Bxb4 ...[text shortened]... dxc4 8. Rd3 cxd3 9. exd3 Kg8 10. Qe2 b6 11. Qd1 Ba6 12. Ke2 Ne5 13. g3 Qxd3+ 14. Ke1 Qxf1+ 0-1[/pgn]
The move is executed as you want it to be executed, and you are right it seems that "Nd7" is ambiguous.

c

Joined
19 Aug 12
Moves
4076
90d

A bug in the livechess feature as the moves are supposed to be disambiguos?

https://en.wikipedia.org/wiki/Algebraic_notation_(chess)

Disambiguating moves
When two (or more) identical pieces can move to the same square, the moving piece is uniquely identified by specifying the piece's letter, followed by (in descending order of preference):

the file of departure (if they differ)
the rank of departure (if the files are the same but the ranks differ)
If neither file nor rank alone is sufficient to identify the piece, then both are specified.

In the diagram, both black rooks could legally move to f8, so the move of the d8-rook to f8 is disambiguated as Rdf8. For the white rooks on the a-file which could both move to a3, it is necessary to provide the rank of the moving piece, i.e., R1a3.

In the case of the white queen on h4 moving to e1, neither the rank nor file alone are sufficient to disambiguate from the other white queens. As such, this move is written Qh4e1.

As above, an "x" can be inserted to indicate a capture; for example, if the final case were a capture, it would be written as Qh4xe1.

RHP Code Monkey

RHP HQ

Joined
21 Feb 01
Moves
2421
90d
1 edit

Thank you for reporting this as the new code used in the live chess here will one day power the correspondence/daily chess too. The disambiguation code will be reviewed!