Commit ae719474 by BellCodeEditor

save project

parent cb4c8428
Showing with 2 additions and 0 deletions
...@@ -5,6 +5,8 @@ from pygame import locals ...@@ -5,6 +5,8 @@ from pygame import locals
pygame.init() pygame.init()
# 创建一个窗口 # 创建一个窗口
import random
from random import randint
screen=pygame.display.set_mode((800,600)) screen=pygame.display.set_mode((800,600))
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
......
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