{"id":28234153,"url":"https://github.com/nsstudent/fischer-core","last_synced_at":"2025-07-22T22:04:22.875Z","repository":{"id":287243619,"uuid":"846747150","full_name":"NSStudent/fischer-core","owner":"NSStudent","description":"FischerCore is a Swift library that encapsulates the core logic and data structures necessary for building chess games. Named in honor of the legendary chess grandmaster Bobby Fischer, this library provides a comprehensive foundation for creating, managing, and enforcing the rules of chess.","archived":false,"fork":false,"pushed_at":"2025-07-12T18:13:11.000Z","size":3844,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-12T20:24:58.170Z","etag":null,"topics":["bitboard","bitboard-datastructure","chess","fen-notation","pgn-parser","swift"],"latest_commit_sha":null,"homepage":"https://nsstudent.dev/fischer-core/documentation/fischercore/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NSStudent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-23T21:43:52.000Z","updated_at":"2025-07-12T18:09:40.000Z","dependencies_parsed_at":"2025-04-10T18:52:19.879Z","dependency_job_id":"e1121987-b79a-4b38-a569-24411e4a0a30","html_url":"https://github.com/NSStudent/fischer-core","commit_stats":null,"previous_names":["nsstudent/fischer-core"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/NSStudent/fischer-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSStudent%2Ffischer-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSStudent%2Ffischer-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSStudent%2Ffischer-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSStudent%2Ffischer-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NSStudent","download_url":"https://codeload.github.com/NSStudent/fischer-core/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSStudent%2Ffischer-core/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266580298,"owners_count":23951193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitboard","bitboard-datastructure","chess","fen-notation","pgn-parser","swift"],"created_at":"2025-05-18T22:13:11.840Z","updated_at":"2025-07-22T22:04:22.864Z","avatar_url":"https://github.com/NSStudent.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"Fischer-core.png\" alt=\"FischerCore Logo\" height=\"250\" /\u003e\n\u003c/div\u003e\n\n# Fischer-core\n\n[![codecov](https://codecov.io/gh/NSStudent/fischer-core/branch/develop/graph/badge.svg?token=XHQP3Y1EHD)](https://codecov.io/gh/NSStudent/fischer-core)\n\n`FischerCore` is a Swift library that encapsulates the core logic and data structures necessary for building chess games.\nNamed in honor of the legendary chess grandmaster **Bobby Fischer**, this library provides a comprehensive foundation for creating, managing, and enforcing the rules of chess\n\n## Swift Package Manager\n\nYou can use `FischerCore` in your project by adding it as a dependency in your `Package.swift` file:\n\n```swift\n.package(url: \"https://github.com/NSStudent/fischer-core.git\", from: \"0.1.0\")\n```\n\nThen, add `\"FischerCore\"` to your target's dependencies:\n\n```swift\n.target(\n    name: \"YourTarget\",\n    dependencies: [\n        .product(name: \"FischerCore\", package: \"fischer-core\")\n    ]\n)\n```\n\n## Documentation\n\nThe API reference and detailed documentation for `FischerCore` is available at:\n\n👉 [https://nsstudent.dev/fischer-core/documentation/fischercore/](https://nsstudent.dev/fischer-core/documentation/fischercore/)\n\n## References\n\nThis library is based on the code of other well-crafted chess engines and bitboard libraries in Swift. Notably, it builds upon the work in [Sage by @nvzqz](https://github.com/nvzqz/Sage/tree/develop), adapting and updating it to be compatible with the current state of the Swift language and modern development practices.\n\n## Acknowledgements\n\nSpecial thanks to [Point-Free](https://www.pointfree.co/) for their fantastic [swift-parsing](https://github.com/pointfreeco/swift-parsing) library, which greatly simplified the implementation of our PGN parser.\n\n## Roadmap\n\nThe following features are planned to improve the functionality and completeness of `FischerCore`:\n\n- [ ] Support additional PGN comment types (e.g. clock time, evaluation, annotations).\n- [ ] Add performance benchmarks for parsers and move generation.\n- [ ] Improve FEN parsing using a unified parser approach.\n\n### ✅ What's Implemented\n\nThe following core features are already available:\n\n- `Bitboard`: Efficient low-level representation of board state using bitwise operations.\n- `Game`: Rule-enforced move execution, undo functionality, outcome detection, and full board state management.\n- `PGN parsing`: Conversion of PGN text into structured data with support for tags, comments, and moves.\n- `Move`: Encapsulates move logic with origin and destination squares, and supports conversion from `SANMove` to drive game mechanics.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsstudent%2Ffischer-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnsstudent%2Ffischer-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsstudent%2Ffischer-core/lists"}