Commit 7e5e8ca7 by BellCodeEditor

save project

parent d237dcda
Showing with 15 additions and 1 deletions
...@@ -4,5 +4,19 @@ import pygame ...@@ -4,5 +4,19 @@ import pygame
pygame.init() pygame.init()
# 创建一个窗口 # 创建一个窗口
screen = pygame.display.set_mode((800,600)) screen = pygame.display.set_mode((800,600))
while True:
for event in pygam.display.set_mode((660,480))
if event tipe == locals.QUIT
exit()
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