Play a joke on has 2 different meanings across 1 category:
Verb
subject to a playful hoax or joke
deceive somebody
"We tricked the teacher into thinking that class would be cancelled next week"