Live data from Hacker News

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

backofyourhand.com

91–100 of 262 posts

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

#91

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'm only getting a blank background on Firefox, both Android and desktop. Edge too, is the service just down?

OK it should be more back now. I migrated from Cloudflare functions to a Cloudflare worker. Make sure to clear your cache / hard reload though

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

#92

Earlier quoted context omitted.

Yes but it should be back now? My hosting provider (Cloudflare Pages) seem to have a limit on "functions" I cannot increase. I've worked around it for now but it might open at Cork for everyone. If so, you can zoom out and tap the map to select somewhere else.

Still no map for me.

OK it should be more back now. I migrated from Cloudflare functions to a Cloudflare worker. Make sure to clear your cache / hard reload though

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

#93
post #7

The streets in my town were not completely highlighted and counted off points. I assume that is an issue with how the shape is interpreted because the street name changes in a turn that isnt a clear intersection.

If you could give me an example, I'll look into it. I ran into issues like this with a strange streets (described here https://adamlynch.com/back-of-your-hand/#the-lioscarrig-driv... ), so I consider any two streets with the same name in the OpenStreetMap data to be the same street. I.e. if you put a marker down near any of them, you get points. However, if the section of road has a different name, then it's differen…

I think the OSM data is bad. Lots of street highlights dont match the correct names.

Thanks for the response.

I can look at what you are using from overpass later and see what is up with their data.

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

#94

Earlier quoted context omitted.

Yeah, this is killing me. NORTH WOODWARD AVE turns into WOODWARD AVE turns into NORTH WOODWARD AVE turns into SOUTH WOODWARD AVE turns into WOODWARD AVE turns into NORTH WOODWARD AVE completely at random, and none of them count as each other. And sometimes multiple parts of the same road show up in the same quiz. I know this is fundamentally an OSM data problem, but it's also your UX problem now. (N 42.5, W 83.17 if…

> quizzing me on park trails I got one of those too, but I liked it. Nice to explore the major bike/pedestrian paths. I guess it could be an option.

Yeah, I figured out it was a park trail, clicked in the middle of the only park in the area with substantial trails, and actually scored very well on it. But the zoo exhibit...

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

#96

Earlier quoted context omitted.

Yes but it should be back now? My hosting provider (Cloudflare Pages) seem to have a limit on "functions" I cannot increase. I've worked around it for now but it might open at Cork for everyone. If so, you can zoom out and tap the map to select somewhere else.

I put my town's coordinates in manually and it's still blank, and I don't see anything zooming all the way out. What do you mean by functions? I would just request location with javascript and use Google geolocation as a fallback.

OK I'm done with fighting fires for now and can answer that last question. Cloudflare offer "functions" and "workers", they're like functions that run on the edge CDN nodes.

These functions receive geolocation information via a function argument. So I've a function that intercepts requests to the app, grabs the geolocation information, and rewrites the URL (inserting the coordinates e.g. /lat,lng).

I go into more detail about this in the blog post but originally it just opened in Cork for everyone. I disliked the idea of having an annoying browser prompt for location permissions. I made it for my dad so having no geolocation was fine to begin with and I eventually added the geolocation I described above. Less friction, no extra client-side requests.

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

#97
post #54

Earlier quoted context omitted.

The circle is a bit large as in larger than a single neighborhood for my city. I feel like the game is useful when it asks you how well you know a single neighborhood. It’s less interesting when it asks you how well you know 2.5 neighborhoods.

Thanks for the feedback. I'm considering adding difficulty modes or a way to change the radius. I'd rather that people wouldn't get a perfect score too easily though

I want to chime in as well to say I felt the circle was too large, I know districts in cities vary in size a lot but, but the game covered ~6 with mine in the middle. Checking the village I grew up in also covered the edges of three towns around it and a neighboring village.

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

#98
post #54

Earlier quoted context omitted.

The circle is a bit large as in larger than a single neighborhood for my city. I feel like the game is useful when it asks you how well you know a single neighborhood. It’s less interesting when it asks you how well you know 2.5 neighborhoods.

Thanks for the feedback. I'm considering adding difficulty modes or a way to change the radius. I'd rather that people wouldn't get a perfect score too easily though

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?

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

#99

Earlier quoted context omitted.

Thanks for the feedback. I'm considering adding difficulty modes or a way to change the radius. I'd rather that people wouldn't get a perfect score too easily though

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

Can you give me the coordinates you played in? I will review the "objects".

I can do something with the pin too. Probably not possible to snap though, no.

Thanks!

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

#100

Earlier quoted context omitted.

> quizzing me on park trails I got one of those too, but I liked it. Nice to explore the major bike/pedestrian paths. I guess it could be an option.

Yeah, I figured out it was a park trail, clicked in the middle of the only park in the area with substantial trails, and actually scored very well on it. But the zoo exhibit...

I will be reviewing that definitely. Thank you
Post reply on HN