Rating points? It depends on too many factors:
1) The result of the game; win, lose or draw.
2) The difference in rating between the two players.
3) The RD of each player. High RD means more points gained or lost.
https://en.wikipedia.org/wiki/Glicko_rating_system
how do you calculate how many points you earn or lose?