Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pygame
- pygame.init()
- screen = pygame.display.set_mode((400, 300))
- done = False
- while not done:
- for event in pygame.event.get():
- if event.type == pygame.QUIT:
- done = True
- pygame.display.flip()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement