{"id":26802459,"url":"https://github.com/mjsandagi/scholars-mate","last_synced_at":"2025-10-24T20:05:26.900Z","repository":{"id":183429738,"uuid":"669546023","full_name":"mjsandagi/scholars-mate","owner":"mjsandagi","description":"Scholar's Mate is a Python implementation of chess using the Pygame library, featuring a graphical chessboard where users can engage in 1v1 \"pass'n play\" matches.","archived":false,"fork":false,"pushed_at":"2024-09-09T21:04:21.000Z","size":283,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T21:18:10.788Z","etag":null,"topics":["chess","oop","pygame","python"],"latest_commit_sha":null,"homepage":"https://github.com/mjsandagi/chess-ai","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/mjsandagi.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}},"created_at":"2023-07-22T16:19:41.000Z","updated_at":"2024-09-09T21:07:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"6e914f55-d32f-4f5b-bc4b-af03ab7cc9e5","html_url":"https://github.com/mjsandagi/scholars-mate","commit_stats":null,"previous_names":["kazutokiritokirigaya/chess-ai","ei-cannot-cook/chess-ai","mjsandagi/chess-ai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mjsandagi/scholars-mate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjsandagi%2Fscholars-mate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjsandagi%2Fscholars-mate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjsandagi%2Fscholars-mate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjsandagi%2Fscholars-mate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjsandagi","download_url":"https://codeload.github.com/mjsandagi/scholars-mate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjsandagi%2Fscholars-mate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280857800,"owners_count":26403198,"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","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"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":["chess","oop","pygame","python"],"created_at":"2025-03-29T21:18:13.613Z","updated_at":"2025-10-24T20:05:26.871Z","avatar_url":"https://github.com/mjsandagi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scholar's Mate\n\nThis is a Chess game developed using the Pygame library in Python. The game boasts a graphical chessboard where players can engage in 1v1 \"pass'n play\" matches.\n\n## Table of Contents\n\n-   [Features](#features)\n-   [Installation](#installation)\n-   [Usage](#usage)\n-   [Game Controls](#game-controls)\n\n\n## Features\n\n-   Graphical chessboard with intuitive controls\n-   Two-player mode\n-   Easy-to-use interface and gameplay\n-   A plethora of themes [green, brown, blue, grey, pink]\n-   Recognises castling moves as valid\n\n## Installation\n\n1. Make sure you have Python installed on your computer. If not, download and install Python from the official website: [https://www.python.org/downloads/](https://www.python.org/downloads/)\n\n2. Clone this repository to your local machine using Git or download it as a ZIP file and extract it.\n\n3. Open a terminal and navigate to the project's root directory.\n\n4. Install the required dependencies by running the following command:\n\n    ```bash\n    pip install pygame\n    ```\n\n## Usage\n\n1. After completing the installation steps, navigate to the project directory in a terminal.\n\n2. Run the following command to start the Chess game:\n\n    ```bash\n    python src/main.py\n    ```\n\n3. The game window will open, showing the chessboard and pieces.\n\n4. Use the mouse to click and drag the chess pieces to make your moves.\n\n## Game Controls\n\n-   **Mouse Click:** Select a chess piece and move it by dragging it to the desired square.\n\n-   **Right Click:** Deselect a piece (unselect the current selection).\n\n-   **\"T\" key:** Changes the board theme.\n\n-   **\"R\" key:** Restarts the game.\n\n\n## File Structure\n\n- **`game.py`**: Manages game state.\n- **`main.py`**: Runs the game loop.\n- **`board.py`**: Handles the board and pieces.\n- **`dragger.py`**: Manages piece dragging.\n- **`square.py`**: Defines board squares.\n- **`move.py`**: Manages moves.\n- **`config.py`**: Configures themes and sounds.\n- **`const.py`**: Contains constants.\n\nEnjoy playing Chess and have fun! If you encounter any issues or have suggestions for improvements, feel free to open an issue or create a pull request. **Buena suerte!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjsandagi%2Fscholars-mate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjsandagi%2Fscholars-mate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjsandagi%2Fscholars-mate/lists"}