def print_out(self): """ update the coordinates """ for i in range(0, 3): for j in range(i-3, 3-i): common.set_arr(self.x_pos+j, self.y_pos-i, "B")
def print_out(self): """ update the coordinates """ for j in range(0, 2): for i in range(-1, 2): common.set_arr(self.x_pos+i, self.y_pos+j, "$")
def floor(floor_y): """ Coordinates of floor """ for i in range(1, common.COLS + 1): if common.value_arr(i, floor_y) == " ": common.set_arr(i, floor_y, "0") common.set_arr(i, floor_y + 1, "0")
def print_out(self): """ update the coordinates """ for j in range(-4, 1): for i in {-1, +1}: common.set_arr(self.x_pos+i, self.y_pos+j, "|") common.set_arr(self.x_pos, self.y_pos+j, "-")
def print_out(self): """ update the coordinates """ for i in range(-1, 3): for j in range(-1, 2): if i == 0: common.set_arr(self.x_pos + i, self.y_pos + j, "@") else: common.set_arr(self.x_pos + i, self.y_pos, "@")
def print_out(self): """ update the coordinates """ common.set_arr(self.x_pos, self.y_pos, "I") common.set_arr(self.x_pos, self.y_pos - 1, "O") common.set_arr(self.x_pos, self.y_pos - 2, "^")
def print_out(self): """ update the coordinates """ common.set_arr(self.x_pos, self.y_pos, ">") common.set_arr(self.x_pos + 1, self.y_pos, "<")
def print_out(self): """ update the coordinates """ for i in range(-2, 3): common.set_arr(self.x_pos+i, self.y_pos, "0")