Complex sentence: The main object of the game was to get the most coins, gained by battling other players.
Split into simpler sentences: The main object of this game was to get the most coins. You could get these coins by battling other players.