created a python dice simulator with GUI using tkinter, which generate random dice value similar to when you play a dice game.
python module tkinter from tkinter import *
python in-build module import random
Your laptop with 3.6.x (onwards) installed.
NOTE: Those with Linux and MacOSX would have Python installed by default, no action required.
Windows: Download the version for your laptop via https://www.python.org/downloads/
NOTES In your preferred editor, make sure indentation is set to "4 spaces".
Make sure you have tkinter installed in python otherwise code may fail, to install tkinter in your machine > open python in your terminal then type pip install tkintertable
to install.
- Clone or download repositiory: https://github.com/arevish/dice-simulator-GUI.git
- In source folder, run
python3 'dice.py'
to start program, optionally, run with--help
argument to see other runtime options.