{"id":18532666,"url":"https://github.com/garf/rps-react","last_synced_at":"2025-07-02T06:35:52.407Z","repository":{"id":39552294,"uuid":"176621756","full_name":"garf/rps-react","owner":"garf","description":"\"Rock! Paper, scissors\" game. Code example on React.JS ","archived":false,"fork":false,"pushed_at":"2023-01-03T18:53:59.000Z","size":3024,"stargazers_count":0,"open_issues_count":26,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T23:08:02.537Z","etag":null,"topics":["code-sample"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/garf.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}},"created_at":"2019-03-20T00:41:04.000Z","updated_at":"2019-05-24T10:11:55.000Z","dependencies_parsed_at":"2023-02-01T09:00:26.113Z","dependency_job_id":null,"html_url":"https://github.com/garf/rps-react","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/garf/rps-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garf%2Frps-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garf%2Frps-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garf%2Frps-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garf%2Frps-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garf","download_url":"https://codeload.github.com/garf/rps-react/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garf%2Frps-react/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263088049,"owners_count":23411978,"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":["code-sample"],"created_at":"2024-11-06T19:07:24.921Z","updated_at":"2025-07-02T06:35:52.384Z","avatar_url":"https://github.com/garf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ROCK! Paper, scissors game\n\n## Installation\n\n`npm ci`\n\n## Running\n\n`npm start`\n\n## Tests\n\n`npm test`\n\n\n### Known issues\n\n- not saving scores between sessions\n- game results flashing on scores reset\n- tests are written only for one service\n- very basic styling\n\n### What is done\n\n- playing player with computer\n- counting scores\n- resetting scores\n- it made possible to easily extend it to more options (lizard, Spock)\n- potentially extensible for more than 2 players\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarf%2Frps-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarf%2Frps-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarf%2Frps-react/lists"}