Skip to content

ChessKit 0.4.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@pdil pdil released this 13 Apr 22:14
· 123 commits to master since this release
58ed80d

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.
  • Add CustomStringConvertible conformance to Board and Position 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 printing Board and Position objects (see previous item).

Breaking Changes

  • EnPassant has been made an internal struct. It is used interally by Position and Board.

Deprecations

  • Position.toggleSideToMove() is now private and handled automatically when calling move(). The public-facing toggleSideToMove() has been deprecated.

Full Changelog: 0.3.2...0.4.0