{"id":17114627,"url":"https://github.com/scar17off/chess-bot","last_synced_at":"2025-03-23T23:43:06.402Z","repository":{"id":257122547,"uuid":"857383023","full_name":"scar17off/chess-bot","owner":"scar17off","description":"An interactive chess game with an AI opponent, implemented in JavaScript","archived":false,"fork":false,"pushed_at":"2024-09-14T14:12:54.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T06:49:32.464Z","etag":null,"topics":["bot","bot-development","bots","canvas","canvas-game","chess","chess-ai","chess-bot","chess-bot-2024","chess-com","chess-engine","chess-game","game","game-development","html-css-javascript","html-game","html-games","javascript","js"],"latest_commit_sha":null,"homepage":"https://scar17off.github.io/chess-bot/","language":"JavaScript","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/scar17off.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-09-14T14:08:43.000Z","updated_at":"2025-01-08T20:22:51.000Z","dependencies_parsed_at":"2024-09-15T00:02:32.384Z","dependency_job_id":"9ce4f9c4-dc2c-4d19-85a7-649ef90e071d","html_url":"https://github.com/scar17off/chess-bot","commit_stats":null,"previous_names":["scar17off/chess-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scar17off%2Fchess-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scar17off%2Fchess-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scar17off%2Fchess-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scar17off%2Fchess-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scar17off","download_url":"https://codeload.github.com/scar17off/chess-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245186924,"owners_count":20574553,"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":["bot","bot-development","bots","canvas","canvas-game","chess","chess-ai","chess-bot","chess-bot-2024","chess-com","chess-engine","chess-game","game","game-development","html-css-javascript","html-game","html-games","javascript","js"],"created_at":"2024-10-14T17:19:31.963Z","updated_at":"2025-03-23T23:43:06.381Z","avatar_url":"https://github.com/scar17off.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chess Bot ♟️\r\n\r\n![GitHub](https://img.shields.io/github/license/scar17off/chess-bot)\r\n![JavaScript](https://img.shields.io/badge/language-JavaScript-yellow)\r\n![Version](https://img.shields.io/badge/version-1.0-blue)\r\n![GitHub stars](https://img.shields.io/github/stars/scar17off/chess-bot?style=social)\r\n![GitHub forks](https://img.shields.io/github/forks/scar17off/chess-bot?style=social)\r\n![GitHub issues](https://img.shields.io/github/issues/scar17off/chess-bot)\r\n![GitHub pull requests](https://img.shields.io/github/issues-pr/scar17off/chess-bot)\r\n![GitHub last commit](https://img.shields.io/github/last-commit/scar17off/chess-bot)\r\n![GitHub repo size](https://img.shields.io/github/repo-size/scar17off/chess-bot)\r\n![GitHub contributors](https://img.shields.io/github/contributors/scar17off/chess-bot)\r\n![GitHub commit activity](https://img.shields.io/github/commit-activity/m/scar17off/chess-bot)\r\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/scar17off/chess-bot)\r\n\r\nThis project is an interactive chess game with an AI opponent, implemented in JavaScript. ♔♕♖♗♘♙\r\n\r\n## Features 🚀\r\n\r\n- Play chess against an AI opponent 🤖\r\n- Interactive chessboard with piece movement ♟️\r\n- Move validation ✅\r\n- Undo and redo moves ↩️↪️\r\n- Move history display 📜\r\n- Best move suggestion 💡\r\n- Auto-move mode 🔄\r\n- Free mode for piece placement 🆓\r\n- Move analysis 🔍\r\n\r\n## Files 📁\r\n\r\n- `index.html`: The main HTML file that structures the web page 🌐\r\n- `app.js`: Contains the game logic and user interface interactions 🧠\r\n- `bot.js`: Implements the AI opponent using the minimax algorithm 🤖\r\n- `LICENSE.md`: The license for the project 📜\r\n\r\n## How to Use 🎮\r\n\r\n1. Open `index.html` in a web browser to start the game. 🌐\r\n2. Click on a piece to select it, then click on a valid square to move. 🖱️\r\n3. Use the checkboxes and buttons below the board to access different features:\r\n   - Enable Move Analysis: Highlights the best move for the current player 🔍\r\n   - Enable Auto Move: Automatically makes moves for the white player ⚪\r\n   - Free Mode: Allows free placement of pieces on the board 🆓\r\n   - Make Best Move: Makes the best move for the current player 🏆\r\n   - Undo: Reverts the last move ↩️\r\n   - Redo: Reapplies an undone move ↪️\r\n\r\n## AI Implementation 🧠\r\n\r\nThe AI uses the minimax algorithm with alpha-beta pruning to determine the best move. The evaluation function considers piece values and positional advantages. 🤖♟️\r\n\r\n## License 📜\r\n\r\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for details.\r\n\r\nFeel free to contribute to this project by submitting pull requests or reporting issues! 🙌\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscar17off%2Fchess-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscar17off%2Fchess-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscar17off%2Fchess-bot/lists"}