I did where I live now, and only got 100/500 (perfect score on the major road, no idea where the rest were). I did my childhood home and got 99/500.
My suggestion would be to stick to majors and semi-majors (longer through streets). It would be more fun that way. 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.
> I'm thinking about what to do around street length & difficulty
Here's one idea if it might help you get started (though you can polish it): - Mark all "dead ends". - Mark all private streets. - Recursively (or perhaps I should say iteratively, depending on your POV) mark all roads as X that only lead to previously-marked roads. - Non-recursively, unmark each marked road that is both adjacent to an unmarked road AND that satisfies some reasonable heuristic (such as "being within 2 intersections of the center of your circle"). - Also unmark all freeways/highways/expressways/other reasonably-major roads (although few if any of them should be marked at this point) - Delete all marked roads from your list of candidates. This should ensure that every candidate road actually has a non-negligible chance of being at least seen by random drivers, and not just by residents who are forced to drive on it on the way home. You can obviously augment
OK thanks but I do need to compute all of this. Plus some roads are broken into a lot of segments so I have to do more work first in finding & joining them up. Hopefully I could do all of it but just saying, it might be too much.
Hey, It's a really fun app. Congratulations on the launch!
Some small feedbacks:
- The radius should be adjustable
- Compete with friends (Can make it viral)
- Don't know how it calculates the point. Sometimes I choose the place very far from the target but I've gotten a higher score than the time I chose the near one.
>The radius should be adjustable Yes I will be working on an adjustable radius (I made it 20% smaller yesterday btw) and difficulty modes. >Compete with friends (Can make it viral) You can compete with friends. Click "Learn more" to figure out how to do that. I will also be looking into a "share score" functionality as well as leaderboards maybe. >Don't know how it calculates the point I'm aware of an issue in how the distance is measured and will fix it. Sometimes there can also be a discrepancy between the data and the rendered map. Thanks for the feedback!
> The map tiles are loaded in from two OpenStreetMap tile providers (one with street names, one without). You probably don't need to do that. You can use the same tiles, the same stylesheet even, and just hide the street names layer in code: https://docs.mapbox.com/mapbox-gl-js/example/toggle-layers/
I'll look into this. Since I wrote that initially, the no-streets OSM map was discontinued so I switched to Mapbox & Maptiler. But I do use two full layers (one custom one without street names) rather than doing what you suggest. Hopefully it's not a paid feature.
Minor feedback: the game amusingly asked me for the street I live on first, so I tapped it, but it said I was 9m away. When I zoomed in very close, I saw it was calculating a diagonal from the pin to the nearest intersection rather than a perpendicular line to the street.
Might be worth accounting for the zoom level for taps / adjusting the distance. I did this on iOS.
Comments (257) 78 threads
Earlier commentsMy suggestion would be to stick to majors and semi-majors (longer through streets). It would be more fun that way.
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.
Here's one idea if it might help you get started (though you can polish it):
- Mark all "dead ends".
- Mark all private streets.
- Recursively (or perhaps I should say iteratively, depending on your POV) mark all roads as X that only lead to previously-marked roads.
- Non-recursively, unmark each marked road that is both adjacent to an unmarked road AND that satisfies some reasonable heuristic (such as "being within 2 intersections of the center of your circle").
- Also unmark all freeways/highways/expressways/other reasonably-major roads (although few if any of them should be marked at this point)
- Delete all marked roads from your list of candidates.
This should ensure that every candidate road actually has a non-negligible chance of being at least seen by random drivers, and not just by residents who are forced to drive on it on the way home.
You can obviously augment
>The radius should be adjustable
Yes I will be working on an adjustable radius (I made it 20% smaller yesterday btw) and difficulty modes.
>Compete with friends (Can make it viral)
You can compete with friends. Click "Learn more" to figure out how to do that. I will also be looking into a "share score" functionality as well as leaderboards maybe.
>Don't know how it calculates the point
I'm aware of an issue in how the distance is measured and will fix it. Sometimes there can also be a discrepancy between the data and the rendered map.
Thanks for the feedback!
> The map tiles are loaded in from two OpenStreetMap tile providers (one with street names, one without).
You probably don't need to do that. You can use the same tiles, the same stylesheet even, and just hide the street names layer in code:
https://docs.mapbox.com/mapbox-gl-js/example/toggle-layers/
Might be worth accounting for the zoom level for taps / adjusting the distance. I did this on iOS.
All comments shown.
Couldn't load more comments. Check your connection and try again.