python_data_scien/poc2/poc2_mini_proj_4.py
def solve_col0_tile(self, target_row):
        """
        Solve tile in column zero on specified row (> 1)
        Updates puzzle and returns a move string
        """
        empyt_str = ''
        target_row -= 1
        target_col = 1
        result_str = ''
        result_str += 'ur'
        self.update_puzzle(result_str)
        if self.is_move_over(target_row,target_col,1):
            move_str = 'r'*(self.get_width()-2)
            result_str += move_str
            self.update_puzzle(move_str)
            return result_str
        else:
            result_str += self.move_to_same_col(empyt_str,target_row,target_col,1)
            if self.is_prepered_pos(target_row,target_col,1):
                result_str += self.finish_last_step(target_row,target_col,1)
                return result_str
            else:
                result_str += self.move_to_same_row(empyt_str,target_row,target_col,1)
                result_str += self.finish_last_step(target_row,target_col,1)
                return result_str

        Solve tile in column zero on specified row (> 1)
        Updates puzzle and returns a move string
        
Solve tile in column zero on specified row (> 1)
Updates puzzle and returns a move string
Solve tile in column zero on specified row ( > 1 ) Updates puzzle and returns a move string
def solve_col0_tile(self, target_row):
        empyt_str = ''
        target_row -= 1
        target_col = 1
        result_str = ''
        result_str += 'ur'
        self.update_puzzle(result_str)
        if self.is_move_over(target_row,target_col,1):
            move_str = 'r'*(self.get_width()-2)
            result_str += move_str
            self.update_puzzle(move_str)
            return result_str
        else:
            result_str += self.move_to_same_col(empyt_str,target_row,target_col,1)
            if self.is_prepered_pos(target_row,target_col,1):
                result_str += self.finish_last_step(target_row,target_col,1)
                return result_str
            else:
                result_str += self.move_to_same_row(empyt_str,target_row,target_col,1)
                result_str += self.finish_last_step(target_row,target_col,1)
                return result_str
def solve_col0_tile ( self , target_row ) : empyt_str = '' target_row -= 1 target_col = 1 result_str = '' result_str += 'ur' self . update_puzzle ( result_str ) if self . is_move_over ( target_row , target_col , 1 ) : move_str = 'r' * ( self . get_width ( ) - 2 ) result_str += move_str self . update_puzzle ( move_str ) return result_str else : result_str += self . move_to_same_col ( empyt_str , target_row , target_col , 1 ) if self . is_prepered_pos ( target_row , target_col , 1 ) : result_str += self . finish_last_step ( target_row , target_col , 1 ) return result_str else : result_str += self . move_to_same_row ( empyt_str , target_row , target_col , 1 ) result_str += self . finish_last_step ( target_row , target_col , 1 ) return result_str
Solve tile in column zero on specified row (> 1)
Updates puzzle and returns a move string
Solve tile in column zero on specified row ( > 1 ) Updates puzzle and returns a move string
"""
        Solve tile in column zero on specified row (> 1)
        Updates puzzle and returns a move string
        """
self
target_row