Skip to content

Commit

Permalink
FIX: PGN notation for kinside castling
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentAuriau committed Nov 25, 2023
1 parent ff5db54 commit 8847382
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyalapin/engine/move.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ def to_pgn(self):
piece = "O-O-O"
start = ""
end = ""
else:
piece = "O-O"
start = ""
end = ""

king = (
self.board.white_king
if not self.player.white_side
Expand Down

0 comments on commit 8847382

Please sign in to comment.