He wins the competition by tricking his opponent onto his magical ship, and by commanding the ship to take him to the end of the world.
He succeeds in the contest by misleading his opponent onto a magical vessel and guiding it to the end of the earth.