{"id":30351628,"url":"https://github.com/davidsantana06/rock-paper-scissors-plus","last_synced_at":"2026-05-17T00:52:06.655Z","repository":{"id":310058743,"uuid":"1035207938","full_name":"davidsantana06/rock-paper-scissors-plus","owner":"davidsantana06","description":"Console app with 3 Rock Paper Scissors variants using modular SPI for easy expansion.","archived":true,"fork":false,"pushed_at":"2025-12-23T12:28:19.000Z","size":600,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-25T01:55:01.260Z","etag":null,"topics":["bash","cli","docker","game","java","junit","maven","rock-paper-scissors","rock-paper-scissors-lizard-spock","rock-paper-scissors-nine"],"latest_commit_sha":null,"homepage":"","language":"Java","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/davidsantana06.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-09T22:13:16.000Z","updated_at":"2025-12-23T12:28:46.000Z","dependencies_parsed_at":"2025-08-15T14:19:20.392Z","dependency_job_id":"48a93d86-55cc-46b9-a3ed-83f7d2e2bd2e","html_url":"https://github.com/davidsantana06/rock-paper-scissors-plus","commit_stats":null,"previous_names":["davidsantana06/rock-paper-scissors-plus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davidsantana06/rock-paper-scissors-plus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsantana06%2Frock-paper-scissors-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsantana06%2Frock-paper-scissors-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsantana06%2Frock-paper-scissors-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsantana06%2Frock-paper-scissors-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidsantana06","download_url":"https://codeload.github.com/davidsantana06/rock-paper-scissors-plus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsantana06%2Frock-paper-scissors-plus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33124141,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","cli","docker","game","java","junit","maven","rock-paper-scissors","rock-paper-scissors-lizard-spock","rock-paper-scissors-nine"],"created_at":"2025-08-18T23:10:33.781Z","updated_at":"2026-05-17T00:52:06.649Z","avatar_url":"https://github.com/davidsantana06.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg\nsrc=\"./assets/usage.gif\"\nalt=\"Rock Paper Scissors Plus — Usage\"\nstyle=\"width: 100%\"\n/\u003e\n\n**✂️ Rock Paper Scissors Plus ➕** is a Java console application featuring three versions of the classic game: the traditional Classic with 3 gestures, the extended RPS-9 with 9, and the popular Rock Paper Scissors Lizard Spock with 5.\n\nIt uses a modular architecture based on the **Service Provider Interface (SPI)**, allowing easy addition of new variants while keeping a consistent terminal interface and gameplay.\n\n![Java](https://img.shields.io/badge/java-%23ED8B00.svg?style=for-the-badge\u0026logo=openjdk\u0026logoColor=white)\n![Maven](https://img.shields.io/badge/Apache%20Maven-C71A36?style=for-the-badge\u0026logo=Apache%20Maven\u0026logoColor=white)\n![JUnit5](https://img.shields.io/badge/junit5-25A162?style=for-the-badge\u0026logo=junit5\u0026logoColor=white)\n![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge\u0026logo=docker\u0026logoColor=white)\n\n## 🕹️ How to Play\n\n1. Select a game variant.\n2. Choose your gesture from the list displayed.\n3. The computer will pick its gesture randomly.\n4. The result is displayed, showing the winner.\n\nAvailable games include:\n\n### ✂️ Rock Paper Scissors (Classic)\n\n| Gesture      | Wins against | Loses against |\n| ------------ | ------------ | ------------- |\n| **Rock**     | Scissors     | Paper         |\n| **Paper**    | Rock         | Scissors      |\n| **Scissors** | Paper        | Rock          |\n\n### 🔫 Rock Paper Scissors Nine (RPS-9)\n\n| Gesture      | Wins against                   | Loses against                   |\n| ------------ | ------------------------------ | ------------------------------- |\n| **Rock**     | Fire, Scissors, Human, Sponge  | Paper, Air, Water, Gun          |\n| **Paper**    | Rock, Air, Water, Gun          | Scissors, Fire, Human, Sponge   |\n| **Scissors** | Paper, Human, Sponge, Air      | Rock, Fire, Water, Gun          |\n| **Fire**     | Scissors, Paper, Human, Sponge | Rock, Air, Water, Gun           |\n| **Human**    | Sponge, Paper, Air, Water      | Rock, Scissors, Fire, Gun       |\n| **Sponge**   | Paper, Air, Water, Gun         | Rock, Scissors, Fire, Human     |\n| **Air**      | Fire, Rock, Water, Gun         | Paper, Scissors, Human, Sponge  |\n| **Water**    | Rock, Fire, Scissors, Gun      | Paper, Human, Sponge, Air       |\n| **Gun**      | Rock, Scissors, Human          | Paper, Sponge, Air, Water, Fire |\n\n### 🖖 Rock Paper Scissors Lizard Spock\n\n| Gesture      | Wins against     | Loses against    |\n| ------------ | ---------------- | ---------------- |\n| **Rock**     | Scissors, Lizard | Paper, Spock     |\n| **Paper**    | Rock, Spock      | Scissors, Lizard |\n| **Scissors** | Paper, Lizard    | Rock, Spock      |\n| **Lizard**   | Paper, Spock     | Rock, Scissors   |\n| **Spock**    | Rock, Scissors   | Paper, Lizard    |\n\n## 🛠️ Installation and Execution\n\nBuilt with **Docker** and **Docker Compose**. From the root directory, build and run:\n\n```bash\ndocker compose build\ndocker compose run --rm -it rock-paper-scissors-plus\n```\n\n## 📚 References\n\n- SENIOR JAVA TECHNICAL INTERVIEW R$10K CLT BR COMPANY. YouTube, available at: [https://youtube.com/watch?v=r_SRTbbtlD4](https://youtube.com/watch?v=r_SRTbbtlD4).\n- RPS-9. UMOP, available at: [https://umop.com/rps9.htm](https://umop.com/rps9.htm).\n- Rock, Paper, Scissors, Lizard, Spock. The Big Bang Theory Wiki, available at: [https://bigbangtheory.fandom.com/wiki/Rock,\\_Paper,\\_Scissors,\\_Lizard,\\_Spock](https://bigbangtheory.fandom.com/wiki/Rock,_Paper,_Scissors,_Lizard,_Spock).\n\n## ⚖️ License\n\nLicensed under the **MIT License**, allowing free use and modification with proper credit.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidsantana06%2Frock-paper-scissors-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidsantana06%2Frock-paper-scissors-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidsantana06%2Frock-paper-scissors-plus/lists"}