Commit 4f3378bf by BellCodeEditor

save project

parent 67bce828
Showing with 2 additions and 1 deletions
......@@ -46,7 +46,8 @@ cube_colors = [
center = [2, 8] # 第2行第8列
current_shape1 = random.choice(shape_list)
current_shape = current_shape1[random.randint(0,len(current_shape1)-1)]
index = random.randint(0,len(current_shape1)-1)
current_shape = current_shape1[index]
color = random.choice(cube_colors)
def cheaf(center):
for cube in current_shape:
......
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