{"id":19543247,"url":"https://github.com/codewithalamin/pig-game","last_synced_at":"2025-11-20T11:03:13.390Z","repository":{"id":154934096,"uuid":"574530096","full_name":"CodeWithAlamin/Pig-game","owner":"CodeWithAlamin","description":"My first simple game that i made while learning Javascript.","archived":false,"fork":false,"pushed_at":"2024-10-30T11:47:30.000Z","size":530,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T05:33:20.367Z","etag":null,"topics":["codewithalamin","css3","html","javascript","javascript-game","javascript-practice","javascriptgame","js","webdevelopment"],"latest_commit_sha":null,"homepage":"https://pig-game-alamin.netlify.app/","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/CodeWithAlamin.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":"2022-12-05T14:10:55.000Z","updated_at":"2024-10-30T11:47:34.000Z","dependencies_parsed_at":"2025-01-08T19:10:56.668Z","dependency_job_id":"f19ee356-72c7-4c07-b036-3447bbfc646c","html_url":"https://github.com/CodeWithAlamin/Pig-game","commit_stats":null,"previous_names":["codewithalamin/pig-game"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CodeWithAlamin/Pig-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithAlamin%2FPig-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithAlamin%2FPig-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithAlamin%2FPig-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithAlamin%2FPig-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeWithAlamin","download_url":"https://codeload.github.com/CodeWithAlamin/Pig-game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithAlamin%2FPig-game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285422072,"owners_count":27168929,"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-11-20T02:00:05.334Z","response_time":54,"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":["codewithalamin","css3","html","javascript","javascript-game","javascript-practice","javascriptgame","js","webdevelopment"],"created_at":"2024-11-11T03:18:05.650Z","updated_at":"2025-11-20T11:03:13.372Z","avatar_url":"https://github.com/CodeWithAlamin.png","language":"JavaScript","readme":"# Pig-game\n\nMy first simple game! I'm learning a lot from Jonas Schmedtmann's Javascript course and after completing some of the parts of the course I just finished making this simple Pig game. I know I didn't follow the DRY rule. I just wanted my code to work now. By the way he is a very good teacher.\n\n- [👉Start Playing👈](https://pig-game-alamin.netlify.app/)\n\n## Rules of this Pig game:\n\n- You need to roll the dice to accumulate the current scores.\n- If you press the Hold button, then the current scores will be added/saved to the permanent score and the dice will be shifted to the next player.\n- While you are accumulating the current scores, if your dice is \"1\", you will lose all the current scores that you accumulated. (Not your permanent scores)\n- Whoever can make 100 permanent scores first, will win.\n\n## Screenshot\n\n\u003cp\u003e\u003cimg align=\"center\" src=\"Screenshot-Pig-Game.png\"/\u003e\u003c/p\u003e\n\n## Flowchart\n\n\u003cp\u003e\u003cimg align=\"center\" src=\"pig-game-flowchart.png\"/\u003e\u003c/p\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithalamin%2Fpig-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithalamin%2Fpig-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithalamin%2Fpig-game/lists"}