Lurker News

Comments (257) 78 threads

adamlynch13 replies#
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 originally used map tiles from OpenStreetMap but they were discontinued so it uses Mapbox and Maptiler now.
Questions / feedback welcome. I also wrote a blog post with more information: https://adamlynch.com/back-of-your-hand. The code: https://github.com/adam-lynch/back-of-your-hand
Warning: it’s pretty difficult, unless your streets are numbered :)

TimPC4 replies#
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.
rockostrich#
It's also kinda silly to do streets for something like Manhattan since it's a grid. But landmarks/businesses would work really well in any city.
petschge#
In my case it covers three different villages...
adamlynch6 replies#
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
TimPC6 replies#
I think it’s more important for the game to be meaningful than difficult. How well do you know a neighborhood is deeply meaningful. How well do you know 2.5 neighborhoods isn’t. I’d strongly recommend sacrificing difficulty for meaning here.

Continue this thread — 6 replies

nannal1 reply#
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.

Continue this thread — 1 reply

SECProto4 replies#
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?

Continue this thread — 4 replies

kiney1 reply#
I think it would be useful to use actual boundries of villages or neighbourhoods instead of circles. Not sure how difficult that is. (the required data is in OSM, at least in germany)

Continue this thread — 1 reply

et-al#
I think a difference with Wordle is that we're playing different neighborhoods and different streets every day, so a "cheated" perfect score would have little meaning. And I think when people share their Wordle results, it's often a "wow, I lucked out on that guess" or "phew, almost didn't get it".

Perhaps the ability to choose the sample area could be based on the zoom level and hidden under a settings cog?

adamlynch#
For now, I've reduced the circle radius by 20%. I plan to make it adjustable in the future.
bwanab#
Agreed. I live in a densely packed urban neighborhood. There’s no way I know streets that aren’t main streets more than 1/2 mile away.

Cool concept though. This would be a nice game at many geographic magnitudes.

jwagenet2 replies#
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.

adamlynch#
I will fix the pin accuracy issue for sure!
lostlogin#
Zooming right in helps, but with 100% knowledge of the answers I still got points deducted.
jimmaswell2 replies#
I'm only getting a blank background on Firefox, both Android and desktop.

Edge too, is the service just down?

adamlynch1 reply#
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.

jimmaswell3 replies#
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.

Continue this thread — 3 replies

adamlynch#
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
noisefridge1 reply#
Nice and fun. Have you considered points of interest, photos from open sources like Panoramio or Creative Commons search, links to Wikipedia articles?

Sometimes I get stumped and I also want a picture to explain it

adamlynch#
Very interesting. No I haven't, thanks
rubyfan1 reply#
how does this get my location? I use a Cloudflare WARP+ which seems to mask my IP for most sites but this one looks like it’s using a nearby cell tower?
adamlynch#
I don't know exactly but I use the geolocation information Cloudflare gives me in my edge function/worker. It's not 100% accurate or reliable. Your result can vary minutes apart or depending on which network you're on.
kuu2 replies#
First of all: it's really cool and fun! Congratulations!

As a small feedback: adjustable radius would be more fun. For example in the town were I had my childhood, this area is too big and takes other neighbourhood/cities that I don't know, but for where I live now it fits great.
Again, nice job and congratulations for making it!

adamlynch3 replies#
Thank you :)

This has come up so much. I'll be adding it, thanks!

Continue this thread — 3 replies

Continue this thread — 1 more reply

Continue this thread — 7 more replies

imadethis1 reply#
This would be actually helpful practice for first responders. FDs/EMS in my area are expected to memorize all of the streets in their region, and I imagine it’s the same for PDs too. Another layer on top of it would be to quiz you on how to get from a fixed point (the station) to a random intersection. For the US, you could also provide a random block on a street rather than an intersection.
traceroute661 reply#
Fun, but you know what would be really cool ?

A Blue Book mode.
For those unfamiliar Blue Book refers to test "runs" done by London taxi drivers when they do The Knowledge[1].
It would be fun to be given, say "Australian High Commission, WC2 to Paddington Station, W2" and have to place multiple pins on the map and then graded on your result.
[1] https://www.youtube.com/watch?v=my4lDxOCCyg

adamlynch1 reply#
So is the goal is to mark the route you would take? Sounds interesting.

Semi-related, it could show you two pins and ask you how long it would take to drive between them at a given time of day. It would compare your guess to Google Maps or similar.

traceroute661 reply#
> So is the goal is to mark the route you would take? Sounds interesting.

Basically yes, the Blue Book works on turns so you would mark the turns.
So for the example I gave above (Australian High Commission - Paddington) you might mark the turns:

      ALDWYCH
      CATHERINE ST
      RUSSELL STREET
      DRURY LANE
      HIGH HOLBORN
      PRINCES CIRCUS
      ST GILES HIGH STREET
      EARNSHAW STREET
      NEW OXFORD STREET
      OXFORD STREET
      GT PORTLAND STREET
      MARGARET STREET
      CAVENDISH SQUARE
      HENRIETTA PLACE
      MARYLEBONE LANE
      WIGMORE STREET
      DUKE STREET
      MANCHESTER SQUARE
      MANCHESTER STREET
      GEORGE STREET
      EDGWARE ROAD
      HARROW ROAD
      HARROW ROAD ROUNDABOUT
      BISHOP'S BRIDGE

> between them at a given time of day

Yes, I guess it could give you extra points for choosing less busy routes during rush hour.

adamlynch#
Thanks for explaining!
piceas1 reply#
Neat. Unfortunately appears to be limited to streets in your local area. I hoped/expected a list of interesting destinations in the area such as art installations, parks, or even popular restaurants etc.
adamlynch#
Thanks for the feedback! Will look into it

Load more comments