A small Python dice roller program with a simple Tkinter-based graphical interface.
DiceRoller is a lightweight desktop application for rolling dice from a small GUI.
The app lets you choose a die type, select how many dice to roll, and then generate random results.
- Simple graphical interface built with Tkinter
- Select a die type from a dropdown
- Choose the number of dice to roll
- Uses dice face image assets for display
- Lightweight and easy to run locally
The current interface includes the following die options:
- D4
- D6
- D8
- D10
- Python 3
- Tkinter
- Pillow (
PIL)
- Clone the repository:
git clone https://github.com/kai9987kai/DiceRoller.git
cd DiceRoller- Install dependencies:
pip install pillowRun the main Python file:
python "dice roller NEA BY KAI PIPER.py"- Open the application.
- Choose a die type from the dropdown.
- Select how many dice you want to roll.
- Click Start to generate the result.
dice roller NEA BY KAI PIPER.py— main application filedie1.pngtodie6.png— dice face imagesLICENSE— Apache-2.0 licenseCODE_OF_CONDUCT.md— code of conductSECURITY.md— security policy
This project is licensed under the Apache-2.0 License. See the LICENSE file for details.
Created by Kai Piper.
One small improvement I would make next is to rename the main script to something shorter like `main.py` so the project is easier to run and maintain.
::contentReference[oaicite:1]{index=1}