mirror of
https://github.com/chesskit-app/chesskit-swift.git
synced 2026-05-16 11:50:35 +00:00
022086aa94
Enabled `Codable` conformance for all public types (except `Board`). This allows objects derived from `ChessKit` to be encoded/decoded for storage or network transmission. #### `Board` conformance to Codable `Board` conformance will be enabled once `BoardDelegate` is removed completely. Until then, `Board.position` and `Board.state` can be encoded/decoded instead as a reasonable proxy. > [!note] Using `position`/`state` alone will lack the position count information used to calculate threefold repetition.