{"id":23107797,"url":"https://github.com/corzed/minesweeper","last_synced_at":"2025-10-26T12:32:54.396Z","repository":{"id":234353420,"uuid":"788724482","full_name":"Corzed/MineSweeper","owner":"Corzed","description":"Simple Classic MindSweeper game made in python using pygame","archived":false,"fork":false,"pushed_at":"2024-04-19T01:21:49.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T10:41:56.598Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Corzed.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}},"created_at":"2024-04-19T00:43:55.000Z","updated_at":"2024-04-19T00:46:48.000Z","dependencies_parsed_at":"2024-04-20T17:46:57.063Z","dependency_job_id":null,"html_url":"https://github.com/Corzed/MineSweeper","commit_stats":null,"previous_names":["corzed/minesweeper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corzed%2FMineSweeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corzed%2FMineSweeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corzed%2FMineSweeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corzed%2FMineSweeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Corzed","download_url":"https://codeload.github.com/Corzed/MineSweeper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247092373,"owners_count":20882217,"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":[],"created_at":"2024-12-17T01:16:10.097Z","updated_at":"2025-10-26T12:32:54.308Z","avatar_url":"https://github.com/Corzed.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pygame Minesweeper :bomb:\n\nWelcome to the GitHub repository for a classic Minesweeper game implemented in Python using the Pygame library. Designed to run on a 10x10 board with 15 hidden mines, this project is perfect for those looking to brush up on their puzzle-solving skills or delve into game development with Pygame.\n\n## :sparkles: Features\n\n- **Customizable Board Size**: Easily modify the board size and number of mines by changing the constants.\n- **Colorful UI**: The game features a simple yet attractive user interface with distinct colors for each cell state.\n- **Interactive Gameplay**: Players can open cells, flag mines, and use chords to reveal areas of the board, increasing interaction and complexity.\n\n## :hammer_and_wrench: Installation\n\nTo get started with this Minesweeper game, follow these steps:\n\n1. Ensure that Python and Pygame are installed on your machine. If not, you can download Python from [python.org](https://www.python.org/) and install Pygame via pip:\n\n   ```bash\n   pip install pygame\n   ```\n\n2. Clone this repository:\n\n   ```bash\n   git clone https://github.com//Corzed/MineSweeper.git\n   ```\n\n3. Navigate to the cloned repository:\n\n   ```bash\n   cd pygame-minesweeper\n   ```\n\n4. Run the game:\n\n   ```bash\n   python minesweeper.py\n   ```\n\n## :video_game: How to Play\n\n- **Left Click** on a cell to open it.\n- **Right Click** on a cell to flag it or unflag it.\n- **Middle Click** on an opened cell to use the chord action, which opens adjacent cells if the number of flags around it matches the number of adjacent mines.\n\nThe game ends when all non-mine cells are opened or a mine is triggered.\n\n## :open_file_folder: Project Structure\n\nThe project files are structured as follows:\n\n- `minesweeper.py`: Contains the main game logic, Pygame window setup, and event handling.\n\n## :handshake: Contributing\n\nContributions to the Minesweeper project are welcome! Here are some ways you can contribute:\n\n- Submit bugs and feature requests.\n- Review code and improve code quality.\n- Add new features or enhancements.\n\nBefore contributing, please review the CONTRIBUTING.md file for guidelines on how to make a pull request and propose feature changes.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorzed%2Fminesweeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorzed%2Fminesweeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorzed%2Fminesweeper/lists"}