{"id":13625000,"url":"https://github.com/mordv/mnswpr","last_synced_at":"2025-04-14T19:33:22.524Z","repository":{"id":41952328,"uuid":"411749514","full_name":"mordv/mnswpr","owner":"mordv","description":"💣 Minesweeper game for your terminal","archived":false,"fork":false,"pushed_at":"2022-04-22T15:32:30.000Z","size":578,"stargazers_count":155,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-25T10:02:25.487Z","etag":null,"topics":["cli","cli-app","fun","game","ink","nodejs","npm-package","react","reactjs","terminal","terminal-game","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/mordv.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}},"created_at":"2021-09-29T16:28:25.000Z","updated_at":"2024-04-23T07:05:25.000Z","dependencies_parsed_at":"2022-08-12T00:30:26.319Z","dependency_job_id":null,"html_url":"https://github.com/mordv/mnswpr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mordv%2Fmnswpr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mordv%2Fmnswpr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mordv%2Fmnswpr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mordv%2Fmnswpr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mordv","download_url":"https://codeload.github.com/mordv/mnswpr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248945840,"owners_count":21187393,"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":["cli","cli-app","fun","game","ink","nodejs","npm-package","react","reactjs","terminal","terminal-game","typescript"],"created_at":"2024-08-01T21:01:49.549Z","updated_at":"2025-04-14T19:33:22.437Z","avatar_url":"https://github.com/mordv.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/32086218/142848786-46e8db54-e9ed-4672-852c-8e46cbd6502a.png\" /\u003e\n    \u003cdiv align=\"center\"\u003e\n\t    \u003cstrong\u003e🚩 A Minesweeper game for your terminal written with \u003ca href=\"https://github.com/facebook/react\"\u003eReactJS\u003c/a\u003e \u0026 \u003ca href=\"https://github.com/vadimdemedes/ink\"\u003eink\u003c/a\u003e 😎\n\t    \u003c/strong\u003e\n    \u003c/div\u003e\n\u003c/p\u003e\n\n## Run\n```bash\nnpx mnswpr\n```\n## Install globally\n```bash\nnpm install -g mnswpr\nmnswpr\n```\n\n## Supported terminals\n![legacy mode](https://user-images.githubusercontent.com/32086218/141684622-dcf166b5-1d66-4f03-a895-8f14edec6132.gif)\n\nThe interface works with emoji by default. If your terminal doesn't support it, you can either switch to legacy mode by pressing `l` button or update your terminal (For Windows I suggest  [Windows Terminal](https://github.com/microsoft/terminal))\n\n\n\n## Options\n\n```\nUsage: mnswpr\n\nPress h to show game controls.\n\nOptions:\n  --legacy, -L  (or press l)\n        Legacy mode. Use this if your terminal doesn't support emojis\n      \n  --quick [b|i|e|width,height,mines], -Q [b|i|e|width,height,mines] \n        Start game directly with one of the difficulties: [b|i|e]\n\tor a custom field: [width(5-50),height(5-25),mines(1-width*height*0.6)]\n\t\n        Examples:\n          mnswpr --quick b #start game with beginner difficulty\n          mnswpr -Q 10,20,60 #start game with custom field width:10 height:20 mines:60\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmordv%2Fmnswpr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmordv%2Fmnswpr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmordv%2Fmnswpr/lists"}