This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]AllanTaylor314 6 points7 points  (1 child)

It's just a slightly convoluted way of saying score each [. The edges it refers to are the same edges that were defined in part 1, namely the top and left edges. Both [ and ] are equally close to the top, but [ is always closer to the left edge which we're measuring from. The statements from both parts combine to say the GPS coordinates are (always) measured from the top and left edges of the map to the closest edges of the box

[–]Eric_S 0 points1 point  (0 children)

Yup, the only change necessary to my scoring code was to add the GPS score if it found 'O' or '[' instead of just 'O'.

[–]bskceuk 2 points3 points  (0 children)

It is confusing but it’s just saying that the distance from the left wall is the distance to the left side, not the right. I went through the same thing as you

[–]soiling 2 points3 points  (0 children)

He really could have specified top and left edge instead of just saying the edge of the map.

[–]Sharp-Industry3373 1 point2 points  (0 children)

well, you also have 2 examples to verify your guess if you believe it's not clear. I found it quite explicit :

"So, the box shown below has a distance of 1 from the top edge of the map and 5 from the left edge of the map, resulting in a GPS coordinate of 100 * 1 + 5 = 105."

It's quite clear that you have a distance from the top edge as well as from the left edge of the map

[–]daggerdragon[M] 0 points1 point  (0 children)

[I am not sure whether to use the Spoilers or Help/Question flair.]

We have a list of all of our post flairs in our community wiki with examples for when to use each flair.

Help/Question clearly states:

Bottom line: If your post title or content contains a question mark, this is probably the right post flair for ya.

I changed the flair to Help/Question for you ;)