{"id":16270868,"url":"https://github.com/mgrdich/mastermind","last_synced_at":"2025-04-08T15:28:19.294Z","repository":{"id":164737108,"uuid":"640173814","full_name":"Mgrdich/MasterMind","owner":"Mgrdich","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-21T20:19:33.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T11:52:12.081Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/Mgrdich.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-05-13T08:16:21.000Z","updated_at":"2023-05-21T20:19:36.000Z","dependencies_parsed_at":"2024-03-22T13:01:17.502Z","dependency_job_id":null,"html_url":"https://github.com/Mgrdich/MasterMind","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/Mgrdich%2FMasterMind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mgrdich%2FMasterMind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mgrdich%2FMasterMind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mgrdich%2FMasterMind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mgrdich","download_url":"https://codeload.github.com/Mgrdich/MasterMind/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247870213,"owners_count":21009804,"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":[],"created_at":"2024-10-10T18:11:50.574Z","updated_at":"2025-04-08T15:28:19.273Z","avatar_url":"https://github.com/Mgrdich.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MasterMind\n\nThis the is MasterMind Project , optimized to run the binary case.\n\n## How to Start the Game\n\n* Download `pipenv` by running `pip install --user pipenv`\n* `cd` go to the project directory\n* Create Virtual env `pipenv`\n* Run the file `python ./main.py`\n\n## How to play the game\n\nYou have two options to play the game\n\n* is that you are the player\n* Or you can sit and watch the computer do its thing\n\nFor now if you want the autoplay mode when the computer does all the guesses for you\n`masterMind = MasterMindBinary(auto_play=True)`\n\nif you want to cheat and see the computer generated number choose\n`masterMind = MasterMindBinary(show_computer_guess=True)`\n\nDefault game parameter of the game is guessing binary number of `4` bits , with `10` guesses To change the option\n`masterMind = MasterMindBinary(bits=int, number_of_guesses=int)`\n\nIn the future you will be able to toggle those parameters with the shell flags \n\n\n`masterMind.play_game()` is the one that kicks off the algorithm\n`masterMind.print_results()` is where you see your result \n\nbut steps by step algorithm has logs , it will be configurable in the future.\n\nIn the data_representation file is the basic plots of the algorithms\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgrdich%2Fmastermind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgrdich%2Fmastermind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgrdich%2Fmastermind/lists"}