Nothing too fancy, really. Each win is worth 5 points. Each draw is 3. A defeat is worth 1 point. A player's battle score over a particular period of time is simply the sum of all results. Filters, such as game and army can change the battle score on any particular view but the raw battle score is just addition.