shapes:
you can however add 1 to current_piece[3]
shapes = [S, Z, I, 0, J, L, T] ... def get_shape(): return random.choice(shapes) ... current_piece = get_shape() ... # line 253 current_piece.y += 1current_piece is a simple list, you cannot add 1 to a list!
you can however add 1 to current_piece[3]
current_piece[3] += 1 # Or if y == index == 3 current_piece[y] += 1