Skip to content

Muhammad-Ali-Software-Engineer/dice-rolling-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎲 Dice Rolling Game

A Python GUI application that simulates rolling a dice. Users can roll the dice, view their roll history, check statistics, and clear history. Built using Tkinter, this app is interactive, user-friendly, and perfect for demonstrating Python GUI skills.


πŸ“Œ Features

  • Roll a single die with visual dice face (βš€β€“βš…)
  • View all previous rolls in a scrollable History window
  • View Statistics: total rolls, average, highest, and lowest values
  • Clear History button to reset saved rolls
  • Exit button to close the app
  • Clean GUI layout with buttons organized using grid()

βš™οΈ Installation & Requirements

1. Install Python 3.10+ from python.org

2. Clone the repository:

git clone https://github.com/Muhammad-Ali-Software-Engineer/dice-rolling-game.git

3. Navigate to folder

cd dice-rolling-game

4. Run the program

python main.py

πŸ–₯️ Screenshots

Main Game Window

Dice Rolled Example

History Window

Statistics Window

Exit Button


πŸ“ How to Play

  1. Launch the app by running python main.py.
  2. Click Roll Dice to roll a die.
  3. Use View History to see all previous rolls.
  4. Click View Stats to see total rolls, average, highest, and lowest values.
  5. Click Clear History to reset all saved rolls.
  6. Click Exit to close the application.

πŸ† Author

Note: This project was the part of python programming internship at Arch Technologies a remote IT Consulting comapny.


πŸ“ License

This project is licensed under the MIT License.

About

🎲 Dice Rolling Game – A Python Tkinter GUI app to roll a dice, track roll history, view stats, and clear records. Fun, interactive, and beginner-friendly!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages