Stop the current game as soon as there is no line remaining or when the number of parts obtained is greater or equal to the mission specification.