Commit 5145f5f4 by BellCodeEditor

save project

parent cb061651
Showing with 3 additions and 5 deletions
import pygame
form pygame import locale
# 初始化pygame,为使用pygame做准备
pygame.init()
# 创建一个窗口
screen=pygame.displany.set_most(800,600)
screen=pygame.display.set_most(800,600)
while True:
for event in pygame.event.get():
if event.type==locals.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