{"id":22248996,"url":"https://github.com/purplebooth/bowlingkata","last_synced_at":"2025-09-02T18:35:04.224Z","repository":{"id":136338890,"uuid":"213217886","full_name":"PurpleBooth/BowlingKata","owner":"PurpleBooth","description":"I wanted to demo some unit tests in C# for a friend. I did this using the bowling Kata","archived":false,"fork":false,"pushed_at":"2020-06-09T20:52:34.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-30T10:44:21.502Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","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/PurpleBooth.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-10-06T18:04:04.000Z","updated_at":"2019-10-06T18:08:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"f91a45cb-e647-4a1f-8ff5-72b27dff2fce","html_url":"https://github.com/PurpleBooth/BowlingKata","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/PurpleBooth%2FBowlingKata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PurpleBooth%2FBowlingKata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PurpleBooth%2FBowlingKata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PurpleBooth%2FBowlingKata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PurpleBooth","download_url":"https://codeload.github.com/PurpleBooth/BowlingKata/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245458193,"owners_count":20618693,"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-12-03T06:21:09.401Z","updated_at":"2025-03-25T11:44:33.585Z","avatar_url":"https://github.com/PurpleBooth.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Bowling Kata\n\nI wanted to demo some unit tests in C# for a friend. I did this using the bowling Kata\n\n## Rules \n\nThe the bowling kata is:\n\nCreate a class with 2 methods:\n - roll(self, pins)\n - score(self)\n\nThe rules for scoring are as follows\n* A game is 10 frames\n* Each frame can have up to 2 rolls\n* A spare is when you knock down all pins in a frame\n* A strike is when you knock down all pins in the first roll of a frame\n* The score for a frame is the number of pins knocked down\n* If a spare is scored, the next roll is added as a bonus\n* If a strike is scored, the next 2 rolls are added as a bonus\n* A perfect game is 12 successive strikes and score 300 points\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurplebooth%2Fbowlingkata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurplebooth%2Fbowlingkata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurplebooth%2Fbowlingkata/lists"}