This is a simple and interactive dice game built with Python. Players take turns rolling a dice, with scores calculated based on their rolls. The first player to reach 100 points wins the game. The game also features special rules for rolling a 6, making it more exciting!
- User vs. Computer: Play against the computer to see who reaches 100 points first.
- Random Dice Rolls: Dice rolls are randomly generated for both players using NumPy.
- Dynamic Scoring: Scores update in real-time based on the rolls.
- Special Rule: Rolling a 6 gives the player a bonus, while deducting points from the opponent.
- Winning Condition: The game ends when either the user or the computer reaches 100 points.
- Run the game in your Python environment.
- Press
Enter
to roll the dice. - Watch your roll and the computer's roll.
- Keep rolling to accumulate points and try to reach 100 before the computer.
- Type
end
to quit the game at any time.