
Two can play at that game
Retaliation Intent
Implies intention to do the same thing back to someone as they did to you. 
Warning Message
Used to warn someone they're not the only one capable of a certain action. 
Not Literal
The phrase is figurative; it doesn't always involve only two people or a game. 