from tkinter import *
from tkinter import font #to set button police

def roll_again():
    print("r")
    exit(True)

def next_player():
    print("n")
    exit(True)


root = Tk() #main page
police=font.Font(size=12 , weight='bold')
#root.attributes('-fullscreen',1)
root['bg']='grey'
btnNextPlayer=Button(root,bg="blue",text="Next Player",font=police,width=15,height=5,command= lambda *args:next_player())
btnNextPlayer.pack(anchor=CENTER)
#btnNextPlayer.grid_remove()
btnRollAgain=Button(root,bg="blue",text="Roll Again",font=police,width=15,height=5,command= lambda *args:roll_again())
btnRollAgain.pack(anchor=CENTER)
#btnRollAgain.grid_remove()
root.mainloop()
