{"id":20140308,"url":"https://github.com/kshittijagrawal/roshambo-cli","last_synced_at":"2025-07-16T08:11:44.236Z","repository":{"id":179495966,"uuid":"344228584","full_name":"kshittijagrawal/roShamBo-CLI","owner":"kshittijagrawal","description":"An interactive version of Ro-Sham-Bo, or better known as Rock-Paper-Scissors, mapped to be played within the CLI with a few additive intriguing attributes.","archived":false,"fork":false,"pushed_at":"2021-03-22T12:53:05.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-02T23:26:39.488Z","etag":null,"topics":["prettytable","rock-paper-scissors"],"latest_commit_sha":null,"homepage":"","language":"Python","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/kshittijagrawal.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":"2021-03-03T18:39:46.000Z","updated_at":"2021-05-21T11:55:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"89612e26-c6d4-4f79-9cc2-e321b2d18e5c","html_url":"https://github.com/kshittijagrawal/roShamBo-CLI","commit_stats":null,"previous_names":["kshittijagrawal/roshambo-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kshittijagrawal/roShamBo-CLI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshittijagrawal%2FroShamBo-CLI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshittijagrawal%2FroShamBo-CLI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshittijagrawal%2FroShamBo-CLI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshittijagrawal%2FroShamBo-CLI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kshittijagrawal","download_url":"https://codeload.github.com/kshittijagrawal/roShamBo-CLI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshittijagrawal%2FroShamBo-CLI/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265495577,"owners_count":23776643,"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":["prettytable","rock-paper-scissors"],"created_at":"2024-11-13T21:50:35.499Z","updated_at":"2025-07-16T08:11:44.224Z","avatar_url":"https://github.com/kshittijagrawal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ro Sham Bo\nAn interactive version of the game called Ro-Sham-Bo, or better known as Rock-Paper-Scissors, which here is mapped to be played within the Command Line Interface itself.  \n\nThe thing that makes this version a bit more intriguing is it's capacity to **handle almost all kinds of bad input** by the user and the **depiction of the Winning or Losing streak** in the form of tables.  \n\nThere's obviously no need to specify the rules to play!  \n\n### Requirement.\n* Run the command to update pip from the command line:  \n```\npip install --upgrade pip\n```\n* Run the command to install the **PrettyTable** module:  \n```\npip install prettytable\n```\n  \n  \n### A snapshot from the gameplay.\n\u003cimg src=\"images/game.PNG\" width=400\u003e  \nAnother piece that makes it a bit more interesting is the code randomly choosing the result statement from a list of given statements for each of the result cases, making the outcome of each round a bit more engrossing.  \n  \n  \n### A snapshot of bad input case.\n\u003cimg src=\"images/badinput.PNG\" width=400\u003e  \nWe can change the number of chances given to the user, which by default is 3, to rectify the bad input and go with a valid input.  \n  \n  \n### PS.\nDoesn't matter if the user gives an **even number** as an input for the number of rounds to be played, the winning score will always be considered as the ceil value of the rounds/2.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkshittijagrawal%2Froshambo-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkshittijagrawal%2Froshambo-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkshittijagrawal%2Froshambo-cli/lists"}