Commit 0189d042 by BellCodeEditor

auto save

parent 37b09756
Showing with 4 additions and 3 deletions
import pygame import pygame
from pygame inport locals from pygame import locals
pygame.init() pygame.init()
screen=pygame.display.set_mode((660,480)) screen=pygame.display.set_mode((660,480))
with True: while True:
for event in pygame.event.get: for event in pygame.event.get():
print(event) print(event)
if event.type==locals.QUTT: if event.type==locals.QUTT:
exit() exit()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment