Commit a7bfcd74 by BellCodeEditor

save project

parent c6188a1e
Showing with 7 additions and 8 deletions
import pygame screen=pygame.set_mode(660,480)
while True
# 初始化pygame,为使用pygame做准备 for event in pygame.event.get():
pygame.init() if event .type==locas.QUIT:
#接收到退出事件后退出程序
# 创建一个窗口 exit()
?? \ No newline at end of file
\ 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