v2.5.0
Release Notes
New Features
- Added pinned(for:) method to Board
- Added
between(_:)
,isBetween(start:end:)
andline(with:)
methods to Square - Added
hasMoreThanOne
to Bitboard
Enhancements
- Made legal move generation/checking faster for king pieces
Fixes
- Fixed conditions for castling so that a king cannot castle in check and it can't castle through squares that are being attacked