{"id":25650822,"url":"https://github.com/sgerodes/bowling-game-calculator","last_synced_at":"2026-06-19T17:31:17.020Z","repository":{"id":52804822,"uuid":"357141178","full_name":"sgerodes/Bowling-Game-Calculator","owner":"sgerodes","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-29T12:10:00.000Z","size":117,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-29T22:25:22.402Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sgerodes.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":"2021-04-12T09:53:52.000Z","updated_at":"2024-05-29T22:25:22.403Z","dependencies_parsed_at":"2022-08-23T07:00:35.195Z","dependency_job_id":null,"html_url":"https://github.com/sgerodes/Bowling-Game-Calculator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgerodes%2FBowling-Game-Calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgerodes%2FBowling-Game-Calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgerodes%2FBowling-Game-Calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgerodes%2FBowling-Game-Calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgerodes","download_url":"https://codeload.github.com/sgerodes/Bowling-Game-Calculator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240331409,"owners_count":19784658,"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":[],"created_at":"2025-02-23T15:18:44.662Z","updated_at":"2026-06-19T17:31:12.002Z","avatar_url":"https://github.com/sgerodes.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Requirements\n\n- java 8\n- gradle\n\n# API\n\nThis project run as per default on localhost:8080\n\n## calculate\n\n    POST /api/calculate\n\nThis endpoint expects a json object via a POST request. The json should represent a valid bowling game. \nIf an invalid json or game representation is sent a http 400 response is sent back with a description of the error.\n\n### Body structure\n\nThe endpoint expects an Object with a field \"frames\", the value if the field is a list of list of integers. \n\nThe outer list represents the whole game and should have 10 elements.\n\nThe inner lists represents individual frames and should have 1, 2 integer values in them. \n3 values are possible for the 10-th frame.\n\nThe integers represent pins impacted by a single roll.\n\nJson example:\n\n    {\n       \"frames\" : [[1,2], [3,4], [3,4], [3,4], [3,4], [3,4], [3,4], [3,4], [3,4], [3,7,6]]  \n    }\n\n### response\n\nIf a valid request is sent the response would have a single field \"overallPoints\" with the total points for the game.\n\nExample:\n\n    {\n        \"overallPoints\": 75\n    }\n\n\nIf an invalid request is sent an error message would be displayed.\n\n## Get all previously calculated games\n\n    GET /api/history\n\n\nJson response example:\n\n    [\n        {\n            \"id\": 1,\n            \"initialInput\": \"[[7, 1], [3, 4], [3, 4], [3, 4], [6, 4], [3, 4], [5, 4], [3, 2], [3, 1], [9, 1, 6]]\",\n            \"overallPoints\": 83\n        },\n        {\n            \"id\": 2,\n            \"initialInput\": \"[[1, 2], [3, 4], [3, 4], [3, 4], [3, 4], [3, 4], [3, 4], [3, 4], [3, 4], [3, 7, 6]]\",\n            \"overallPoints\": 75\n        }\n    ]\n\n# Swagger API Documentation\nIs accessible at \n\n    /swagger-ui.html","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgerodes%2Fbowling-game-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgerodes%2Fbowling-game-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgerodes%2Fbowling-game-calculator/lists"}