Commit 40123527 by BellCodeEditor

save project

parent 5117903a
Showing with 2 additions and 1 deletions
...@@ -49,7 +49,8 @@ center = [2, 8] # 第2行第8列 ...@@ -49,7 +49,8 @@ center = [2, 8] # 第2行第8列
#随机取出一个形状里的随机一个方向 #随机取出一个形状里的随机一个方向
shape = random.choice(shape_list) shape = random.choice(shape_list)
current_shape = random.choice(shape) index = random.randint(0,len(shape)-1)
current_shape = shape[index]
#随机颜色 #随机颜色
color =random.choice(cube_colors) color =random.choice(cube_colors)
......
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