What is a more or less subtle playing upon the meaning of words called?

wordplay — A more or less subtle playing upon the meaning of words. (Webster's 1913.)

Sources