blob: e91ba28e13ac2846623fb9bc57cd0f4bdbdeaeaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import pygame
from constants import *
def main():
pygame.init()
screen = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT))
while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
return
screen.fill("black")
pygame.display.flip()
if __name__ == "__main__":
main()
|