Commit 39419b87 by BellCodeEditor

save project

parent a18a2208
Showing with 7 additions and 7 deletions
import pygame #导入pygame模块 import pygame
from pygame import locals # from pygame import locals
pygame.init() #初始化 pygame.init()
daxiao=pygame.display.set_mode((660,440)) #大小 daxiao=pygame.display.set_mode((660,440))
while True: while True:
for event in pygame.event.get(): for event in pygame.event_get():
if event.type==locals.QUIT: if event.type==locals.QUIT:
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