Skip to content

Latest commit

 

History

History
51 lines (26 loc) · 1001 Bytes

File metadata and controls

51 lines (26 loc) · 1001 Bytes

🎲 Animated Dice Rolling Simulator (Python GUI)

A visually engaging dice rolling simulator built using Python and Tkinter.
Each click of the Roll Dice button animates the dice faces before landing on a random number — simulating a real dice roll experience.


🧰 Requirements

  • Python 3.x
  • Pillow library for image handling

Install Pillow via pip:

pip install pillow


▶️ How to Run

Make sure the dice images (dice1.png to dice6.png) are in the same folder as DiceRollAnimated.py.

Run the application:
    python DiceRollAnimated.py

Click the Roll Dice 🎲 button to see the animation and result.


🧩 Features

Animated dice roll for a realistic effect

Visual GUI using Tkinter

Random number generation (1–6)

Beginner-friendly Python project

Easily extendable (add sounds, two dice, or roll history)



💡 Future Enhancements

Add rolling sound effect

Display total roll history

Two dice roll animation

More realistic dice physics simulation