Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pygame
- pygame.init()
- window = pygame.display.set_mode((400, 400))
- screen = pygame.Surface ((400, 400))
- done = False
- while not done:
- for e in pygame.event.get():
- if e.type == pygame.QUIT: #объектно-ариентированное программирование
- done == True
- screen.fill((0,255,0))
- pygame.quit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement