{"id":18463337,"url":"https://github.com/acevedojetter/master-mind","last_synced_at":"2025-08-19T10:18:49.379Z","repository":{"id":181286676,"uuid":"664825742","full_name":"AcevedoJetter/master-mind","owner":"AcevedoJetter","description":"Master Mind Game in python to run in the terminal","archived":false,"fork":false,"pushed_at":"2024-07-13T04:14:19.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-28T14:50:15.892Z","etag":null,"topics":["five-guess-algorithm","mastermind"],"latest_commit_sha":null,"homepage":"","language":"Python","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/AcevedoJetter.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-07-10T20:48:01.000Z","updated_at":"2024-07-13T04:14:23.000Z","dependencies_parsed_at":"2023-11-22T20:42:01.362Z","dependency_job_id":null,"html_url":"https://github.com/AcevedoJetter/master-mind","commit_stats":null,"previous_names":["acevedojetter/master-mind"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AcevedoJetter/master-mind","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcevedoJetter%2Fmaster-mind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcevedoJetter%2Fmaster-mind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcevedoJetter%2Fmaster-mind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcevedoJetter%2Fmaster-mind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AcevedoJetter","download_url":"https://codeload.github.com/AcevedoJetter/master-mind/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcevedoJetter%2Fmaster-mind/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271135595,"owners_count":24705102,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["five-guess-algorithm","mastermind"],"created_at":"2024-11-06T09:06:38.561Z","updated_at":"2025-08-19T10:18:49.356Z","avatar_url":"https://github.com/AcevedoJetter.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Master Mind Game and Solver\n\nRules for the game can be found [here](\u003chttps://en.wikipedia.org/wiki/Mastermind_(board_game)\u003e). The code in `main.py` is for 6 colors and 4 pegs but can be changed to use other amount of colors.\n\n# How to play\n\nTo begin, run the file in the terminal: `python3 main.py`. Once the game begins, you should take the first guess.\n\nTo guess, write the first letter of the color you would like to guess. In the current game, there are six colors: red (r), blue (b), yellow (y), green (g), orange (o), and purple (p). A guess consist of four colors, which could be repeated, separated by a space. Examples: `r b g y`, `r r b o`, `p p p p`, etc.\n\nAfter the first guess, you will get a message with the amount of black key pegs and white key pegs in no specific order. A black key peg means that you got a color in the correct position and a white key peg means that you have a correct color but in the wrong position. This will be given as four strings `b`, `w`, and `_` for black key peg, white key peg, and not a black key peg nor a white key peg, respectively.\n\nThis will continue until you get the correct combination, or you have used all your guesses.\n\n# Using the Five-guess algorithm\n\nThe [Five-guess algorithm](\u003chttps://en.wikipedia.org/wiki/Mastermind_(board_game)#Worst_case:_Five-guess_algorithm\u003e) will be implemented soon.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facevedojetter%2Fmaster-mind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facevedojetter%2Fmaster-mind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facevedojetter%2Fmaster-mind/lists"}