{"id":25986991,"url":"https://github.com/belhoussine/magnus","last_synced_at":"2026-06-11T09:31:06.783Z","repository":{"id":172555993,"uuid":"204219698","full_name":"Belhoussine/Magnus","owner":"Belhoussine","description":"An A.I powered chess engine.","archived":false,"fork":false,"pushed_at":"2020-10-31T21:40:21.000Z","size":133,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T12:48:26.690Z","etag":null,"topics":["artificial-intelligence","chess","chess-ai-engine","chess-game","game-theory","intelligent-engine","minimax-algorithm","webapp"],"latest_commit_sha":null,"homepage":"https://chess.belhoussine.com","language":"JavaScript","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/Belhoussine.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-08-24T22:31:16.000Z","updated_at":"2023-06-04T21:05:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"666fd77c-16f0-43cc-9416-a980d030cc65","html_url":"https://github.com/Belhoussine/Magnus","commit_stats":null,"previous_names":["belhoussine/magnus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Belhoussine/Magnus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Belhoussine%2FMagnus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Belhoussine%2FMagnus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Belhoussine%2FMagnus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Belhoussine%2FMagnus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Belhoussine","download_url":"https://codeload.github.com/Belhoussine/Magnus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Belhoussine%2FMagnus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34192870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["artificial-intelligence","chess","chess-ai-engine","chess-game","game-theory","intelligent-engine","minimax-algorithm","webapp"],"created_at":"2025-03-05T12:47:26.082Z","updated_at":"2026-06-11T09:31:06.777Z","avatar_url":"https://github.com/Belhoussine.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chess-AI-Engine\n- This is a web application that creates a chess game and then lets the user play against an intelligent engine.\n![Chess Engine](./assets/chess.png)\n- Lots of game theory and A.I research were behind the implementation of the engine, namely the Minimax Algorithm, Alpha-beta pruning, and chess opening / end-game theory.\n\n## 1. Chess Game:\n- [x] Create board and pieces\n- [x] Move pieces on the chess board\n- [x] Only allow legal moves\n- [ ] Allow pre-moves\n- [x] Castle \u0026 Capture en-passant\n- [x] Log PGN (Portable Game Notation)\n- [x] Show captured pieces\n- [x] Calculate score difference\n\n## 2. Intelligent Agent:\n- [x] Get all possible moves (search space)\n- [x] Implement MiniMax Algorithm to a certain depth:\n    - [x] Implement piece value concept (Point system)\n    - [x] Implement board placement concept (Piece positioning)\n    - [ ] Implement temporal importance (Opening vs End-game)\n    - [x] Explore search space recursively\n- [x] Optimize algorithm: Alpha-beta pruning\n- [x] Make engine play best move on the board","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelhoussine%2Fmagnus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbelhoussine%2Fmagnus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelhoussine%2Fmagnus/lists"}