A cross-platform chess library for Swift providing move generation, game management, and board representation.
Sage is a cross-platform chess library written in Swift that provides move generation, game state management, and board representation. It solves the problem of implementing core chess logic for developers building chess applications, handling rules like en passant, castling, and promotions.
Swift developers building chess applications for iOS, macOS, watchOS, tvOS, or Linux platforms who need reliable chess logic without low-level implementation.
Developers choose Sage for its pure Swift implementation, comprehensive feature set including FEN/PGN support, and cross-platform compatibility across Apple ecosystems and Linux.
A cross-platform chess library for Swift
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Handles full chess game state with undo/redo capabilities, as shown in the usage examples for executing moves and managing game history.
Generates all legal moves including en passant, castling, and pawn promotions, ensuring rule correctness for chess applications.
Supports FEN and PGN import/export, enabling easy integration with other chess tools and databases through built-in parsing and exporting.
Works across iOS, macOS, watchOS, tvOS, and Linux, providing flexibility for multi-platform Swift development.
The project is explicitly marked as deprecated with no further updates, posing risks for bug fixes, security, and long-term viability.
Lacks move evaluation or AI capabilities, as admitted in the README, making it insufficient for chess engines or advanced analysis tools.
Only compatible with Swift 2.2 and 3.0, which are legacy versions; modern Swift projects may face migration challenges or incompatibilities.