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 :)
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 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.
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.
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?
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)
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?
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.
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.
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?
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.
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!
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.
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
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.
> 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.
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.
Comments (257) 78 threads
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 :)
Continue this thread — 6 replies
Continue this thread — 1 reply
Continue this thread — 4 replies
Continue this thread — 1 reply
Perhaps the ability to choose the sample area could be based on the zoom level and hidden under a settings cog?
Cool concept though. This would be a nice game at many geographic magnitudes.
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.
Edge too, is the service just down?
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.
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
Sometimes I get stumped and I also want a picture to explain it
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!
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
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
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.
Basically yes, the Blue Book works on turns so you would mark the turns.
> between them at a given time of daySo for the example I gave above (Australian High Commission - Paddington) you might mark the turns:
Yes, I guess it could give you extra points for choosing less busy routes during rush hour.
All comments shown.
Couldn't load more comments. Check your connection and try again.