When fighting against other players, you will gain or lose PvP Score depending on the outcome of the battle. You can also lose or gain PvP Score when you're attacked and successfully defend your base. The exact amount of PvP Score you can gain or lose is calculated based on how likely you are to win the match based on both your and your enemy's PvP points. Winning against the odds will give you more points than winning an easy battle.