from turtle import Turtle

ALIGNMENT = "center"
FONT = ("Turtle Racer", 24, "normal")
COORDINATES = (-220, 250)


class Scoreboard(Turtle):

    def __init__(self):
        super().__init__()
        self.penup()
        self.hideturtle()
        self.level = 1

    def create_scoreboard(self):
        self.goto(COORDINATES)
        self.write(f"Level: {self.level}", align=ALIGNMENT, font=FONT)

    def game_over(self):
        self.home()
        self.write("GAME OVER!", align=ALIGNMENT, font=FONT)

    def update_scoreboard(self):
        self.clear()
        self.level += 1
        self.create_scoreboard()

a99f6f78f12d74ebea8e5e375b2c2fa72d7d2a94
<mask token>


class Scoreboard(Turtle):
    <mask token>
    <mask token>
    <mask token>

    def update_scoreboard(self):
        self.clear()
        self.level += 1
        self.create_scoreboard()

<mask token>


class Scoreboard(Turtle):

    def __init__(self):
        super().__init__()
        self.penup()
        self.hideturtle()
        self.level = 1

    def create_scoreboard(self):
        self.goto(COORDINATES)
        self.write(f'Level: {self.level}', align=ALIGNMENT, font=FONT)

    def game_over(self):
        self.home()
        self.write('GAME OVER!', align=ALIGNMENT, font=FONT)

    def update_scoreboard(self):
        self.clear()
        self.level += 1
        self.create_scoreboard()

<mask token>
ALIGNMENT = 'center'
FONT = 'Turtle Racer', 24, 'normal'
COORDINATES = -220, 250


class Scoreboard(Turtle):

    def __init__(self):
        super().__init__()
        self.penup()
        self.hideturtle()
        self.level = 1

    def create_scoreboard(self):
        self.goto(COORDINATES)
        self.write(f'Level: {self.level}', align=ALIGNMENT, font=FONT)

    def game_over(self):
        self.home()
        self.write('GAME OVER!', align=ALIGNMENT, font=FONT)

    def update_scoreboard(self):
        self.clear()
        self.level += 1
        self.create_scoreboard()

from turtle import Turtle
ALIGNMENT = 'center'
FONT = 'Turtle Racer', 24, 'normal'
COORDINATES = -220, 250


class Scoreboard(Turtle):

    def __init__(self):
        super().__init__()
        self.penup()
        self.hideturtle()
        self.level = 1

    def create_scoreboard(self):
        self.goto(COORDINATES)
        self.write(f'Level: {self.level}', align=ALIGNMENT, font=FONT)

    def game_over(self):
        self.home()
        self.write('GAME OVER!', align=ALIGNMENT, font=FONT)

    def update_scoreboard(self):
        self.clear()
        self.level += 1
        self.create_scoreboard()

from turtle import Turtle

ALIGNMENT = "center"
FONT = ("Turtle Racer", 24, "normal")
COORDINATES = (-220, 250)


class Scoreboard(Turtle):

    def __init__(self):
        super().__init__()
        self.penup()
        self.hideturtle()
        self.level = 1

    def create_scoreboard(self):
        self.goto(COORDINATES)
        self.write(f"Level: {self.level}", align=ALIGNMENT, font=FONT)

    def game_over(self):
        self.home()
        self.write("GAME OVER!", align=ALIGNMENT, font=FONT)

    def update_scoreboard(self):
        self.clear()
        self.level += 1
        self.create_scoreboard()
