A simple implementation of the Pig dice game in Python.
- The game starts by asking the user to enter the number of players (2 to 4).
- Each player takes turns rolling a dice until they choose to hold.
- If a player rolls a 1, their turn ends and the next player starts.
- If a player rolls any other number, they can choose to roll again or hold.
- The game continues until one of the players reaches or exceeds the target score of 50 points.
- The winner is the player with the highest score.
- Clone this repository to your local machine.
- Open the terminal and navigate to the repository directory.
- Run the game by executing
python pig_dice_game.py
. - Follow the prompts to enter the number of players and play the game.
Contributions are welcome. If you'd like to contribute, please fork this repository and create a pull request with your changes.
This project is licensed under the MIT License.