I’ve just started to learn how to play GO. I understand the basic rules and have been enjoying learning to play against the PC master race. However, quite a few times I get into a situation towards the end of the game where I have more territory and have gained more pieces than the PC. The PC then passes, so I pass too. It then awards itself a win, despite me having more pieces and territory. Can someone explain why this is?