{"id":25874268,"url":"https://github.com/pioz/chess","last_synced_at":"2025-10-11T16:17:53.863Z","repository":{"id":4694673,"uuid":"5841700","full_name":"pioz/chess","owner":"pioz","description":"A fast chess library that use bitboards to play chess with Ruby","archived":false,"fork":false,"pushed_at":"2024-10-28T18:50:11.000Z","size":1795,"stargazers_count":59,"open_issues_count":1,"forks_count":17,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-12T23:38:41.165Z","etag":null,"topics":["bitboards","chess","fast","ruby"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pioz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":"https://www.paypal.me/epilotto"}},"created_at":"2012-09-17T13:54:31.000Z","updated_at":"2024-12-31T02:05:30.000Z","dependencies_parsed_at":"2024-06-19T11:20:15.640Z","dependency_job_id":"cdbf252f-2c00-4b63-955f-eb546680966f","html_url":"https://github.com/pioz/chess","commit_stats":{"total_commits":185,"total_committers":8,"mean_commits":23.125,"dds":0.5135135135135135,"last_synced_commit":"e80879fc9548029adbe181345baecf1424079204"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pioz%2Fchess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pioz%2Fchess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pioz%2Fchess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pioz%2Fchess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pioz","download_url":"https://codeload.github.com/pioz/chess/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647255,"owners_count":21139081,"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","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":["bitboards","chess","fast","ruby"],"created_at":"2025-03-02T09:19:40.931Z","updated_at":"2025-10-11T16:17:48.842Z","avatar_url":"https://github.com/pioz.png","language":"C","readme":"# Chess\n\n![build](https://github.com/pioz/chess/workflows/Ruby/badge.svg)\n[![codecov](https://codecov.io/gh/pioz/chess/branch/master/graph/badge.svg?token=bsSUOW6wWa)](https://codecov.io/gh/pioz/chess)\n\nA fast Ruby gem to play chess with Ruby. This library is quite fast because manage game situations with [bitboards](https://en.wikipedia.org/wiki/Bitboard). Also, the move generator is written in C as a Ruby extension.\n\n## Requirements\n\n- Ruby 2.5 or higher\n\n## Installation\n\n    gem install chess\n\n## Usage\n\n```ruby\nrequire 'chess'\n\ng = Chess::Game.new\nuntil g.over?\n  begin\n    print \"Give me a #{g.active_player} move: \"\n    input = gets.chop\n    break if input == 'quit'\n    g \u003c\u003c input\n    puts g\n    puts g.moves.last\n  rescue Chess::IllegalMoveError =\u003e e\n    puts 'Illegal move!'\n  end\nend\nputs g.status\n```\n\n📚 **Documentation** is available [here](https://pioz.github.io/chess).\n\n## Questions or problems?\n\nIf you have any issues please add an [issue on\nGitHub](https://github.com/pioz/chess/issues) or fork the project and send a\npull request.\n\n## Copyright\n\nCopyright (c) 2024 [Enrico Pilotto (@pioz)](https://github.com/pioz). See\n[LICENSE](https://github.com/pioz/chess/blob/master/LICENSE) for details.\n","funding_links":["https://www.paypal.me/epilotto"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpioz%2Fchess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpioz%2Fchess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpioz%2Fchess/lists"}