Skip to content

Add Chess960/FEN support#21

Merged
vladkvit merged 3 commits intomainfrom
chess960
Feb 4, 2026
Merged

Add Chess960/FEN support#21
vladkvit merged 3 commits intomainfrom
chess960

Conversation

@vladkvit
Copy link
Owner

@vladkvit vladkvit commented Feb 4, 2026

Summary

  • Add support for parsing games with custom starting FEN positions
  • Auto-detect Chess960 variant from [Variant "chess960"] header
  • Gracefully handle invalid FEN (falls back to default, marks as invalid)

Changes

  • Parse FEN header to initialize position instead of always using default
  • Detect Chess960 variant for correct castling mode
  • Added unit tests

Version

Bumps version to 3.4.0

@vladkvit vladkvit merged commit 2142446 into main Feb 4, 2026
17 checks 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.

1 participant