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
enpassant field needs to be behind the castling availability. for me this worked:
def getFullFen(self): return self.getFen() + ' ' + ('w ' if self.whiteToMove else 'b ') + (self.castlingRights if self.castlingRights else '-') + ' ' + self.enpassant
The text was updated successfully, but these errors were encountered:
FENS notation is 6 fields. See https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation Proposed code mod to fix the output, and new counters to the class for half move clock and full move number.
Sorry, something went wrong.
I would suggest using python chess which supports easy pgn parsing. It seems like this library isn't maintained anymore.
No branches or pull requests
enpassant field needs to be behind the castling availability.
for me this worked:
The text was updated successfully, but these errors were encountered: