{"id":27364166,"url":"https://github.com/javpet/the-pig-game","last_synced_at":"2025-08-18T05:14:18.735Z","repository":{"id":152601642,"uuid":"98676814","full_name":"javpet/The-Pig-Game","owner":"javpet","description":"Fun 2 player game with the dice in the center","archived":false,"fork":false,"pushed_at":"2017-07-28T18:55:41.000Z","size":8222,"stargazers_count":0,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T04:54:28.689Z","etag":null,"topics":["2-player","dice","dice-roller","game","random"],"latest_commit_sha":null,"homepage":"https://javpet.github.io/The-Pig-Game/","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/javpet.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,"zenodo":null}},"created_at":"2017-07-28T18:30:50.000Z","updated_at":"2020-05-30T15:58:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b75f16b-08d4-4961-9613-11114035c48d","html_url":"https://github.com/javpet/The-Pig-Game","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/javpet/The-Pig-Game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javpet%2FThe-Pig-Game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javpet%2FThe-Pig-Game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javpet%2FThe-Pig-Game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javpet%2FThe-Pig-Game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javpet","download_url":"https://codeload.github.com/javpet/The-Pig-Game/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javpet%2FThe-Pig-Game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270946069,"owners_count":24672890,"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-18T02:00:08.743Z","response_time":89,"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":["2-player","dice","dice-roller","game","random"],"created_at":"2025-04-13T04:54:27.670Z","updated_at":"2025-08-18T05:14:18.714Z","avatar_url":"https://github.com/javpet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The-Pig-Game 🐷\nFun 2 player game with the dice in the center 🎲 . Always this stupid random dice, right?\n\nEasy-to-play game written in pure JS, but possibly this is not what you want to know about but more about the rules of the game.\n\n## Rules of the game\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## How can I play?\n\nOh it's simple, really, just follow [this 🐷 link](https://javpet.github.io/The-Pig-Game/), and you end up on a lovely piggy farm, where you can start the game. I enclosed a screenshot, so you don't get lost.\n\n![screen shot 2017-07-28 at 20 37 58](https://user-images.githubusercontent.com/9334646/28731546-a533f564-73d4-11e7-88b9-2f34766c2c7a.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavpet%2Fthe-pig-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavpet%2Fthe-pig-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavpet%2Fthe-pig-game/lists"}