Commit b2f65b21 by BellCodeEditor

save project

parent 0329062d
Showing with 4 additions and 2 deletions
......@@ -48,8 +48,10 @@ cube_colors = [
(153, 0, 51), (204, 255, 102), (255, 153, 0)]
color = random.choice(cube_colors)
center = [2, 8] # 第2行第8列
current_shape = random.choice(random.choice(shape_list))
center = [2, 8]
shape = random.choice(shape_list)
index = random.randint(0,len(shape)-1) # 第2行第8列
current_shape = shape[index]
while True:
for event in pygame.event.get():
......
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