end match when victory condition is met