Commit d3afc4ec by BellCodeEditor

save project

parent cca1f81f
Showing with 2 additions and 2 deletions
import pygame import pygame
...@@ -96,7 +96,7 @@ while True: ...@@ -96,7 +96,7 @@ while True:
time += 1 time += 1
if time >=60: if time >=60:
r = random.randint(0,100) r = random.randint(0,100)
if r>=60 : #if r>=99 :
obstacle = Block(bush,cacti,stone) obstacle = Block(bush,cacti,stone)
block_list.add(obstacle) block_list.add(obstacle)
time = 0 time = 0
......
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