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