{"id":19564822,"url":"https://github.com/captv89/pig-game","last_synced_at":"2025-08-03T22:40:14.282Z","repository":{"id":180798403,"uuid":"415752170","full_name":"captv89/pig-game","owner":"captv89","description":"Roll the dice and see who hold the first 100!","archived":false,"fork":false,"pushed_at":"2021-10-17T05:48:09.000Z","size":1346,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T15:33:02.078Z","etag":null,"topics":["css3","flexbox-css","game","html5","vanilla-javascript"],"latest_commit_sha":null,"homepage":"https://captv89.github.io/pig-game/","language":"CSS","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/captv89.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}},"created_at":"2021-10-11T02:19:03.000Z","updated_at":"2021-10-17T05:50:00.000Z","dependencies_parsed_at":"2023-07-12T22:34:16.489Z","dependency_job_id":null,"html_url":"https://github.com/captv89/pig-game","commit_stats":null,"previous_names":["captv89/pig-game"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/captv89/pig-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captv89%2Fpig-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captv89%2Fpig-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captv89%2Fpig-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captv89%2Fpig-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/captv89","download_url":"https://codeload.github.com/captv89/pig-game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captv89%2Fpig-game/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268624180,"owners_count":24280150,"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-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["css3","flexbox-css","game","html5","vanilla-javascript"],"created_at":"2024-11-11T05:24:02.170Z","updated_at":"2025-08-03T22:40:14.253Z","avatar_url":"https://github.com/captv89.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pig-game\n\n## Instruction:\nThe game of Pig is a very simple jeopardy dice game in which two players race to reach *100 points*. Each turn, a player repeatedly rolls a die until either a 1 is rolled or the player holds and scores the sum of the rolls (i.e Current Score). At any time during a player's turn, the player is faced with two decisions:\n\n**ROLL** - If the player rolls a:\n\n\u003e1: the player scores nothing and it becomes the opponent's turn.\n\n\u003e2 - 6: the number is added to the player's turn total and the player's turn continues.\n\n**HOLD** - The turn total is added to the player's score and it becomes the opponent's turn.\n\n\n## Screenshots:\n\n### Desktop:\n![2862 × 1426](./screenshot-pc.png)\n\n### Tab:\n\n![1880 x 1442](./screenshot-tab.png)\n\n### Mobile:\n\n![1440 x 3220](./screenshot-mobile.png)\n\n\n## Reference:\nKnow the game: ([Wikipedia](https://en.wikipedia.org/wiki/Pig_(dice_game)))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptv89%2Fpig-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptv89%2Fpig-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptv89%2Fpig-game/lists"}