Question: what is the meaning of the idiom two can play at that game?
Answer: informal. something that you say when you intend to harm someone in the same way as they harmed you: When I found out that my husband had been having an affair, I thought "two can play at that game!"