Two can play a game means that if one person does something, the other can also retaliate in the same way.
1. Prem pointed out to Gopal that if he decided to go ahead with making wild accusations, then he, too, could play that game.
2. Ravidra was a savvy businessman mand and knew that two could play the game if his brother did anything untoward to upset his business prospects.