Added victory condition.