We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently the reader does not understand the Long Algebraic Notation, so code like
pgnReader({pgn: '4... Nf6xc4', fen: 'r1bqkb1r/pppp1ppp/2n2n2/4p3/2B1P3/5N2/PPPP1PPP/RNBQ1RK1 b kq - 5 4'});
results in the following error
SyntaxError: Expected " ", "!!", "!", "!?", "#", "$", "(", "*", "+", "0-1", "0:1", "1-0", "1/2-1/2", "1:0", "=", "?!", "?", "??", "D", "{", "∞", end of input, or integer but "x" found.
The reason for that is that only disambiguation (column XOR row) is allowed, but not both like in Nf6xc4.
Nf6xc4
See the documentation to move() in chess.js with the sloppy flag what should be possible out of the box.
The text was updated successfully, but these errors were encountered:
#28: Added Long Algebraic Notation to the parser, added test cases th…
fb7afed
…at use that.
d2d874f
…at use that. (cherry picked from commit fb7afed)
Works for some long notations, close the issue for that. Not all possible formats are supported.
Sorry, something went wrong.
mliebelt
No branches or pull requests
Currently the reader does not understand the Long Algebraic Notation, so code like
results in the following error
The reason for that is that only disambiguation (column XOR row) is allowed, but not both like in
Nf6xc4
.See the documentation to move() in chess.js with the sloppy flag what should be possible out of the box.
The text was updated successfully, but these errors were encountered: