DEV Community

Sam Ellis
Sam Ellis

Posted on

When a city scavenger hunt has no photo for the street you are standing on

Most photo scavenger hunt apps quietly assume something that is never true: that every street in the city has a photograph attached to it.

I have spent a while thinking about this problem, because it is the difference between a hunt that works on the street and a hunt that fails at the first corner. I work on Ping Hunt, a photo scavenger hunt app, so treat this as a biased source - but the design reasoning generalises to any app that asks people to walk around and match what they see.

The failure mode is a dead end, not a wrong answer

The naive design is: the app has a target photo, you point your camera at the world, the app matches, and you move on.

That design breaks in two directions.

One, the app matches the wrong thing. A red door in a photo of a house in Copenhagen is a red door, and so is the red door of a kebab shop two streets away. The match says "yes" and you have learned nothing.

Two - and this is the one that kills sessions - the app cannot match anything at all, because the target photo is of a building that no longer exists, or because coverage of that part of the city is thin, or because the photo was taken in 2016 on a sunny day and the storefront has been repainted since.

A wrong answer is recoverable. A dead end is not. The user has walked four hundred metres, has nothing to show for it, and closes the app.

Design the fallback ladder before you design the hunt

The fix I keep coming back to is a ladder of progressively weaker but still meaningful matches, tried in order:

  1. Exact visual match. The camera frame really does look like the reference photo.
  2. Same object, different view. Angle, distance or lighting differ, but it is the same doorway, the same fountain, the same shopfront.
  3. Same object class. Any blue door, any yellow facade, any cafe sign in a narrow street. Weaker, but still a real instruction that makes the user look at the world rather than at the phone.
  4. Direction and neighbourhood. "You are in the right area - it is the second shop on the left side of the street." Useful even if the exact object is unidentifiable.
  5. Admit the gap. Say plainly: "We do not have reliable coverage here yet."

Step five is the one teams skip, and it is the one that saves the session. A hunt that ends with an honest "we do not know this one yet" leaves the player with a reason to come back tomorrow. A hunt that silently fails leaves them with the impression that the app is broken.

Widen the radius instead of failing the round

A second lever is geography. When the match cannot be made at the original waypoint, widen the radius and look for a similar photo elsewhere nearby. This works well for object-class targets and poorly for unique buildings, but for a scavenger hunt built around streets and facades it is often enough to keep the game moving for another few hundred metres.

The order matters: widen a little first, widen a lot second, lower the difficulty third, and only then tell the player the truth. Every step down is a smaller disappointment than the step after it.

Make the hint degrade, not fail

Hints are usually written as a single string of specificity: "look for the red door with the white frame". But specificity has to be consumed in pieces.

  • First hint: colour and material ("something red and painted").
  • Second hint: shape and position ("a door, and it is set into a wall rather than a shopfront").
  • Third hint: the neighbourhood ("two streets north of the canal, on the same side as the bakery").

Each hint adds one fact and no more. If a player has used all three and still has nothing, that is a data problem, not a hint problem.

Design for the weather you will actually get

Every reference photo was taken by somebody on a good day. Your player is on an average day.

So the coverage check has to be pessimistic: assume low winter light, assume rain on the lens, assume the player is wearing gloves and cannot tap precisely. If a waypoint only matches in perfect daylight, it is a waypoint that will fail in November. If a waypoint depends on a small detail being legible, it needs a fallback that does not depend on that detail.

The same logic applies to time of day. A photo of a facade at noon says almost nothing about what it looks like at eight in the evening, and most hunts are played in the evening.

Test the hunt by walking it

The cheapest test for any of this is to walk your own hunt, on your own phone, in the same conditions your players will have - dark, wet, one hand. Every step where you have to zoom in, guess a scale, or wait for a match is a step where a player will give up.

Two questions settle most design arguments:

  • If the match fails here, what does the player do next?
  • If the player does that, does the game still make sense?

If the second answer is no, the hunt is not ready, no matter how good the photographs are.

The honest version is the better product

There is a temptation in this category to pretend coverage is complete, because a promise of "hunts everywhere in your city" is easier to say than "hunts where we have verified the imagery". Pretending costs you the moment a player walks into a gap.

The version I would defend is narrower and plainer: here is where it works, here is where it does not yet, here is what you get, and here is what it costs. People read that and try it. People read a promise that turns out to be false and uninstall it.

If you want to see how one team put that into practice - including where the imagery coverage is honest about its limits - the documentation is here: Ping Hunt docs. There are worked examples for Copenhagen, Berlin and London.

Top comments (0)