That log is now properly analyzed for its opening position. I added code that would recognize a castling move made by moving a King to a Rook's space or by hopping over the Rook. I also corrected the instructions for how to castle in the Notation section. It now mentions that the King may move to the Rook's space or hop over it to castle.
I have also added some code that turns off the Rook bit for the pieces starting on each side of a Rook when a Rook has been identified, since the two Rooks may not start out adjacent to each other.
That log is now properly analyzed for its opening position. I added code that would recognize a castling move made by moving a King to a Rook's space or by hopping over the Rook. I also corrected the instructions for how to castle in the Notation section. It now mentions that the King may move to the Rook's space or hop over it to castle.
I have also added some code that turns off the Rook bit for the pieces starting on each side of a Rook when a Rook has been identified, since the two Rooks may not start out adjacent to each other.