That’s a great question. For new players, ending a game is one of the most difficult to understand aspects of the game.
Note that to answer your question, the concept of of life and death matters [Life and Death at Sensei's Library].
I’ll take a recent game of yours as an example: michael-c137 vs. eliotschlang
For experienced players, it’s clear that the game was basically finished (ready for scoring) after move 28, in this position:
The reason is that experienced players can tell that those white stones at C1, C4 and H8 are dead, which means white cannot prevent that black captures them eventually (assuming black doesn’t blunder).
Also, the border of white’s land (in the lower right) is fully closed and so is the border of black’s land (the rest of the board).
Just by eyeballing it, I can tell that black’s land is bigger than white’s, so black has won the game.
When I use the “estimate score” tool in that position, it confirms my estimation that black has more than white. The computer says black is leading by 19.5 points.
[Warning, the in-game score estimator can be wrong, so you always need to check it with your own evaluation]
You and your opponent continued to put stones on the board for almost 100 more moves. You are both beginners, so it’s understandable that neither of you was aware that all those moves basically didn’t change the situation (although some of those moves were necessary to ensure.that the life & death situation stayed the same).
This can also be seen in the AI review graph:
![image](//ogs-forums.s3.dualstack.us-east-1.amazonaws.com/original/3X/3/7/37c8b195ecb70e1aa68c4186d7b6e28405371ab3.png)
From move 28 until move 109 (when both of you passed and the game ended), the evaluation graph basically stays the same: black is winning by 19.5 points.
This was the position that was scored after move 109.
Note that the score situation is still the same as it was after move 28: white has land in the lower right, black has the rest of the board, and the score difference is 19.5 points in black’s favour.