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
See wordplay in American Heritage Dictionary 4
Learn more about wordplay