Commit 670437b3 by BellCodeEditor

save project

parent bbf3d930
Showing with 8 additions and 2 deletions
......@@ -113,7 +113,6 @@ while True:
index = old_index
current_shape = shape[index]
if states == False:
states = True
center = [2, 8] # 第2行第8列
......@@ -121,7 +120,7 @@ while True:
index = random.randint(0, len(shape)-1) # 随机形状索引
current_shape = shape[index]
color = random.choice(cube_colors) # 随机选取一种颜色
count += 1
count += time
if count % FPS == 0: # 降落速度的算式
center[0] = center[0] + 1
if check(center) == False:
......
x = [1,2,3,4,5]
y = [6,7,8,9,0]
a = zip(x,y)
for i in a:
print(i)
\ 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