def input_to_kind(input_move):
    kind = None
    
    if cm.is_any_piece(input_move):
        if cm.is_pawn(input_move):
            kind = 'p'

        elif cm.is_bishop(input_move):
            kind = 'b'

        elif cm.is_knight(input_move):
            kind = 'n'

        elif cm.is_rook(input_move):
            kind = 'r'

        elif cm.is_king(input_move):
            kind = 'k'

        elif cm.is_queen(input_move):
            kind = 'q'

    return kind
    def print_move(self, input_move, move_to_col, move_to_line):
        out_str  = ""

        if cm.is_short_castling(input_move):
            out_str = "Short castling for %s" % self.player
        
        elif cm.is_long_castling(input_move):
            out_str = "long castling for %s" % self.player

        elif cm.is_pawn(input_move):
            out_str = "Move %s pawn" % self.player

        elif cm.is_bishop(input_move):
            out_str = "Move %s bishop" % self.player
        
        elif cm.is_knight(input_move):
            out_str = "Move %s knight" % self.player
        
        elif cm.is_rook(input_move):
            out_str = "Move %s rook" % self.player
        
        elif cm.is_king(input_move):
            out_str = "Move %s king" % self.player
        
        elif cm.is_queen(input_move):
            out_str = "Move %s queen" % self.player
        else:
            out_str = "not supported move. Merry Xmas"

        if not cm.is_castling(input_move):
            if input_parser.piece_eats(input_move):
                out_str = out_str + " and capture piece at (%s,%s)" % (move_to_col,move_to_line)
            else: 
                out_str = out_str + " to (%s,%s)" % (move_to_col, move_to_line)

        print("Your move is : " + input_move + '. ' + out_str)