{"id":21305218,"url":"https://github.com/maragedev/mastermind","last_synced_at":"2025-09-23T08:19:01.892Z","repository":{"id":155615923,"uuid":"439737338","full_name":"MarageDev/MasterMind","owner":"MarageDev","description":"A remake of the board game MasterMind in Python","archived":false,"fork":false,"pushed_at":"2023-02-07T19:54:18.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-15T18:54:15.470Z","etag":null,"topics":["boardgame","mindmaster","python","remake"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarageDev.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}},"created_at":"2021-12-18T23:44:47.000Z","updated_at":"2021-12-19T02:55:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"c16f5b5a-fc22-40c5-9342-712fbd3549a3","html_url":"https://github.com/MarageDev/MasterMind","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MarageDev/MasterMind","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarageDev%2FMasterMind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarageDev%2FMasterMind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarageDev%2FMasterMind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarageDev%2FMasterMind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarageDev","download_url":"https://codeload.github.com/MarageDev/MasterMind/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarageDev%2FMasterMind/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275304914,"owners_count":25441168,"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-09-15T02:00:09.272Z","response_time":75,"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":["boardgame","mindmaster","python","remake"],"created_at":"2024-11-21T16:17:18.275Z","updated_at":"2025-09-15T18:54:17.102Z","avatar_url":"https://github.com/MarageDev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MindMaster\n![GitHub last commit](https://img.shields.io/github/last-commit/MarageDev/MasterMind?style=for-the-badge)\n[![ds](https://img.shields.io/badge/DISCORD-Link-blue.svg?style=for-the-badge)](https://discord.gg/8T2Ba2V2hj)\n## What is it ?\n  This is a simple python code replicating the game Master Mind made by Mordecai Meirowitz in 1970. It's a 2 player game.\n\u003e ***Note :*** \n\u003e The project MindMaster stills Work-In-Progress\n### How to play\n  Once you've opened the code, run it with a terminal and follow the console logs, you need to be 2. Firstly, one player needs to enter a ***code of 4 digits*** ( if it isn't, it'll show a warning in the console ), then the 2nd player needs to enter test codes to see if it's the one entered by the 1st player. Below the test code, there's an ***hint log*** telling if the number entered are presents in the code entered by the 1st player to help the other to find the code.\n### How to run\n  From source code :\n- Open the `MasterMind.py` file\n- Run it on ***terminal*** with the key `F5` ( on Visual Studio ) or find an option `Start debugging`\n- Follow the instructions in the terminal\n\n## Information\nYou can change manually some settings like that :\n\u003e The number in front of the code-line is the line where this part of the code is in the `MasterMind.py` file\n```py\n### Change the number of tries allowed\n90    tries = 5                                               # Set the number of tries allowed\n```\n```py\n### Change target code's length to make\n21    if len(code) != 4:                                      # Target code's length\n```\n\n### Example of console logs\n```markdown\nEnter a 4 digit code :\n- 7598\nThe code is : 7598\n\nEnter a code to test :\n- 1435\nX X X X\nThe code contains : 5\n\nYou have 4 tries left\n\nEnter a code to test :\n- 7489\n7 X X X\nThe code contains : 7 8 9\n\nYou have 3 tries left\n\nEnter a code to test :\n- 7598\n7 5 9 8\nThe code contains : 7 5 9 8\n\nYou've found the code, good work !\n```\n\n\n## Coming Features\n- [ ] Reworked Logs\n- [ ] An app to run it instead of runing it in the terminal and get a nicer UI\n- [x] A 1 player mode where the target code will be random\n- [ ] Maybe letter support\n- [ ] Customization settings ( tries, code format... )\n- [ ] Reworked ReadMe on github with images and maybe videos ( And maybe add this project to a global github webpage with all my work )\n## Credits\nMarage and Mordecai Meirowitz for the original idea\n\n\n\n\n### License\nThis work is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0\nInternational License][cc-by-nc-sa].\n[![CC BY-NC-SA 4.0][cc-by-nc-sa-shield]][cc-by-nc-sa]\n[![CC BY-NC-SA 4.0][cc-by-nc-sa-image]][cc-by-nc-sa]\n\n[cc-by-nc-sa]: http://creativecommons.org/licenses/by-nc-sa/4.0/\n[cc-by-nc-sa-image]: https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png\n[cc-by-nc-sa-shield]: https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaragedev%2Fmastermind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaragedev%2Fmastermind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaragedev%2Fmastermind/lists"}