Commit 16cd482c by BellCodeEditor

save project

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