Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pygame, math
- pygame.init()
- clock = pygame.time.Clock()
- WIDTH = 600
- HEIGHT = 600
- screen = pygame.display.set_mode((WIDTH, HEIGHT))
- while True:
- screen.fill((255,255,255))
- pygame.display.update()
- clock.tick(30)
- for event in pygame.event.get():
- if event.type == pygame.QUIT:
- pygame.quit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement