Soy nuevo en python y necesito saber por que el programa no da fallos pero la ventana asignada a este (gamewindow) no aparece. Y el problema no es el mainloop porque aun que este esté presente la ventana no aparece.
import tkinter as tk
import pygame
#To "print" the command is (something).pack
#Declaration of Variables
PointsUp = 0
PointsDown = 0
ButtonStartPressed = False
ButtonOptionsPressed = False
#Dcelaration of Window and his parameters
gamewindow = tk.Tk()
gamewindow.title("Pong")
gamewindow.geometry('1200x800')#(X * Y)
gamewindow.configure(background='Black')
gamewindow.resizable(width=False,height=False)
#Text declarations
PointsUpText=tk.Label(gamewindow,text="POINTS ="+str(PointsUp)+" "*378,bg='black',fg='white')
PointsDownText=tk.Label(gamewindow,text="POINTS = "+str(PointsDown)+" "*378,bg='black',fg='white')
#Button declarations
ButtonStart=tk.Button(gamewindow,text="Start",padx=50,pady=30)
ButtonOptions=tk.Button(gamewindow,text="Options",padx=50,pady=30)
#In-Game main loop
while not ButtonStartPressed and not ButtonOptionsPressed:
ButtonStart.pack()
ButtonOptions.pack()
gamewindow.mainloop()