class LinePiece7: character = '1' def __init__(self, width): self.position = (width,29) class LinePiece5: character = '2' def __init__(self, width): self.position = (width,29) class LinePiece3: character = '3' def __init__(self, width): self.position = (width,29) class LinePiece1: character = '5' def __init__(self, width): self.position = (width,29) class LinePieceX: character = 'X' def __init__(self, width): self.position = (width,29)