Ari7haran/Pig_Game-Python
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
ย | ย | |||
ย | ย | |||
Repository files navigation
# ๐ท Pig Dice Game - Python Version This is a simple Python implementation of the classic **Pig Dice Game**. The goal of the game is to be the first player to reach 100 points by rolling a die and deciding whether to risk it all or play it safe! ## ๐ฎ How to Play - Players take turns rolling a single die. - On each turn, a player can roll as many times as they like. - Each roll of **2โ4** adds to the player's **turn score**. - If the player rolls a **1**, their turn ends and they **lose all points** from that turn. - A player can choose to **"hold"**, which means: - Their turn ends. - Their **turn score is added** to their **total score**. - First to **50 points** wins the game. ## ๐ง Features - Console-based interface - Two-player turn-based system - Displays scores and winner ## ๐ How to Run ```bash python Pig_Game.py