Dice Rolling Simulation Gui Project in Tkinter Python

Subscribers:
182
Published on ● Video Link: https://www.youtube.com/watch?v=wSMB0y8-zPQ



Duration: 3:48
91 views
0


Dice Rolling Simulation Gui Project in Tkinter Python

Note : Recplace (greater than) and (less than) with their sign/symbol ( Because Youtube donot allow angle brackets in description ) OR You can get this code on github by using github link

Code github Link : https://github.com/ubaidahmadceh/python_tkinter_GUI_projects/blob/main/Dice_Rolling_Simulator_GUI.py

code :

from tkinter import *
from random import randint

root = Tk()
root.geometry("400x400")
root.title("Dice Rolling GUI")

heading_label = Label(root, text="This is a Dice Rolling Simulator")
heading_label.pack()

def roll_function():
dice_number = randint(1, 6)
dice_number_label = Label(root, text=dice_number)
dice_number_label.pack()


submit_button = Button(root, text="Roll a Dice", command=roll_function)
submit_button.pack()

root.mainloop()









how to create a dice roll simulation using python,dice rolling simulator,dice rolling simulator game,making a dice rolling simulator,how to create a dice rolling simulator,dice roll game python,python dice rolling app,dice roll game,dice roller app,creating a dice roll game,dice tossing,dice roll,random number generator,python,python task,random number,programming,dice,roll the dice







Tags:
how to create a dice roll simulation using python
dice rolling simulator
dice rolling simulator game
making a dice rolling simulator
how to create a dice rolling simulator
dice roll game python
python dice rolling app
dice roll game
dice roller app
creating a dice roll game
dice tossing
dice roll
random number generator
python
python task
random number
programming
dice
roll the dice