class Border: color = "cyan" def __init__(self, x, y, char): self.position = (x, y) self.character = char def play_turn(self, game): pass def create_borders(): agents = [] left = 1 right = 21 top = 1 bottom = 19 width = 19 height = 10 # outer border for x in range(left, left + width): agents.append(Border(x, top, "═")) agents.append(Border(x, top + height, "═")) for y in range(top, top + height + 1): agents.append(Border(left, y, "║")) agents.append(Border(left + width, y, "║")) # vertical box separators for y in range(top + 1, top + height): agents.append(Border(left + 6, y, "║")) agents.append(Border(left + 12, y, "║")) # horizontal box separators for x in range(left + 1, left + width): agents.append(Border(x, top + 3, "═")) agents.append(Border(x, top + 6, "═")) return agents