diff --git a/Scripts/Miscellaneous/Tic_Tac_Toe_Game/main.py b/Scripts/Miscellaneous/Tic_Tac_Toe_Game/main.py index 1d30de11d..4fc9964a3 100644 --- a/Scripts/Miscellaneous/Tic_Tac_Toe_Game/main.py +++ b/Scripts/Miscellaneous/Tic_Tac_Toe_Game/main.py @@ -69,10 +69,10 @@ def winner(): # Game Board -restart = Button(tk, text = "RESTART", font = "Arial", bg = "white", fg = "black", height = 3, width = 8, command = lambda: playagain()) +restart = Button(tk, text = "RESTART", font = "Arial", bg = "white", fg = "black", height = 3, width = 8, command = playagain) restart.grid(row = 2, column = 0) -quit = Button(tk, text = "EXIT", font = "Arial", bg = "white", fg = "black", height = 3, width = 8, command = lambda: tk.destroy()) +quit = Button(tk, text = "EXIT", font = "Arial", bg = "white", fg = "black", height = 3, width = 8, command = tk.destroy) quit.grid(row = 2, column = 2) button1 = Button(tk, text = "", font = "Arial", bg = "Black", fg = "white", height = 4, width=8, command=lambda: button(button1))