You get three points for each game you win, one point for a draw, and no points for a game you lose. The points earned in online mode are counted towards the leaderboard. In the statistics you have an overview of all the games you have already played in online and offline mode.