Welcome to name rolling game This is name rolling game using python with GUI. You just only need to need module and paste then run. import these module tkinter , matplotlib , numpy , random # # copyright by pyprojectlab # import tkinter as tk from tkinter import simpledialog, messagebox import matplotlib.pyplot as plt import numpy as np import random from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg class NameRollingGame(tk.Tk): def __init__ ( self ): super (). __init__ () self .title( "Name Rolling Game" ) self .geometry( "800x600" ) self .names = [] self .add_name_button = tk.Button( self , text = "Add Name" , command = self .add_name) self .add_name_button.pack( side =tk.LEFT, padx = 20 ) self .spin_button = tk.Button( self , text = "Spin" , command = self .spin_wheel) self .spin_button.pack( side =tk.RIGHT, padx = 20 ) se...
Comments