mirror of
https://github.com/bendtherules/pytry.git
synced 2026-08-18 22:03:03 +00:00
13 lines
275 B
Python
13 lines
275 B
Python
import pygame
|
|
from pygame.locals import *
|
|
|
|
pygame.init()
|
|
pygame.display.set_mode((200,200))
|
|
pygame.display.set_caption("wat?")
|
|
a=pygame.image.load("a.png");
|
|
while True:
|
|
# event check
|
|
for event in pygame.event.get():
|
|
if event.type == QUIT:
|
|
exit();
|