Sage v2.1.0 Release Notes

Release Date: 2016-07-24 // over 7 years ago
  • ๐Ÿ†• New Features

    • โž• Added static white, black, kingside, and queenside constants to CastlingRights and CastlingRights.Right

    • โž• Added canCastle(for:) methods to CastlingRights that take a Color or Board.Side

    • โž• Added init(color:) and init(side:) to CastlingRights