Closed GZ-Metal-Cell closed 2 months ago
I'm very sorry about this issue that it's my lazy fault for load_pgn()
is still under development...
However the test cases have all passed, so you can refer to the passed cases to modify your pgn
string:
I'm busy for something else nowadays, maybe I will add this test case and fix it after one or two months later...
Sorry again.
Okay, the FEN
in header string is wrong for this game:
We have:
But you've:
'[FEN "rnbakabnr/9/1c5c1/p1p1p1p1p/9/9/P1P1P1P1P/1C5C1/9/RNBAKABNR w - - 0 1"]',
The FEN
should be 9/1C5C1/9/RN2K2NR
, but yours is P1P1P1P1P/1C5C1/9/RNBAKABNR
.
Fortunately, we both have the same PGN
.
When I use
load_pgn()
to read the following string, which is a fen not for the initial state of the game:Use
game.load_pgn(pgn.join('\n'))
will returnFalse
. After query, I found that 'load_pgn()' does not recognize[Fen]
in the content, that this is an initial game lead to identification failure, is there a way to solve it?