Why doesn't my scoring system calculate correctly?

Follow