An open API service indexing awesome lists of open source software.

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.

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]() .