{"id":20380135,"url":"https://github.com/codabytez/pig_game","last_synced_at":"2026-05-21T16:40:18.774Z","repository":{"id":175316665,"uuid":"653696437","full_name":"codabytez/pig_game","owner":"codabytez","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-20T20:29:32.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T07:31:24.357Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pig-game-ssr.vercel.app","language":"JavaScript","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/codabytez.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-14T14:41:18.000Z","updated_at":"2023-06-15T17:41:26.000Z","dependencies_parsed_at":"2023-07-02T23:02:16.140Z","dependency_job_id":null,"html_url":"https://github.com/codabytez/pig_game","commit_stats":null,"previous_names":["chizzi001/pig_game","codabytez/pig_game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codabytez%2Fpig_game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codabytez%2Fpig_game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codabytez%2Fpig_game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codabytez%2Fpig_game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codabytez","download_url":"https://codeload.github.com/codabytez/pig_game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241929595,"owners_count":20044005,"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-11-15T02:06:15.661Z","updated_at":"2026-05-21T16:40:13.744Z","avatar_url":"https://github.com/codabytez.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PIG GAME\n\n## Description\n\nThis is a simple dice game built with HTML, CSS and Javascript. It is a game of chance where two players roll a dice and the first to reach the final score wins the game.\n\n## Rules\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 GLOBAL score. After that, it's the next player's turn\n- The first player to reach the play selected points on GLOBAL score wins the game\n\n## How to play\n\n- Enter the final score and click on set score\n- Click on the roll dice button to roll the dice\n- Click on the hold button to hold your score\n- Click on the new game button to start a new game\n\n## Demo\n\n[Live Demo](https://pig-game-ssr.vercel.app/)\n\n## Tech Stack\n\n**Client:** HTML, CSS, Javascript\n\n## License\n\n![Licence](https://img.shields.io/github/license/codabytez/pig_game?style=flat-square)\n\n## Badges\n\n![GitHub top language](https://img.shields.io/github/languages/top/codabytez/pig_game?style=for-the-badge)\n\n![GitHub language count](https://img.shields.io/github/languages/count/codabytez/pig_game?style=for-the-badge)\n![GitHub last commit](https://img.shields.io/github/last-commit/codabytez/pig_game?style=for-the-badge)\n![GitHub repo size](https://img.shields.io/github/repo-size/codabytez/pig_game?style=for-the-badge)\n![HTML](https://img.shields.io/badge/HTML-05122A?style=for-the-badge\u0026logo=html5)\u0026nbsp;\n![CSS](https://img.shields.io/badge/CSS-05122A?\u0026style=for-the-badge\u0026logo=css3\u0026logoColor=blue)\u0026nbsp;\n![JavaScript](https://img.shields.io/badge/JavaScript-05122A?style=for-the-badge\u0026logo=javascript)\u0026nbsp;\n![Vercel](https://img.shields.io/badge/Vercel-05122A?style=for-the-badge\u0026logo=vercel)\u0026nbsp;\n![VSCode](https://img.shields.io/badge/VSCode-05122A?style=for-the-badge\u0026logo=visual-studio-code\u0026logoColor=blue)\u0026nbsp;\n![Git](https://img.shields.io/badge/Git-05122A?style=for-the-badge\u0026logo=git)\u0026nbsp;\n![GitHub](https://img.shields.io/badge/GitHub-05122A?style=for-the-badge\u0026logo=github)\u0026nbsp;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodabytez%2Fpig_game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodabytez%2Fpig_game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodabytez%2Fpig_game/lists"}