https://github.com/nelofarzabi/pig_game
The Pig Game is a simple and fun dice game that can be played with one or two players. In this game, players take turns rolling a standard six-sided die and accumulate points. The goal is to be the first player to reach a specified number of points, typically 100.
https://github.com/nelofarzabi/pig_game
css3 html5 javascript
Last synced: 3 months ago
JSON representation
The Pig Game is a simple and fun dice game that can be played with one or two players. In this game, players take turns rolling a standard six-sided die and accumulate points. The goal is to be the first player to reach a specified number of points, typically 100.
- Host: GitHub
- URL: https://github.com/nelofarzabi/pig_game
- Owner: Nelofarzabi
- Created: 2021-07-26T16:18:45.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-07T11:52:03.000Z (over 2 years ago)
- Last Synced: 2025-05-31T14:27:57.659Z (4 months ago)
- Topics: css3, html5, javascript
- Language: JavaScript
- Homepage: https://nelofarzabi.github.io/Pig_Game/
- Size: 43 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## [View project live](https://nelofarzabi.github.io/Pig_Game/)
# Pig Game
> Description the project.
- The game has 2 players , playing in the rounds .
- In each turn , a player rolls a dice as many times as he whishes . Each result get added to his roundscore . But if the player rolls a 1 , all his round score gets lost . After that , it is the next player's turn .
- The player can chosse "HOLD" , which means that his round score gets added to his global score . After that , it is the next player's turn .
- The first player to reach 100 points on global score wins the game .# Getting Started
**please get your browser update. To get a local copy up and running follow these simple steps.**
Run the command below from the terminal
- git clone in your terminal
- cd Pig_Game
- start index.html## Built With
- Html & Css
- JavaScript## Author
👤 **Nelofar Zabi**
- GitHub: [@githubhandle](https://github.com/Nelofarzabi)
- Twitter: [@twitterhandle](https://twitter.com/NelofarZabi)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/nelofar-zabi-1a1066213)## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
## Show your support
Give a ⭐️ if you like this project!
## 📝 License
This project is
[licensed]() .