How scoring works in Terraforming Mars
The game ends after the generation in which the last of the three global parameters (temperature, oxygen and oceans) is maxed out. Players then do a final round of greenery placement using their plants, and score.
Your score starts from your Terraform Rating (TR), which you have been raising all game. To that you add milestones, awards, the tiles you own on the board and the points on your cards.
Milestones and awards
Each milestone you claimed during the game is worth 5 points. Only three milestones can be claimed in total.
Up to three awards can be funded. For each funded award, the player in first place scores 5 points and the player in second place scores 2, whoever funded it. If players tie for first, they all get 5 and nobody gets second place. If players tie for second, they all get 2. In a two-player game, second place is not awarded.
Greeneries and cities
Each greenery tile you own is worth 1 point. Each city you own scores 1 point for every greenery tile next to it, including greeneries placed by other players.
Counting city adjacency is where most mistakes happen. Go city by city and count the six surrounding hexes.
Card points
Many cards show victory points in the bottom corner. Some score a fixed amount, others score per resource on the card (for example 1 point per animal), and a few are negative. Add them all together, including your corporation if it scores.
Expansions
Prelude, Colonies, Venus Next and Turmoil change how you gain TR and cards during the game, but they do not add a new end-game scoring category. Venus Next adds the Venus track, which raises your TR, along with a new milestone and award. All of these fit in the rows above.
Breaking ties
If players are tied, the one with the most megacredits (Mโฌ) left wins.