Closed ratan3577 closed 8 months ago
I will make it optional behavior. Thank you for your feedback
Hi Geras
That sounds great. Thank you for your wonderful project. I'm building an app based on it and I love it. Keep up the good work.
Best regards, Chess fan
Am 18.04.2023 um 17:36 schrieb Sviatoslav @.***>:
I will make it optional behavior. Thank you for your feedback
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Describe the bug Castling move is not shown properly in ExecutedMoves. It is applicable in both short castling and long castling. Instead of e8g8, it is showing e8h8 for black short castling. Same way instead of White long castling it is showing e1a1 instead of e1c1.
Conversions / Validations / ...
To Reproduce Steps to reproduce the behaviour or Eventually a call stack and input data
var board = new ChessBoard(); board = ChessBoard.LoadFromPgn(str); foreach(var move in board.ExecutedMoves) {
//Check 9th move of black and 11th move of white. Instead of e8g8, it is showing e8h8 for black short castling. Same way instead of White long castling it is showing e1a1 instead of e1c1. King would not move to extreme corner after castling.
}
Expected behaviour A clear and concise description of what you expected to happen.
Black short castling = e8g8 White long castle = e1c1
same way, Black long castling = e8c8 White short castle = e1g1
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.