A simple graphical Dice Roll Simulator built using Python, Tkinter, and Pillow. This project simulates rolling a six-sided dice with a visual interface and animated dice faces.
- Graphical dice representation using Tkinter
- Dice faces generated dynamically using Pillow
- Smooth dice rolling animation
- Random dice roll from 1 to 6
- Clean and minimal user interface
- No external image files required
- Python
- Tkinter
- Pillow (PIL)
- Random module
Dice_Roll_Simulator/
βββ main.py
βββ requirements.txt
- Clone the repository
git clone https://github.com/Agent-A345/Dice_Roll_Simulator.git
- Install the required dependency
pip install -r requirements.txt
- Run the program
python main.py
-
Pillow dynamically generates dice faces with dots.
-
Tkinter displays the dice images in the GUI.
-
When the Roll Dice button is clicked:
- An animation runs showing random dice faces.
- The final random value (1β6) is displayed.
- Add rolling sound effects
- Support multiple dice
- Add game modes
- Maintain roll history
- Add 3D dice animations