Closed AdityaMeena001 closed 1 year ago
I was also confused about the extra characters at first, but the wikipedia page on the FEN notation actually explains their purposes very well:
Explanation copied from https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation: A FEN record contains six fields, each separated by a space. The fields are as follows:
Thank you for the explanation, the Active colour will also be very useful for the program,
board.GetFenString();
this function gives a FEN string as output with some garbage values at the end.
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
this is the FEN string it gives as output for the starting position.