Ejemplo n.º 1
0
    def __init__(self, program, xmax, ymax):
        # Color options
        self.__black = 0
        self.__white = 1

        # Location
        self.location = [0, 0]

        IntCode.__init__(self, program)
        Direction.__init__(self)
        Grid.__init__(self, xmax=xmax, ymax=ymax, default=self.__black)