{"id":22131713,"url":"https://github.com/javitocor/mastermind_ruby","last_synced_at":"2025-10-07T09:31:38.421Z","repository":{"id":118467435,"uuid":"255534867","full_name":"javitocor/Mastermind_Ruby","owner":"javitocor","description":"Classic Mastermind game in command line built with Ruby by following OOP. Users can play this classic game being the code maker or the decoder.","archived":false,"fork":false,"pushed_at":"2020-06-30T07:53:05.000Z","size":38,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T05:24:47.266Z","etag":null,"topics":["classic-game","code","project","rspec","ruby"],"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/javitocor.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":"2020-04-14T07:02:11.000Z","updated_at":"2020-08-06T23:22:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"85baa596-c8dc-4550-9eb6-87c8256df7da","html_url":"https://github.com/javitocor/Mastermind_Ruby","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/javitocor%2FMastermind_Ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javitocor%2FMastermind_Ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javitocor%2FMastermind_Ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javitocor%2FMastermind_Ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javitocor","download_url":"https://codeload.github.com/javitocor/Mastermind_Ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235614118,"owners_count":19018400,"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":["classic-game","code","project","rspec","ruby"],"created_at":"2024-12-01T18:36:43.543Z","updated_at":"2025-10-07T09:31:38.034Z","avatar_url":"https://github.com/javitocor.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mastermind\nI built a mastermind game on the command line. A human player can either solve the game themselves, or two users can play, one as the codemaker and the other as the player.\n\n![screenshot](./screenshot.png)\n\n# What it does\nOne player plays Mastermind game\n\n# Built With\n- Ruby\n- VSCode\n\n\n# Live demo\n\nYou can find it here [![Run on Repl.it](https://repl.it/badge/github/javitocor/Mastermind_Ruby)](https://repl.it/github/javitocor/Mastermind_Ruby)\n\n# Getting Started\nClone the project on your local machine, cd to the folder, and then run \"./bin/start.rb\" on your terminal\n\n# Instructions to Play\n- Select the player name.\n\n- Select who wants to be the codemaker, the computer or a player.\n\n- The code can be made up of any combination of the colored pegs. You may not use two or more pegs of the same color.\n\n- The colors are red, green, brown, magenta ,blue and cyan.\n\n- Once the code is set, the Decoder can begin guessing, trying to duplicate the exact colors and positions of the hidden Code pegs.\n\n- Each guess is made by placing a row of Code pegs on the unit. \n\n- After every guess, the result of fails and matches will be displayed.\n\n- Player has 15 tries.\n\n# Prerequisites\n- Install Ruby's latest version.\n\n# Install\n- Install VSCode or any code editor you like\n- Install latest version of Ruby\n\n# Run tests\n- Run 'rspec' in the main directory\n\n## Author\n\n👤 **Javier Oriol Correas Sanchez Cuesta**\n\n- Github: [@javitocor](https://github.com/javitocor)\n- Twitter: [@JavierCorreas4](https://twitter.com/JavierCorreas4)\n- Linkedin: [Javier Oriol Correas Sanchez Cuesta](https://www.linkedin.com/in/javier-correas-sanchez-cuesta-15289482/)\n\n# Future Features\n- Add AI to the game so it can play itself\n\n# 🤝 Contributing\nContributions, issues and feature requests are welcome! Start by:\n\n- Forking the project\n- Cloning the project to your local machine\n- cd into the project directory\n- Run git checkout -b your-branch-name\n- Make your contributions\n- Push your branch up to your forked repository\n- Open a Pull Request with a detailed description to the development branch of the original project for a review\n\n# Attributions and Credit 🚀\n\n\n# Show your support\nGive a ⭐️ if you like this project!\n\n📝 License\n\nCheck out my stories on medium to see what I'm talking about! Follow me on Instagram and Twitter to see what I am up to!\n\nEnjoy!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavitocor%2Fmastermind_ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavitocor%2Fmastermind_ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavitocor%2Fmastermind_ruby/lists"}