{"id":50969892,"url":"https://github.com/andrewadev/rps-sim","last_synced_at":"2026-06-19T01:01:54.493Z","repository":{"id":42874403,"uuid":"225163929","full_name":"AndrewADev/rps-sim","owner":"AndrewADev","description":"A sort of rock, paper, scissors simulator.","archived":false,"fork":false,"pushed_at":"2026-02-12T17:31:57.000Z","size":88,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-13T01:09:34.500Z","etag":null,"topics":["rock-paper-scissors","rps-game","simulation"],"latest_commit_sha":null,"homepage":"","language":"Python","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/AndrewADev.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-12-01T13:13:07.000Z","updated_at":"2026-02-08T13:06:51.000Z","dependencies_parsed_at":"2023-12-30T04:23:16.765Z","dependency_job_id":"75d55410-9495-4876-a029-b4d9363afe26","html_url":"https://github.com/AndrewADev/rps-sim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewADev/rps-sim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewADev%2Frps-sim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewADev%2Frps-sim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewADev%2Frps-sim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewADev%2Frps-sim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewADev","download_url":"https://codeload.github.com/AndrewADev/rps-sim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewADev%2Frps-sim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34513029,"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-18T02:00:06.871Z","response_time":128,"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":["rock-paper-scissors","rps-game","simulation"],"created_at":"2026-06-19T01:01:51.126Z","updated_at":"2026-06-19T01:01:54.162Z","avatar_url":"https://github.com/AndrewADev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RPS Sim\n\nA small console program that simulates games of rock paper scissors.\n\n## Installing\n\nYou need `pip`, as well as `pipenv`.\n\n### Prerequisite: `pipenv`\nIf you don't yet have `pipenv`, first run:\n\n```shell\n$ pip install pipenv --user\n```\n\nFor more information, see [the `pipenv` installation documentation](https://pipenv.pypa.io/en/latest/installation/).\n\n### Installing RPS Sim\n\nIf only running the program, you should be able to install it like this:\n\n```shell\n$ pipenv shell\n$ pipenv install\n```\n\nIf looking to also develop, you will want to include the development dependencies in the package install, like so:\n\n```shell\n$ pipenv install --dev\n```\n\n\n## Running\n\nOnce installed, you should be able to run it with:\n\n```shell\n$ python ./rps-sim.py\n```\n\nYou can specify the number of games that should be played via the `--games` option, e.g.:\n```shell\n$ python ./rps-sim.py --games 7\n```\n\nYou can specify the strategy that a player will use via the `--p1-strategy`/`--p2-strategy` option, e.g.:\n```shell\n$ python ./rps-sim.py --p1-strategy 'sequence'\n```\n\nRun `python ./rps-sim.py --help` for a complete list of options\n\n## Tests\n\nAssuming you have an active `pipenv` shell: \n\n```shell\n$ pytest\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewadev%2Frps-sim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewadev%2Frps-sim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewadev%2Frps-sim/lists"}