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.
python
random
game-development
game-logic
multiplayer-game
dice-game
pig-dice-game
dice-rolling
probability-concepts
-
Updated
Jun 6, 2024 - Python