Wordplay is defined as a pun or a clever twist on words.
(noun)An example of wordplay is the famous pun, "A will is a dead giveaway."
See wordplay in Webster's New World College Dictionary
noun
See wordplay in American Heritage Dictionary 4
noun
Learn more about wordplay