{"id":29127820,"url":"https://github.com/4ssh1/mine-sweeper","last_synced_at":"2026-04-28T16:06:30.773Z","repository":{"id":298617314,"uuid":"990998554","full_name":"4ssh1/mine-sweeper","owner":"4ssh1","description":"Currently building a classic Minesweeper game built with React, TypeScript, and Redux for state management. Features clean, modular architecture, scalable component design, and unit testing with Jest.","archived":false,"fork":false,"pushed_at":"2026-01-31T22:15:15.000Z","size":846,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-01T10:16:48.982Z","etag":null,"topics":["jest","react","redux","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/4ssh1.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-27T01:19:56.000Z","updated_at":"2026-01-31T22:15:18.000Z","dependencies_parsed_at":"2025-07-05T07:23:48.041Z","dependency_job_id":"09395f90-65e8-4d8a-8641-6710c8391c7e","html_url":"https://github.com/4ssh1/mine-sweeper","commit_stats":null,"previous_names":["4ssh1/mine-sweeper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/4ssh1/mine-sweeper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4ssh1%2Fmine-sweeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4ssh1%2Fmine-sweeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4ssh1%2Fmine-sweeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4ssh1%2Fmine-sweeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4ssh1","download_url":"https://codeload.github.com/4ssh1/mine-sweeper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4ssh1%2Fmine-sweeper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32387950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"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":["jest","react","redux","typescript"],"created_at":"2025-06-30T01:01:57.736Z","updated_at":"2026-04-28T16:06:30.758Z","avatar_url":"https://github.com/4ssh1.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 💣 Minesweeper Game\n\nA classic Minesweeper game built with **React**, **TypeScript**, and **Redux** for state management. Features clean, modular architecture, scalable component design, and unit testing with **Jest**.\n\n\n---\n\n## 🎯 Features\n\n- ⚛️ Built with React and TypeScript\n-  Responsive grid layout\n-  Probability-based mine placement\n- 🔁 Undo/Redo logic (coming soon)\n- 🧪 Unit tested with Jest\n- 🗃️ Redux-powered state management\n- 🎨 Dynamic tile color feedback\n- 📊 Uses `console.table` for dev grid debugging\n- ⏱️ Timer and mine counter (optional feature toggle)\n\n---\n\n##  Getting Started\n\n### Prerequisites\n\n- Node.js \u003e= 16\n- npm or yarn\n\n### Installation\n\n```bash\ngit clone https://github.com/your-username/minesweeper-react.git\ncd minesweeper-reac\nnpm install\n# or\nyarn\n\n```\n\n```bash \nnpm run dev\n# or\nyarn dev\n\n\n```\n\n## Project Structure\n\n```\nsrc\n├── App.tsx\n├── assets\n├── helpers\n│   ├── BoardTypes.tsx\n|   ├──CellManipulation.tsx\n├── index.css\n├── jest.setup.ts\n├── main.tsx\n├── mocks\n│   ├── fileMock.js\n├── test\n│   ├── Board.test.ts\n│   ├── CellManipulation.test.ts\n├── vite-env.d.ts\n```\n\n\n# Run all test\n\n```bash\nnpm run test\n# or\nyarn test\n```\n\n## Game Logic\n\n- The board is generated with a size and density parameter.\n- Mines are placed randomly based on a probability check.\n\n### On reveal:\nIf tile is a bomb → Game Over\nIf not:\nCount adjacent mines\nIf 0 → Recursively reveal surrounding tiles\n\n### Win condition:\n\nAll non-bomb tiles are revealed\nField generation uses basic probability math, not complex algorithms.\n\n## 🔧 Contributing\nFork the repository\n\nCreate a feature branch: \n\n```bash\ngit checkout -b feature-name\ngit commit -m \"feat: added something\"\ngit push origin feature-name\n```\n\nOpen a Pull Request\n\nWe welcome contributions for:\n- New features\n- Bug fixes\n- Tests\n- UI improvements\n\n## 📄 License\nThis project is licensed under the MIT License \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4ssh1%2Fmine-sweeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4ssh1%2Fmine-sweeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4ssh1%2Fmine-sweeper/lists"}