Added victory condition and point counting