Idiom
beat someone at own gamebeat (someone) at (their) own game
British, American & Australian play (someone) at (their) own game - to try to get an advantage over someone by using the same methods as them.He's always playing practical jokes on other people so just for once, I felt I'd beaten him at his own game.