{"id":21762428,"url":"https://github.com/fraineralex/chessai","last_synced_at":"2025-10-07T19:30:52.072Z","repository":{"id":140645240,"uuid":"564597570","full_name":"fraineralex/ChessAI","owner":"fraineralex","description":"🤖 Chess AI using the minimax algorithm with alpha-beta pruning.","archived":false,"fork":false,"pushed_at":"2023-02-02T03:34:40.000Z","size":2166,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-18T08:09:10.730Z","etag":null,"topics":["adversarial-search","alpha-beta-pruning","chess-ai","chess-game","heuristic-optimization","minimax-algorithm"],"latest_commit_sha":null,"homepage":"","language":"Python","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/fraineralex.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":"2022-11-11T03:42:53.000Z","updated_at":"2024-12-22T19:19:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"edb3f87c-8a2f-4e55-8c3a-8636d2a5c546","html_url":"https://github.com/fraineralex/ChessAI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraineralex%2FChessAI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraineralex%2FChessAI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraineralex%2FChessAI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraineralex%2FChessAI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fraineralex","download_url":"https://codeload.github.com/fraineralex/ChessAI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235652791,"owners_count":19024262,"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":["adversarial-search","alpha-beta-pruning","chess-ai","chess-game","heuristic-optimization","minimax-algorithm"],"created_at":"2024-11-26T12:12:07.192Z","updated_at":"2025-10-07T19:30:46.634Z","avatar_url":"https://github.com/fraineralex.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eChess AI\u003c/h1\u003e\n  \u003ch3\u003eChess AI developed with the minimax adversarial search algorithm with alpha beta pruning!\u003c/h3\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/fraineralex/ChessAI/fork\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/forks/fraineralex/ChessAI?\" alt=\"Badge showing the total of project forks\"/\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/fraineralex/ChessAI/stargazers\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/fraineralex/ChessAI?\" alt=\"Badge showing the total of project stars\"/\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/fraineralex/ChessAI/commits/main\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/commit-activity/m/fraineralex/ChessAI?\" alt=\"Badge showing average commit frequency per month\"/\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/fraineralex/ChessAI/commits/main\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/last-commit/fraineralex/ChessAI?\" alt=\"Badge showing when the last commit was made\"/\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/fraineralex/ChessAI/issues\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues/fraineralex/ChessAI?\" alt=\"Badge showing the total of project issues\"/\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/fraineralex/ChessAI/pulls\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues-pr/fraineralex/ChessAI?\" alt=\"Badge showing the total of project pull-requests\"/\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/fraineralex/ChessAI/LICENSE.md\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Badge showing project license type\" src=\"https://img.shields.io/github/license/maurodesouza/profile-readme-generator?color=f85149\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#dart-about\"\u003eAbout\u003c/a\u003e \u0026#xa0; | \u0026#xa0;\n  \u003ca href=\"#rocket-main-technologies\"\u003eTechnologies\u003c/a\u003e \u0026#xa0; | \u0026#xa0;\n  \u003ca href=\"#white_check_mark-requirements\"\u003eRequirements\u003c/a\u003e \u0026#xa0; | \u0026#xa0;\n  \u003ca href=\"#checkered_flag-starting\"\u003eStarting\u003c/a\u003e \u0026#xa0; | \u0026#xa0;\n  \u003ca href=\"https://github.com/fraineralex/ChessAI/edit/master/README.md\"\u003eContributing\u003c/a\u003e\n\u003c/p\u003e\n\n## :dart: About ##\n\nArtificial Intelligence Chess developed with the minimax adversarial search algorithm with alpha beta pruning. It returns the best possible move it has been able to find at the given depth within a specified time interval, at each iteration the algorithm takes into account a series of Heuristics that tell it whether a particular move is good or bad based on the future outcome it might cause.\n\nBy default it analyzes the best move at a depth of 2 and with a time limit of 10 seconds, this means that it will evaluate all possible moves taking into account the outcome of 2 boards in the future.\n\nhttps://user-images.githubusercontent.com/89224196/216224624-7c3c1718-6f93-4592-8720-afc9e4b2dc11.mp4\n\n## :rocket: Main Technologies ##\n\n\u003ca href=\"https://python.org\"\u003e\n  \u003cimg width=\"50\" title=\"Python\" alt=\"Python Logo\" src=\"https://raw.githubusercontent.com/devicons/devicon/master/icons/python/python-original.svg\"\u003e\n\u003c/a\u003e \u0026#xa0; \u0026#xa0;\n\n\u003ca href=\"https://www.numpy.org\"\u003e\n  \u003cimg width=\"50\" title=\"Numpy\" alt=\"Numpy Logo\" src=\"https://numpy.org/images/logo.svg\"\u003e\n\u003c/a\u003e \u0026#xa0; \u0026#xa0;\n\n\u003ca href=\"https://pygame.com\"\u003e\n  \u003cimg width=\"50\" title=\"pygame\" alt=\"pygame Logo\" src=\"https://www.pygame.org/ftp/pygame-head-party.png\"\u003e\n\u003c/a\u003e \u0026#xa0; \u0026#xa0;\n\n\u003ca href=\"https://python-chess.readthedocs.io/en/latest/\"\u003e\n  \u003cimg width=\"50\" title=\"Jest\" alt=\"chess Logo\" src=\"https://cdn-icons-png.flaticon.com/256/1527/1527342.png\"\u003e\n\u003c/a\u003e \u0026#xa0; \u0026#xa0;\n\n###\n\n\u003cdetails\u003e\n  \u003csummary\u003eSee more\u003c/summary\u003e\n\n  ###\n\n* Python\n    - chess\n    - numpy\n    - pygame\n    - sys\n    - ast\n    - copy\n    - os\n\n\u003c/details\u003e\n\n## :white_check_mark: Requirements ##\n\nBefore starting :checkered_flag:, you need to have [Git](https://git-scm.com) and [Python](https://python.org) installed ([pip](https://pypi.org/project/pip/)).\n\n## :checkered_flag: Starting ##\n\n```bash\n# Clone this project\n    $ git clone https://github.com/fraineralex/ChessAI\n# Access\n    $ cd ChessAI\n# Install dependencies\n    $ pip install numpy\n    $ pip install chess\n    $ pip install pygame\n# Run the project\n    $ python src/main.py\n# The server will execute and you will see the chess board\n```\n\n## :video_game: Scripts\n\n- Entry point: `main.py`\n- Press `t` to change theme `(green, brown, blue, gray)`\n- Press `r` to restart the game\n\n## :memo: License ##\n\nThis project is under license from MIT. For more details, see the [LICENSE](LICENSE.md) file.\n\n\nMade with 💙 by \u003ca href=\"https://github.com/fraineralex\" target=\"_blank\"\u003eFrainer Encarnación\u003c/a\u003e\n\n\n## 👨🏻‍🚀 Developer\n- Frainer Encarnación --\u003e [Github](https://github.com/fraineralex)\n\n\u0026#xa0;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffraineralex%2Fchessai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffraineralex%2Fchessai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffraineralex%2Fchessai/lists"}