For each game won you get three points, for a draw one point and for a game lost zero points. The points earned in online mode are counted for the leaderboard. 

In offline mode, the games are only counted as won or lost in the statistics.

In the statistics you have an overview of your already played online and offline games. The percentages give information about your win and loss rate.

Note: With the update to version 3.5.36 and the new online mode, no changes were made to the scoring.