{"id":21074558,"url":"https://github.com/shamikaredkar/minesweeper","last_synced_at":"2025-03-14T03:26:13.827Z","repository":{"id":247823462,"uuid":"826946178","full_name":"shamikaredkar/Minesweeper","owner":"shamikaredkar","description":"This project is a classic Minesweeper game implemented in Python using the Pygame library. The objective of the game is to clear a rectangular board containing hidden \"mines\" or bombs without detonating any of them, with help from clues about the number of neighboring mines in each field. You can flag a tile if you think it could have a mine. ","archived":false,"fork":false,"pushed_at":"2024-07-11T13:13:55.000Z","size":423,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T22:38:57.901Z","etag":null,"topics":["minesweeper","minesweeper-game","pygame","pygame-2d-engine","python","python-script","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shamikaredkar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-07-10T17:40:50.000Z","updated_at":"2024-07-16T18:12:07.000Z","dependencies_parsed_at":"2024-07-10T21:22:07.553Z","dependency_job_id":"1f13d4a6-30af-4ad7-bf5c-4348d56e8b74","html_url":"https://github.com/shamikaredkar/Minesweeper","commit_stats":null,"previous_names":["shamikaredkar/minesweeper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shamikaredkar%2FMinesweeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shamikaredkar%2FMinesweeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shamikaredkar%2FMinesweeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shamikaredkar%2FMinesweeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shamikaredkar","download_url":"https://codeload.github.com/shamikaredkar/Minesweeper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243517303,"owners_count":20303601,"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":["minesweeper","minesweeper-game","pygame","pygame-2d-engine","python","python-script","python3"],"created_at":"2024-11-19T19:16:44.427Z","updated_at":"2025-03-14T03:26:13.790Z","avatar_url":"https://github.com/shamikaredkar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n    \u003ch2\u003eMINESWEEPER GAME - \u003ca href=\"https://replit.com/@shamikaredkar/Minesweeper\"\u003eDemo\u003c/a\u003e\u003c/h2\u003e\n    \u003cbr /\u003e\n\u003c/div\u003e\n\u003c!-- ABOUT THE PROJECT --\u003e\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/shamikaredkar/Minesweeper/blob/main/MinesweeperPreview.gif\" alt=\"Preview\"\u003e\n\u003c/div\u003e\n\n## About The Project\nThis project is a classic Minesweeper game implemented in Python using the Pygame library. The objective of the game is to clear a rectangular board containing hidden \"mines\" or bombs without detonating any of them, with help from clues about the number of neighboring mines in each field. You can flag a tile if you think it could have a mine under it.\n\nFeatures:\n* **Interactive Gameplay:** Click to reveal tiles and flag potential mines.\n* **Win/Lose Conditions:** The game tracks whether you win by revealing all non-mine tiles or lose by clicking on a mine.\n* **Responsive Design:** Adjusts to different screen sizes and resolutions.\n* **Customizable Settings:** Change the number of rows, columns, and mines for varied difficulty.\n* **Visual Feedback:** Different tiles have distinct graphics to indicate numbers, mines, and flags.\n\n## Built With\n* [![Python][Python]][Python-url]\n* [![Pygame][Pygame]][Pygame-url]\n\n\u003c!-- USAGE EXAMPLES --\u003e\n## Usage\n\n### Gameplay\n\n**Reveal Tiles:** Left-click on a tile to reveal what is underneath. If the tile is a mine, you lose the game.\n\n**Flag Mines:** Right-click on a tile to flag it as a potential mine. This helps keep track of where you think the mines are located.\n\n**Winning the Game:** Reveal all non-mine tiles to win the game.\n\n**Losing the Game:** Click on a mine to lose the game. The board will reveal all mines and end the game.\n\n### Game Settings\n\n**Change Board Size:** Modify the number of rows, columns, and mines in the settings.py file for different difficulty levels. This allows for customizing the challenge to your preference.\n\n### Visual Feedback\n\n**Tile Graphics:** Different tiles have distinct graphics to indicate whether they are empty, contain a number (indicating the count of neighboring mines), or are mines/flags.\n\n**Game Over Screen:** When you lose the game, the board reveals all mines, and you can see where you went wrong.\n\n###Run the Game: \n\nStart the game by running the main script.\n```\npython main.py\n```\n\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\n[Python]: https://img.shields.io/badge/Python-3776AB?style=for-the-badge\u0026logo=python\u0026logoColor=white\n[Python-url]: https://python.org/\n[Pygame]: https://img.shields.io/badge/Pygame-3776AB?style=for-the-badge\u0026logo=python\u0026logoColor=white\n[Pygame-url]: https://www.pygame.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshamikaredkar%2Fminesweeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshamikaredkar%2Fminesweeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshamikaredkar%2Fminesweeper/lists"}