Commit 00a31b88 by BellCodeEditor

save project

parent 5c0ab00a
Showing with 1 additions and 1 deletions
...@@ -84,7 +84,7 @@ while True: ...@@ -84,7 +84,7 @@ while True:
screen.blit(wukong,(150, y)) # 悟空 screen.blit(wukong,(150, y)) # 悟空
time +=1 time +=1
if time >=60: if time >=60:
r=random.randint r=random.randint(0,100)
if r >40: if r >40:
obstacle=Block(bush,cacti,stone) obstacle=Block(bush,cacti,stone)
block_list.add(obstacle) block_list.add(obstacle)
......
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