Skip to content

Simple Python dice roller with customizable sides and rolls. Simulates dice for games, experiments, or fun using clean, random number logic.

aizazullahdurrani8/python-dice-roller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🎲 Dice Roller (Python)

A simple Python command-line tool that simulates rolling a die. Customize the number of sides and how many times to roll.

βœ… Features

  • Choose number of sides (default: 6)
  • Roll the die multiple times
  • Input validation for safe execution
  • Simple and clean terminal output

πŸš€ How to Run

Make sure Python is installed on your system.

python dice_roller.py

Follow the prompts:

  • Enter how many sides your die has (e.g., 6, 12, 20)
  • Enter how many times you want to roll it

πŸ’‘ Example Output

Dice Roller
Enter number of sides on the die (default 6): 12
How many times to roll? (default 1): 3
Roll 1: 7
Roll 2: 2
Roll 3: 11

About

Simple Python dice roller with customizable sides and rolls. Simulates dice for games, experiments, or fun using clean, random number logic.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages