blob: 4fd144a27343b1d1b8baeebcbcec852ef1d352ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import pygame
pygame.init()
screen = pygame.display.set_mode((500, 1000))
while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
break
pygame.display.flip()
|