{"id":19301978,"url":"https://github.com/voidashi/minesweeper-c","last_synced_at":"2026-05-13T21:34:56.213Z","repository":{"id":165390632,"uuid":"538667029","full_name":"voidashi/minesweeper-c","owner":"voidashi","description":"minesweeper in te terminal written in c","archived":false,"fork":false,"pushed_at":"2025-02-13T20:44:25.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-14T23:41:36.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/voidashi.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-09-19T19:33:18.000Z","updated_at":"2025-02-13T20:44:29.000Z","dependencies_parsed_at":"2025-02-24T01:41:11.203Z","dependency_job_id":"8111c1d4-ab3d-43b3-860c-3fab55221444","html_url":"https://github.com/voidashi/minesweeper-c","commit_stats":null,"previous_names":["voidrass/minesweeper-c","voidashi/minesweeper-c"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/voidashi/minesweeper-c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidashi%2Fminesweeper-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidashi%2Fminesweeper-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidashi%2Fminesweeper-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidashi%2Fminesweeper-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voidashi","download_url":"https://codeload.github.com/voidashi/minesweeper-c/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidashi%2Fminesweeper-c/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33001196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-09T23:19:28.871Z","updated_at":"2026-05-13T21:34:56.178Z","avatar_url":"https://github.com/voidashi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💎 Minesweeper in C  \n\n*A terminal-based implementation of the classic Minesweeper game, built in C.*  \n\n[![C](https://img.shields.io/badge/Language-C-informational?style=flat\u0026logo=c\u0026logoColor=white)](https://en.wikipedia.org/wiki/C_(programming_language))  \n[![License](https://img.shields.io/badge/License-MIT-green?style=flat)](LICENSE)  \n\n---\n\n## 📦 Features  \n\n### **Core Gameplay**  \n- Classic Minesweeper mechanics: Reveal safe squares, avoid mines, and win by clearing the board.  \n- **Rules:**  \n  - Grid of squares hides mines or safe zones.  \n  - Reveal a mine: Game over.  \n  - Reveal safe squares: Displays adjacent mine count or auto-reveals empty areas.  \n\n### **Key Functionality**  \n- **Multiple Modes:**  \n  1. **Print Board:** Display unaltered board from `boards/` directory.  \n  2. **Hints Mode:** Show boards with adjacent mine counts.  \n  3. **Interactive Play:** Input coordinates to reveal squares dynamically.  \n- **Terminal-First Design:** Lightweight and runs natively in any UNIX-like environment.  \n\n---\n\n## 🚀 Getting Started  \n\n### **Clone the Repository**  \n```bash  \ngit clone https://github.com/voidashi/minesweeper-c.git  \n```  \n\n### **Compilation**  \nCompile with `gcc`:  \n```bash  \ngcc -o minesweeper minesweeper.c  \n```  \n\n### **Run the Game**  \nStart the executable:  \n```bash  \n./minesweeper  \n```  \n\n**Note:** Ensure board files are in the `boards/` directory!  \n\n---\n\n## 🕹️ Usage  \nAfter launching the game, choose an action:  \n1. **Print Board** – Load and display a predefined board.  \n2. **Print Board with Hints** – Add mine-count hints to the board.  \n3. **User Action** – Enter coordinates interactively to reveal squares.  \n\n---\n\n## 🤝 Contributing  \nFound a bug or have an idea?  \n- Open an **Issue** for feature requests or bug reports.  \n- Submit a **Pull Request** for documented fixes or enhancements.  \n\n---\n\n## 📄 License  \nMIT Licensed - See [LICENSE](LICENSE) for details.  \n\n---  \n\n*Relive the 90s magic—now in your terminal!*  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoidashi%2Fminesweeper-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoidashi%2Fminesweeper-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoidashi%2Fminesweeper-c/lists"}