{"id":18677907,"url":"https://github.com/kaushikshivam/pig-game","last_synced_at":"2026-04-28T21:33:46.788Z","repository":{"id":147511289,"uuid":"214843664","full_name":"KaushikShivam/pig-game","owner":"KaushikShivam","description":"It is a classic dice pig game. The objective of the game is to score 100 points before the opponent does. The game is played with a single six-sided die.","archived":false,"fork":false,"pushed_at":"2020-03-11T10:54:07.000Z","size":2233,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-18T13:49:00.926Z","etag":null,"topics":["css","css3","es6","html","html5","javascript","javascript-applications","javascript-game","jonas-schmedtmann","pig-game"],"latest_commit_sha":null,"homepage":"https://piggameofficial.netlify.com/","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/KaushikShivam.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-13T15:23:08.000Z","updated_at":"2020-03-11T10:54:09.000Z","dependencies_parsed_at":"2023-07-29T07:16:56.081Z","dependency_job_id":null,"html_url":"https://github.com/KaushikShivam/pig-game","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KaushikShivam/pig-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaushikShivam%2Fpig-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaushikShivam%2Fpig-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaushikShivam%2Fpig-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaushikShivam%2Fpig-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KaushikShivam","download_url":"https://codeload.github.com/KaushikShivam/pig-game/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaushikShivam%2Fpig-game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32400864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["css","css3","es6","html","html5","javascript","javascript-applications","javascript-game","jonas-schmedtmann","pig-game"],"created_at":"2024-11-07T09:35:24.962Z","updated_at":"2026-04-28T21:33:46.761Z","avatar_url":"https://github.com/KaushikShivam.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pig Game\n\n[Pig Game](https://piggameofficial.netlify.com/) is a classic dice pig game. The objective of the game is to score 100 points before the opponent does. The game is played with a single six-sided die.\n![Screenshot](screenshot.png)\n\n## Table of content\n\n- [Project Specifications](#Specifications)\n- [Installation](#installation)\n- [Contact](#contact)\n\n## Specifications\n\n- The game has 2 players, playing in rounds\n- In each turn, a player rolls a dice as many times as he whishes. Each result get added to his ROUND score\n- BUT, if the player rolls a 1, all his ROUND score gets lost. After that, it's the next player's turn\n- The player can choose to 'Hold', which means that his ROUND score gets added to his GLBAL score. After that, it's the next player's turn\n- The first player to reach 100 points on GLOBAL score wins the game\n\n## Installation\n\n1. Clone the project to your local directory\n\n```\ngit clone https://github.com/KaushikShivam/pig-game\n```\n\n2. The project uses NPM for managing dependencies. Run npm install to install all the required dependencies\n\n```\nnpm install\n```\n\n3. Run the task runner to run the app\n\n```\nnpm run start\n```\n\n## Contact\n\nYou can contact me at:\n\n- [Portfolio](https://www.shivamkaushik.com)\n- [Email](mailto:shivamkaushikofficial@gmail.com)\n- [Linkedin](https://www.linkedin.com/in/kshivamdev/)\n- [Twitter](https://twitter.com/kShivamDev)\n- [Medium](https://medium.com/@shivamkaushikofficial)\n- [Angellist](https://angel.co/kshivamdev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaushikshivam%2Fpig-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaushikshivam%2Fpig-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaushikshivam%2Fpig-game/lists"}