Stroke Play
The Terms of the competition should specify whether a competition may end in a tie, if there will be a playoff, or if matching of scorecards will be used to determine the winner and other finishing positions.
A tie in stroke play should not be decided by match play.