Live data from Hacker News

Show HN: A game that tests how well you know your local area

backofyourhand.com

211–220 of 262 posts

Re: Show HN: A game that tests how well you know your local area

#212
post #190

Hi HN, I made Back Of Your Hand, a map-based game where you're given random street names and you have to locate them on the map. You can play solo or compete with friends on other devices. I made it for my dad as a Christmas present. It also gave me an opportunity to learn about geocoding, etc. Tech: serverless, Leaflet, Turf, Svelte, TypeScript, Cloudflare pages. I tried to use as many open / free tools as I could.…

I was asked same street twice in 5 attempts

I will be looking into this for sure

Re: Show HN: A game that tests how well you know your local area

#213

Love it! As many pointed out, playability is quite dependent on where you live. Perhaps you could also use landmarks rather than streets, but I'm guessing OpenStreetMap POI data is not as robust as Google Maps... And Google Maps Places API is expensive :)

Yeah I'll need to look into it and check a few areas

Re: Show HN: A game that tests how well you know your local area

#214

I think this game would benefit greatly if I could just input my ZIP code and the map would move over to that starting point?

I see the benefit but:

1. I was trying to keep the UI very minimal.

2. ZIP codes are not universal / consistent.

3. I imagine any API I'd have to use for this would cost me.

I'm not against it though but it needs some thought.

Re: Show HN: A game that tests how well you know your local area

#216
post #194

Very nice. I actually wanted to concoct something like this for Anki, with large streets of the city—since in this sprawl I sometimes only vaguely know what's on the other end of it. But didn't think that web maps could serve me for that. Some minor nitpicks: - If you could allow zooming in/out with double-tap-and-drag on phones, that would be cool. Specifically it would help with one-handed use. - On a ‘square’, the…

Thanks for taking the time to write all that. Very helpful

Re: Show HN: A game that tests how well you know your local area

#217

Great game. You may have a viral hit on your hands. A few comments: I tried it first in Yokohama, Japan, where I have lived for more than twenty years. It worked well. Although most streets here don’t have names, the game called up the names of bridges, highways, and even a moving walkway, which was fun. I then tried Osaka, which I have visited many times, and it worked well there, too. In both cases, the names appea…

Thank you.

> even a moving walkway

You've got to love Japan :D

>the OpenStreetMap data for some locations is multilingual, you might want to give users the option of choosing the display language for the choices.

This is something I planned to. I actually do it for Ireland. I show the Irish and English version of the name. And the sign is in the style of real Irish street signs. I just need to do this for more countries.

> Also, you might offer a wider range of landmarks for people to choose from. In Japan, the names of districts, buildings, parks, railways stations, bus stops, rivers, and mountains would be nice to include.

I'm going to look into expanding the objects but it's tough to keep everyone happy. It can be area-dependent.

>that highlighting did not appear and the dotted line just went off to the left side of the screen

Wow, not sure what's happened here. Will fix.

Re: Show HN: A game that tests how well you know your local area

#218

Earlier quoted context omitted.

Thanks for the feedback. I'll definitely fix the pin accuracy and I'm thinking about what to do around street length & difficulty

> 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 AN…

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.

Re: Show HN: A game that tests how well you know your local area

#219
post #185

Dropping a pin directly on the correct street gives a distance of dozens of meters -- what? The street isn't that wide.

If you could share more info I can look into it. It might be a discrepancy between the OpenStreetMap data and the map I show. Hard to say.

Re: Show HN: A game that tests how well you know your local area

#220
post #178
post #171

I love this! One question, though: how are you calculating distance from a street? Here, I thought I was pretty spot on for a street, but it still said I was 56m away. Screenshot: https://imgur.com/a/L4usV6W

On my map it seemed like the road consisted of a few points, rather than the points plus lines between them (or however it's described). Selecting intersections (maybe bends?) lowered the distance.

Yes this is something I need to fix. I think you're right. I think it's measuring to the nearest node on the road (in the OpenStreetMap data) and not every point on the line as we see it. It could be related to the fact that some roads are actually broken up into multiple with the same name, not sure
Post reply on HN