diff --git a/my_Tetris.py b/my_Tetris.py index ede22df..ec1c80a 100644 --- a/my_Tetris.py +++ b/my_Tetris.py @@ -145,12 +145,13 @@ while True: center[0] = center[0] - 1 if states == False: - states = True - center = [2, 8] - shape = random.choice(shape_list) - index = random.randint(0, len(shape)-1) - current_shape = shape[index] - color = random.choice(cube_colors) + if states == False: + states = True + center = [2, 8] + shape = random.choice(shape_list) + index = random.randint(0, len(shape)-1) + current_shape = shape[index] + color = random.choice(cube_colors) count += 1