ChessKit 0.4.0
Pre-release
Pre-release
Improvements
Board
move calculation and validation performance has greatly increased.- Performance has improved by over 250x when simulating a full game using
Board
. - Underlying board representation has been replaced with much faster bitboard structures and algorithms.
- Performance has improved by over 250x when simulating a full game using
- Add
CustomStringConvertible
conformance toBoard
andPosition
to allow for printing chess board representations, useful for debugging. - Add
ChessKitConfiguration
with static configuration properties for the package.- Currently the only option is
printMode
to determine how pieces should be represented when printingBoard
andPosition
objects (see previous item).
- Currently the only option is
Breaking Changes
EnPassant
has been made aninternal struct
. It is used interally byPosition
andBoard
.
Deprecations
Position.toggleSideToMove()
is now private and handled automatically when callingmove()
. The public-facingtoggleSideToMove()
has been deprecated.
Full Changelog: 0.3.2...0.4.0