Commit 04b10ec9 by BellCodeEditor

save project

parent b73abfe3
Showing with 9 additions and 0 deletions
......@@ -3,3 +3,11 @@ import pygame
# 初始化pygame,为使用pygame做准备
pygame.init()
# 创建一个窗口
screen=pygame.dispiay.set_mode((800,600))
While True:
for event inpygame.event get()
if event.type=locals.QULT
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