{"id":29655885,"url":"https://github.com/henryssondaniel/rockpaperscissors-java","last_synced_at":"2025-07-22T08:07:07.611Z","repository":{"id":293001767,"uuid":"208223649","full_name":"HenryssonDaniel/rockpaperscissors-java","owner":"HenryssonDaniel","description":"Rock paper scissors game","archived":false,"fork":false,"pushed_at":"2019-11-10T09:32:57.000Z","size":102,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-13T07:49:33.734Z","etag":null,"topics":["rest","rest-api","restful-api","rock-paper-scissors"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/HenryssonDaniel.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}},"created_at":"2019-09-13T08:19:16.000Z","updated_at":"2021-01-10T16:35:11.000Z","dependencies_parsed_at":"2025-05-13T07:49:40.463Z","dependency_job_id":"8a64268e-77b6-4bf0-b483-78adcfe9bc68","html_url":"https://github.com/HenryssonDaniel/rockpaperscissors-java","commit_stats":null,"previous_names":["henryssondaniel/rockpaperscissors-java"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HenryssonDaniel/rockpaperscissors-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenryssonDaniel%2Frockpaperscissors-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenryssonDaniel%2Frockpaperscissors-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenryssonDaniel%2Frockpaperscissors-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenryssonDaniel%2Frockpaperscissors-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HenryssonDaniel","download_url":"https://codeload.github.com/HenryssonDaniel/rockpaperscissors-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenryssonDaniel%2Frockpaperscissors-java/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266455371,"owners_count":23931360,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["rest","rest-api","restful-api","rock-paper-scissors"],"created_at":"2025-07-22T08:07:07.012Z","updated_at":"2025-07-22T08:07:07.601Z","avatar_url":"https://github.com/HenryssonDaniel.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rock paper scissors game\n[![Build Status](https://travis-ci.com/HenryssonDaniel/rockpaperscissors-java.svg?branch=master)](https://travis-ci.com/HenryssonDaniel/rockpaperscissors-java)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=HenryssonDaniel_rockpaperscissors-java\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=HenryssonDaniel_rockpaperscissors-java)\n[![latest release](https://img.shields.io/badge/release%20notes-1.0.0-yellow.svg)](https://github.com/HenryssonDaniel/rockpaperscissors-java/blob/master/doc/release-notes/official.md)\n[![Maven Central](https://img.shields.io/maven-central/v/io.github.henryssondaniel/rockpaperscissors.svg)](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22io.github.henryssondaniel%22%20AND%20a%3A%22rockpaperscissors%22)\n[![Javadocs](https://www.javadoc.io/badge/io.github.henryssondaniel/rockpaperscissors.svg)](https://www.javadoc.io/doc/io.github.henryssondaniel/rockpaperscissors)\n## Start the application\nThe application requires Java 11 and Gradle.  \n\nRun the application with the command: \"gradle appRun\", which will start a Jetty server and deploy the application there.\n## API\nGET /api/games/{id}  \nPOST /api/games  \nPOST /api/games/{id}/join  \nPOST /api/games/{id}/move\n## Examples\n### GET\nhttp://localhost:8080/RockPaperScissors/api/games/49825edf-d5ae-4867-9406-2286a0b4e7b9\n  \nPossible output: Daniel: PAPER. Daniela: ROCK. The winner is: Daniel\n### POST\nhttp://localhost:8080/RockPaperScissors/api/games  \nRequest body: {\"name\": \"Daniel\"}\n\nThis will return an UUID to be used for this game. Possible 49825edf-d5ae-4867-9406-2286a0b4e7b9  \n\nhttp://localhost:8080/RockPaperScissors/api/games/49825edf-d5ae-4867-9406-2286a0b4e7b9/join  \nRequest body: {\"name\": \"Daniela\"}  \n\nThis will return a response message, possible OK.  \n\nhttp://localhost:8080/RockPaperScissors/api/games/49825edf-d5ae-4867-9406-2286a0b4e7b9/move  \nRequest body: {\"move\": \"Paper\", \"name\": \"Daniel\"}  \n\nThis will return a response message, possible OK.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenryssondaniel%2Frockpaperscissors-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenryssondaniel%2Frockpaperscissors-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenryssondaniel%2Frockpaperscissors-java/lists"}