{"id":15749347,"url":"https://github.com/aashrafh/algobrain","last_synced_at":"2025-03-31T07:13:04.992Z","repository":{"id":122910875,"uuid":"227925680","full_name":"aashrafh/AlgoBrain","owner":"aashrafh","description":"Classic bit-boards VS Magic bit-board","archived":false,"fork":false,"pushed_at":"2019-12-14T16:10:27.000Z","size":404,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T11:54:03.293Z","etag":null,"topics":["bitboard","chess","chess-engine","magic-bitboards"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aashrafh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-12-13T21:33:57.000Z","updated_at":"2023-03-23T21:26:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"874f80d7-d0b2-4deb-97f7-61d8aade8114","html_url":"https://github.com/aashrafh/AlgoBrain","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":"0.33333333333333337","last_synced_commit":"6d621800d8f7b5aac8b0ed68bc1c1d039d25477d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aashrafh%2FAlgoBrain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aashrafh%2FAlgoBrain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aashrafh%2FAlgoBrain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aashrafh%2FAlgoBrain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aashrafh","download_url":"https://codeload.github.com/aashrafh/AlgoBrain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246429493,"owners_count":20775808,"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":["bitboard","chess","chess-engine","magic-bitboards"],"created_at":"2024-10-04T06:02:02.552Z","updated_at":"2025-03-31T07:13:04.970Z","avatar_url":"https://github.com/aashrafh.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AlgoBrain\nA research project in college supervised by Undergraduates Research Forum at Faculty of Engineering, Cairo University.\n\n## Research Area\nComputer Chess\n\n\n## Details\nOur problem is that how to obtain the attack set of the next move for sliding pieces (queen, bishop and rock) in\ncomputer chess engines. But why sliding pieces? The answer is that sliding pieces have so\nmany combinations to be considered. In this paper we will make a comparison between the classical\napproach to obtain that and the magic bitboard approach and we will provide the reader with C++ implementation for the magic\napproach as we aim to provide programmers who write chess engines a discussion of one of the fastest and most versatile movebitboard generators for individual sliding pieces\n\n## Implementation\nWe found a library already implemented for the magical approach \u003ca href=\"https://github.com/goutham/magic-bits\"\u003ehere\u003c/a\u003e and we added the implementation for the classical approach in our repo to make a comparison between them.\n\n## Future Work\n* Providing the assembly code for both classical and magical approach.\n* Providing the exact time for both classical and magical approach.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faashrafh%2Falgobrain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faashrafh%2Falgobrain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faashrafh%2Falgobrain/lists"}