Skip to content

Agent-A345/Dice_Roll_Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎲 Dice Roll Simulator

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.

πŸ“Œ Features

  • 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

πŸ› οΈ Technologies Used

  • Python
  • Tkinter
  • Pillow (PIL)
  • Random module

πŸ“‚ Project Structure

Dice_Roll_Simulator/
β”œβ”€β”€ main.py
β”œβ”€β”€ requirements.txt

βš™οΈ Installation

  1. Clone the repository
git clone https://github.com/Agent-A345/Dice_Roll_Simulator.git
  1. Install the required dependency
pip install -r requirements.txt
  1. Run the program
python main.py

🎯 How It Works

  1. Pillow dynamically generates dice faces with dots.

  2. Tkinter displays the dice images in the GUI.

  3. When the Roll Dice button is clicked:

    • An animation runs showing random dice faces.
    • The final random value (1–6) is displayed.

πŸ“Έ Future Improvements

  • Add rolling sound effects
  • Support multiple dice
  • Add game modes
  • Maintain roll history
  • Add 3D dice animations

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages