def METHOD_NAME(self):
    """ Set up the game and initialize the variables. """
    # Sprite lists
    self.ball_list = arcade.SpriteList()
    self.lines = arcade.shape_list.ShapeElementList()
    def create_ball(ball_y, ease_function):
        ball = EasingCircle(BALL_RADIUS, Color.from_hex_string(BALL_COLOR))
        ball.position = X_START, ball_y
        p1 = ball.position
        p2 = (X_END, ball_y)
        ex, ey = easing.ease_position(p1, p2, time=TIME, ease_function=ease_function)
        ball.ease_function = ease_function
        ball.easing_x_data = ex
        ball.easing_y_data = ey
        return ball
    def create_line(line_y):
        line = arcade.shape_list.create_line(
            X_START, line_y - BALL_RADIUS - LINE_WIDTH,
            X_END, line_y - BALL_RADIUS,
            line_color, line_width=LINE_WIDTH,
        )
        return line
    def create_text(text_string):
        text = arcade.Text(text_string, X_START, y - BALL_RADIUS, color=text_color, font_size=14)
        return text
    def add_item(item_y, ease_function, text):
        ball = create_ball(item_y, ease_function)
        self.ball_list.append(ball)
        text = create_text(text)
        self.text_list.append(text)
        line = create_line(item_y)
        self.lines.append(line)
    text_color = Color.from_hex_string(TEXT_COLOR)
    line_color = Color.from_hex_string(LINE_COLOR)
    y = Y_INTERVAL
    add_item(y, easing.linear, "Linear")
    y += Y_INTERVAL
    add_item(y, easing.ease_out, "Ease out")
    y += Y_INTERVAL
    add_item(y, easing.ease_in, "Ease in")
    y += Y_INTERVAL
    add_item(y, easing.smoothstep, "Smoothstep")
    y += Y_INTERVAL
    add_item(y, easing.ease_in_out, "Ease in/out")
    y += Y_INTERVAL
    add_item(y, easing.ease_out_elastic, "Ease out elastic")
    y += Y_INTERVAL
    add_item(y, easing.ease_in_back, "Ease in back")
    y += Y_INTERVAL
    add_item(y, easing.ease_out_back, "Ease out back")
    y += Y_INTERVAL
    add_item(y, easing.ease_in_sin, "Ease in sin")
    y += Y_INTERVAL
    add_item(y, easing.ease_out_sin, "Ease out sin")
    y += Y_INTERVAL
    add_item(y, easing.ease_in_out_sin, "Ease in out sin")