Commit a712507e by BellCodeEditor

save project

parent a5961000
Showing with 1 additions and 1 deletions
......@@ -46,7 +46,7 @@ cube_colors = [
(153, 0, 51), (204, 255, 102), (255, 153, 0)]
color=random.choice(cube_colors)
shape=random.choice(shape_list)
index=random.randint(0,len(shape))
index=random.randint(0,len(shape)-1)
center = [2, 8] # 第2行第8列
current_shape=shape[index]
......
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