# Imports
from pygame import *



# Initialize
init()
  
# Open a window
size = (700,500)
context = display.set_mode(size)
display.set_caption("My Game")
 
# Initialize variables
done = False
clock = time.Clock()
white = (255, 255, 255)

# Main program loop
while not done:
    # Process events
    for my_event in event.get():
        if my_event.type == QUIT:
            done = True

    # Clear screen    
    context.fill(white)
    
    # Flip screen 
    display.flip()
 
    # Limit frame rate
    clock.tick(60)
     
quit()