Skip to content

Comments

fix: false positive for alternative castling notation in puzzles#2355

Merged
veloce merged 5 commits intolichess-org:mainfrom
tom-anders:fix/2345
Nov 11, 2025
Merged

fix: false positive for alternative castling notation in puzzles#2355
veloce merged 5 commits intolichess-org:mainfrom
tom-anders:fix/2345

Conversation

@tom-anders
Copy link
Collaborator

Plus some refactoring for SanMove

Fixes #2354

@tom-anders
Copy link
Collaborator Author

This also fixes a (very rare) bug in study and analysis board where alt castling notation would not be correctly applied for O-O+ or O-O#, since we'd look for an exact string match with O-O - changed it to use startsWith now

Copy link
Contributor

@veloce veloce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@veloce veloce merged commit d396289 into lichess-org:main Nov 11, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Puzzle mode stuck waiting for CPU move

2 participants