Skip to content

ChessKit 0.9.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@pdil pdil released this 15 Jun 18:27
· 33 commits to master since this release
ef0523d

Improvements

  • MoveTree now conforms to BidirectionalCollection, allowing for more standard collection-based semantics in Swift.
    • Should not affect any existing functionality or API usage.
    • Several methods on MoveTree have been deprecated in favor of their Collection counterparts:
      • previousIndex(for:)index(before:) / hasIndex(before:)
      • nextIndex(for:)index(after:) / hasIndex(after:)
      • move(at:)subscript(_:) (e.g. tree[index])
  • MoveTree.annotate() now optionally returns the Move object after annotation.
  • MoveTree.path() now returns tuple with named parameters (direction and index).

Bug Fixes

  • Removed CustomDebugStringConvertible conformance from Bitboard to avoid affecting all UInt64 debug prints.
    • To print the string representation of Bitboard use Bitboard.chessString().

Full Changelog: 0.8.0...0.9.0