{"id":15622769,"url":"https://github.com/nbaztec/bowling-score","last_synced_at":"2025-03-29T16:27:55.103Z","repository":{"id":145695274,"uuid":"178070601","full_name":"nbaztec/bowling-score","owner":"nbaztec","description":null,"archived":false,"fork":false,"pushed_at":"2019-03-30T13:34:10.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T17:28:21.294Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/nbaztec.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}},"created_at":"2019-03-27T20:34:34.000Z","updated_at":"2019-04-10T07:22:35.000Z","dependencies_parsed_at":"2023-08-24T22:45:28.061Z","dependency_job_id":null,"html_url":"https://github.com/nbaztec/bowling-score","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/nbaztec%2Fbowling-score","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbaztec%2Fbowling-score/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbaztec%2Fbowling-score/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbaztec%2Fbowling-score/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nbaztec","download_url":"https://codeload.github.com/nbaztec/bowling-score/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246210791,"owners_count":20741230,"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":"2024-10-03T09:55:08.713Z","updated_at":"2025-03-29T16:27:55.079Z","avatar_url":"https://github.com/nbaztec.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bowling-score\nGiven a list of throws in 10-pin bowling, returns the round score\n\nAssumptions:\n* number of throws are not validated\n* computes score using standard 10-pin bowling rules for strike and spare\n* no input validation for throws - assumes the input is comprised of numbers from 0-10\n\n## Installation\n* Requires Node `v10+`\n\n```\n$ npm i\n$ npm test\n```\n\n## Usage\n```\n$ npm start 10 10 10 10 10 10 10 10 10 10 10 10\n\n\u003e bowling-score@1.0.0 start /home/nish/Documents/work/projects/bowling-score\n\u003e node index.js \"10\" \"10\" \"10\" \"10\" \"10\" \"10\" \"10\" \"10\" \"10\" \"10\" \"10\" \"10\"\n\n300\n```\n\nor\n\n```\n$ node index.js 10 10 10 10 10 10 10 10 10 10 10 10\n300\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbaztec%2Fbowling-score","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnbaztec%2Fbowling-score","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbaztec%2Fbowling-score/lists"}