{"id":20238976,"url":"https://github.com/kusnierewicz/mastermind-game","last_synced_at":"2026-06-03T22:31:23.667Z","repository":{"id":20530446,"uuid":"23809623","full_name":"Kusnierewicz/Mastermind-game","owner":"Kusnierewicz","description":"The Odin Project Assignment: Build Mastermind Game with AI","archived":false,"fork":false,"pushed_at":"2017-10-23T21:28:19.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T14:48:10.739Z","etag":null,"topics":["challenge","fun","game","mastermind","ruby","terminal-game"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/Kusnierewicz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-08T21:45:15.000Z","updated_at":"2023-03-05T01:37:00.000Z","dependencies_parsed_at":"2022-07-23T05:47:23.430Z","dependency_job_id":null,"html_url":"https://github.com/Kusnierewicz/Mastermind-game","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kusnierewicz/Mastermind-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kusnierewicz%2FMastermind-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kusnierewicz%2FMastermind-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kusnierewicz%2FMastermind-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kusnierewicz%2FMastermind-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kusnierewicz","download_url":"https://codeload.github.com/Kusnierewicz/Mastermind-game/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kusnierewicz%2FMastermind-game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33883102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"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":["challenge","fun","game","mastermind","ruby","terminal-game"],"created_at":"2024-11-14T08:36:27.728Z","updated_at":"2026-06-03T22:31:23.651Z","avatar_url":"https://github.com/Kusnierewicz.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Odin Project Assignment: \"Build Mastermind game with AI\"\n\nMy implementation of Mastermind - a code-breaking game for two players. Please see \u003ca href=\"http://en.wikipedia.org/wiki/Mastermind_(board_game)\"\u003eWikipedia article\u003c/a\u003e for extendet info.\n\n## Installation\n\nSave Mastermind folder in your chosen location\n\nAnd then inside of it execute:\n\n    $ bundle\n\n## Usage\n\nTo play the game run:\n\n    ruby Mastermind\\run_game\\play.rb\n\nSetup mode will begin and you will be able to set:\n\n    1. number of players\n    2. Name of each player\n    3. Role of each player\n\nAfter that, play mode will begin and you will be able to setup the code and hack the code.\n\nIf you choose to play against AI, you can be either hacker or mastermind. Try to be faster than the AI code breaker!! It's almost perfect :)\n\n## Still in developement stage!!\n\n1. Input should be secured to prevent crushing\n2. AI is based on Donald Knuth Five-guess algorithm, but it's not perfect yet. But it is pretty darn good already :)\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## License\n\n\\* See [license.txt](https://github.com/Kusnierewicz/Mastermind-game/blob/master/LICENSE.txt) for usage details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkusnierewicz%2Fmastermind-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkusnierewicz%2Fmastermind-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkusnierewicz%2Fmastermind-game/lists"}