I can imagine you might have a plan where each half of the pitch was divided into, say, 12 squares, with the goal as number one, then 2 and 3 being either side of the goal, 4, 5 and 6 in the next row, and so on. Thus approximately reflecting conventional shirt numbering.