Sage v2.1.0 Release Notes
Release Date: 2016-07-24 // over 7 years ago-
๐ Release
๐ New Features
โ Added static
white
,black
,kingside
, andqueenside
constants toCastlingRights
andCastlingRights.Right
โ Added
canCastle(for:)
methods toCastlingRights
that take aColor
orBoard.Side
โ Added
init(color:)
andinit(side:)
toCastlingRights