{"id":19154576,"url":"https://github.com/gitericsson/pig-game","last_synced_at":"2026-05-13T13:46:05.993Z","repository":{"id":240304310,"uuid":"784496967","full_name":"gitEricsson/Pig-Game","owner":"gitEricsson","description":"Pig is a straightforward, amusing, and funny dice game for two players. The goal of the game is to be the first to score 100 points.","archived":false,"fork":false,"pushed_at":"2024-06-17T11:58:44.000Z","size":614,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-03T19:28:54.958Z","etag":null,"topics":["css3","game-development","pig-game","typescript"],"latest_commit_sha":null,"homepage":"https://ericsson-pig-game.netlify.app/","language":"CSS","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/gitEricsson.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":"2024-04-10T00:50:28.000Z","updated_at":"2024-06-17T11:58:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"d8915887-1746-458b-af61-6803333e92f5","html_url":"https://github.com/gitEricsson/Pig-Game","commit_stats":null,"previous_names":["gitericsson/pig-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitEricsson%2FPig-Game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitEricsson%2FPig-Game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitEricsson%2FPig-Game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitEricsson%2FPig-Game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitEricsson","download_url":"https://codeload.github.com/gitEricsson/Pig-Game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240238308,"owners_count":19769906,"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":["css3","game-development","pig-game","typescript"],"created_at":"2024-11-09T08:27:25.970Z","updated_at":"2026-05-13T13:46:00.966Z","avatar_url":"https://github.com/gitEricsson.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pig Game\n\n## Table of contents\n\n- [Overview](#overview)\n  - [About](#about)\n  - [Game Conditions](#game-conditions)\n  - [The Challenge](#the-challenge)\n  - [Features](#features)\n  - [Updates](#updates)\n  - [Screenshots](#screenshots)\n  - [Links](#links)\n- [My process](#my-process)\n  - [Built with](#built-with)\n- [Author](#author)\n- [Acknowledgments](#acknowledgments)\n\n## Overview\n\n### About\n\nPig is a straightforward, amusing, and funny dice game for two players. The goal of the game is to be the first to score 100 points.\n\n### Game Conditions\n\n- The player rolls the dice again each time until either a 1 is rolled or the player chooses to \"hold\"\n- The player's turn ends and the next person takes over if they roll a 1.\n- The player's turn continues if they roll any other number, which is added to their turn total.\n- It becomes the following player's turn if they decide to \"hold,\" in which case their turn total is added to their overall score.\n\n### The Challenge\n\nMy goal was to recreate Jonas' Pig Game from scratch and make some updates to it.\n\n### Features\n\n- Generate random dice digit per player click\n- Automatic turn switch when the dice rolls to a 1\n- New game button to reset game\n\n### Updates\n\n- Responsive Web Design across all Devices\n- Rolling Dice Functionality\n\n### Screenshots\n\n![screenshot1](./screenshots/Screenshot1.jpeg)\n![screenshot2](./screenshots/Screenshot2.jpeg)\n![screenshot3](./screenshots/Screenshot3.jpeg)\n![screenshot4](./screenshots/Screenshot4.jpeg)\n![screenshot5](./screenshots/Screenshot5.jpeg)\n\n### Links\n\n- Code URL: [Github Repo here](https://github.com/gitEricsson/Pig-Game)\n- Live Site URL: [Live site here](https://ericsson-pig-game.netlify.app/)\n\n## My process\n\n### Built with\n\n- Semantic HTML5 markup\n- CSS custom properties\n- Flexbox\n- CSS Grid\n- TypeScript\n\n## Author\n\n- Website - [Ericsson Raphael](https://github.com/gitEricsson)\n- LinkedIn - [@ericsson](www.linkedin.com/in/ericssonraphael)\n- Gmail - [@ericsson](ericssonraphael@gmail.com)\n\n## Acknowledgments\n\n[Jonas Schmedtmann](https://github.com/jonasschmedtmann)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitericsson%2Fpig-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitericsson%2Fpig-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitericsson%2Fpig-game/lists"}