class player:

    def __init__(self, name: str):
        self.score = 0
        self.alive = False
        self.name = name

    def __repr__(self):
        if not self.onTable():
            return self.name
        return self.name + '\nscore: ' + str(self.score)

    def onTable(self):
        return self.score > 1000

    def addScore(self, amount):
        if self.score > 1000 and amount > 0:
            self.score += amount
            return 1
        elif amount >= 1000:
            self.score += amount
            return 1
        return 0

20a893ac2e09e6e0bd606d80c3029ec80f064144
class player:
    <mask token>
    <mask token>
    <mask token>

    def addScore(self, amount):
        if self.score > 1000 and amount > 0:
            self.score += amount
            return 1
        elif amount >= 1000:
            self.score += amount
            return 1
        return 0

class player:
    <mask token>

    def __repr__(self):
        if not self.onTable():
            return self.name
        return self.name + '\nscore: ' + str(self.score)
    <mask token>

    def addScore(self, amount):
        if self.score > 1000 and amount > 0:
            self.score += amount
            return 1
        elif amount >= 1000:
            self.score += amount
            return 1
        return 0

class player:
    <mask token>

    def __repr__(self):
        if not self.onTable():
            return self.name
        return self.name + '\nscore: ' + str(self.score)

    def onTable(self):
        return self.score > 1000

    def addScore(self, amount):
        if self.score > 1000 and amount > 0:
            self.score += amount
            return 1
        elif amount >= 1000:
            self.score += amount
            return 1
        return 0

class player:

    def __init__(self, name: str):
        self.score = 0
        self.alive = False
        self.name = name

    def __repr__(self):
        if not self.onTable():
            return self.name
        return self.name + '\nscore: ' + str(self.score)

    def onTable(self):
        return self.score > 1000

    def addScore(self, amount):
        if self.score > 1000 and amount > 0:
            self.score += amount
            return 1
        elif amount >= 1000:
            self.score += amount
            return 1
        return 0
