import mine as mn class Tile: def __init__(self, position, color=None, mine=None): self.position = position self.color = color # mine is an instance of Mine class self.mine = mine