adam-lynch / back-of-your-hand

How well do you know your area? Test your knowledge by locating streets with this game.
https://backofyourhand.com
Mozilla Public License 2.0
80 stars 9 forks source link

Too difficult to be accurate on touch device #17

Closed adam-lynch closed 2 years ago

adam-lynch commented 2 years ago

From Hacker News:

I enjoyed it! worked reasonably well for the city I tried. I did have a few nitpicks, but they are mostly datasource related as opposed to anything you can control - the several rounds i played included a pedway system, several walking trails, and a private driveway. Only change I might suggest making is the radius of the pin - getting a 99/100 for being 6m off because the pin didnt go exactly where I thought it was. Or is there any way for the pin to snap to an object?

- SECProto, https://news.ycombinator.com/item?id=30737042

Dropping a pin close enough on mobile to get 100 points was really difficult. I probably was only able to average like 12m accuracy even though the pin appeared to be in the correct place every time.I also did my area twice and around 6/10 were either numbered or major roads that are very easy to ID. It might make sense to deemphasize larger or longer roads and numbered roads for a better balance of true local knowledge.

- jwagenet, https://news.ycombinator.com/item?id=30736171

[...]Also there may be a bug, for the one road I got in the second try, I put the marker dead center of the entire road, but it said I was 4 meters off and gave me a 99, even though the green line was under the pin.

- jedberg, https://news.ycombinator.com/item?id=30736012

adam-lynch commented 2 years ago

Maybe zoom should be a factor in calculating the distance? https://news.ycombinator.com/item?id=30746141

Or I could just zoom in after they drop the pin? 🤔

adam-lynch commented 2 years ago

37 helps but I noticed that the pin just simply moves when you zoom in / out sometimes. It could be that the map tiles are incorrect or something else, not 100% sure. #37 makes it more obvious this is happening.

Edit: this is fixed; #38

adam-lynch commented 2 years ago

0555ef5d7cf1c7d146496888cb9f6cc55306f970 means you now get a 100/100 score if you get within 15 metres.


8a5d2ef908ba73f9709ce4bffecb3a571a572cff factors in the OpenStreetMap width tag when drawing the street. If it exists and is over 10 metres, then the street will be drawn that wide.

This will reduce false negative results for wide streets.

It's not perfect due to how same-named streets are combined. As a first pass I've just averaged the OSM-provided widths.


I'm going to close this issue now. It should be much better after all of these improvements.

There could still be issues like the OSM data and map could not have the street in the same position. There's probably nothing I can do in that case (open to suggestions).