{"id":19357834,"url":"https://github.com/dleedev365/numberbaseballgame","last_synced_at":"2025-06-16T06:03:22.737Z","repository":{"id":176565172,"uuid":"91309171","full_name":"dleedev365/NumberBaseballGame","owner":"dleedev365","description":"A 4-digit guessing game that adapts principles of mastermind and baseball games","archived":false,"fork":false,"pushed_at":"2020-04-23T02:57:53.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-16T06:03:22.024Z","etag":null,"topics":["mastermind","terminal-game"],"latest_commit_sha":null,"homepage":"","language":"C++","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/dleedev365.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}},"created_at":"2017-05-15T07:43:42.000Z","updated_at":"2024-11-23T03:15:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"d55c5f36-581e-4cec-95ca-5d12413e4e29","html_url":"https://github.com/dleedev365/NumberBaseballGame","commit_stats":null,"previous_names":["dlee0528/numberbaseballgame","dleedev365/numberbaseballgame"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dleedev365/NumberBaseballGame","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dleedev365%2FNumberBaseballGame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dleedev365%2FNumberBaseballGame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dleedev365%2FNumberBaseballGame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dleedev365%2FNumberBaseballGame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dleedev365","download_url":"https://codeload.github.com/dleedev365/NumberBaseballGame/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dleedev365%2FNumberBaseballGame/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260109457,"owners_count":22960024,"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":["mastermind","terminal-game"],"created_at":"2024-11-10T07:09:22.830Z","updated_at":"2025-06-16T06:03:22.719Z","avatar_url":"https://github.com/dleedev365.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NumberBaseballGame\nIt's kind of a guessing game, but it has a twist ! Do you want to try it out ?\n\n# Background\nBack in high school, I used to play a number guessing game on a piece of paper with friends. This game I played with freidns was a bit different from how people intuitively know about number guessing games. No one knew where the game was originated from, but it was phenomenal in my childhood.\n\n# Rules\nWith a little twist of baseball game rules, players get to guess the number of computer which is of 4 digits (repetitive). A total number of 10 guesses is allowed and each time players take a guess, a condition is given in form of [ _ S _ B _ O ].\n- S represents the number of strikes / 1 Strike means players guessed a correct dgit at correct location\n- B represents the number of balls / 1 Ball means players guessed a correct digit at incorrect location \n- O represents the number of outs 1 Out means players guessed an incorrect digit at incorrect location\n\n*The more Outs you have, the clearer computer's number be\n\n# To help your understanding better , here's an example.\nSupposed computer chose a number, 1234, and player takes his/her first guess as 5431. \n1. The condition to be given is [ 1S 2B 1O ]. \n2. Because 134 are in the computer's number and the location of 3 matches with the user's guess. \n - 1 Out results from 5 not being in the computer's number.\n\n# Demo\n\u003cimg src = \"/nbg.JPG\" width=\"500px\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdleedev365%2Fnumberbaseballgame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdleedev365%2Fnumberbaseballgame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdleedev365%2Fnumberbaseballgame/lists"}