{"id":26154389,"url":"https://github.com/rcdmk/go-mine-sweeper","last_synced_at":"2025-07-31T06:01:55.711Z","repository":{"id":202588173,"uuid":"707428484","full_name":"rcdmk/go-mine-sweeper","owner":"rcdmk","description":"A Golang command-line implementation of the classic mine sweeper game","archived":false,"fork":false,"pushed_at":"2023-10-20T22:25:54.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T22:27:08.632Z","etag":null,"topics":["command-line","game","game-development"],"latest_commit_sha":null,"homepage":"","language":"Go","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/rcdmk.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}},"created_at":"2023-10-19T22:03:05.000Z","updated_at":"2023-10-23T21:27:49.000Z","dependencies_parsed_at":"2024-06-20T21:40:25.348Z","dependency_job_id":null,"html_url":"https://github.com/rcdmk/go-mine-sweeper","commit_stats":null,"previous_names":["rcdmk/go-mine-sweeper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcdmk%2Fgo-mine-sweeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcdmk%2Fgo-mine-sweeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcdmk%2Fgo-mine-sweeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcdmk%2Fgo-mine-sweeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rcdmk","download_url":"https://codeload.github.com/rcdmk/go-mine-sweeper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242999835,"owners_count":20219576,"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":["command-line","game","game-development"],"created_at":"2025-03-11T08:29:27.463Z","updated_at":"2025-03-11T08:29:28.226Z","avatar_url":"https://github.com/rcdmk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-mine-sweeper\n\nA command-line implementation of the famous mine sweeper game.\n\n```\n    *  MINE SWEEPER  *                          *  MINE SWEEPER  *\n    1 2 3 4 5 6 7 8 9 10                        1 2 3 4 5 6 7 8 9 10\n 1 [1 - - - - - - - - -]                     1 [- - - * - - - * - -]\n 2 [- - - - - - - - - -]                     2 [* - - - - * - - - -]\n 3 [- - - - - - - - - -]                     3 [- - * - - - - - * -]\n 4 [  - - - - - - - - -]                     4 [- - - - - - - - - -]\n 5 [        - - - - - -]                     5 [- - - - - * - * * -]\n 6 [        - - - - - -]                     6 [- - - - - - - - - -]\n 7 [                   ]                     7 [- - - - - - - - - -]\n 8 [  - - -            ]                     8 [- - - - - - - - - -]\n 9 [  - - -            ]                     9 [- - * - - - - - - -]\n10 [  - - -            ]                    10 [- - - - - - - - - -]\n                                            \nEnter X coordinate [1 - 10]: 2              GAME OVER!\n                                            Hit mine at (X 3, Y 9)\n```\n\n## Run\n\n```sh\ngo run .\n# or\ngo build \u0026\u0026 ./go-mine-sweeper\n```\n\n## How to play\n\nThe goal of the game is to reveal all cells that don't contain a mine.\n\nTo reveal a cell, enter coordinates for X and Y (1 based).\n\nIf a mine is revealed, game is over and you lose.\nIf an empty cell is revealed, all adjacent empty cells are revealed automatically.\n\nMines are surrounded by cells which contain the number of mines that are adjacento them (eg. if a cell has 3 mines adjacent to it, it will contain the number 3). Use this information to pick the right cells.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcdmk%2Fgo-mine-sweeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frcdmk%2Fgo-mine-sweeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcdmk%2Fgo-mine-sweeper/lists"}