IT WAS A SUNDAY AFTERNOON in SoHo and while most New Yorkers were having brunch, Makeda Peters and her boyfriend were on a street corner craning their necks at a seven-story art installation called “The Wall,” about to embark on what’s known among travelers who love puzzles and prizes as a “gamified city tour.”

For the next three hours the couple would explore the area and learn about its history by tackling trivia questions and accepting benign dares — challenges that came not from a tour guide, but from an app called Stray Boots that Ms. Peters had downloaded to her iPhone.

The first question seemed like a test to ensure that they were in the right spot: “What color is the wall painted?” Ms. Peters typed “blue” on her iPhone. Up popped the verdict: “Correct!” That earned her 10 points from the app, which then provided some history about the 1973 artwork by Forrest Myers. The couple spent the rest of the afternoon racking up points for each riddle and dare they polished off, striving to achieve a perfect score of 240. At the Hollister store they were told to snap a photo of themselves with the shirtless greeters who flank the doors like naughty cousins of the toy soldiers outside F. A. O. Schwarz. Near Greene Street they were asked how many “real” glass windows were above the first floor of the trompe l’oeil public artwork by Richard Haas.

“As we answered questions correctly, we were high-fiving in the middle of the street,” said Ms. Peters, a program coordinator in Brooklyn for a national nonprofit organization called Playworks. “You learn so many cool things.”

Stray Boots, which sells $2-to-$12 tours of more than a dozen cities including New Orleans, Philadelphia and Miami, was introduced last year, though the company began testing the concept in 2009 using only text messages. Since then, it has sold more than 85,000 tours, roughly doubling sales each year, said its chief executive, Avi Millman. (Stray Boots is also available in Britain, where it’s known as UK: The Game.)

I decided to take a tour in Times Square to see if even I, who work there, could learn a thing or two. I rolled my eyes when the app sent me to Toys “R” Us and the M&M’s World store. And I was disappointed that it didn’t explain the evolution of Father Duffy Square. I did, however, pick up a few factoids including how in the 1840s New York Police Department officers wore badges made of copper, which may have inspired the nickname “coppers” and later “cops.”

Yet the app is merely one product in a wave of new travel programs and promotions that are using game theory to win over customers, particularly those under 30 (so-called millennials). Today online tour operators like Expedia are incorporating avatars and trivia contests into the browsing and booking process. Tourism offices in Pennsylvania and Illinois are proffering exclusive Foursquare badges to those who check in at sites in their states. Museums are using portable multimedia players to make walking through their collections feel a bit like being in a multiplayer video game. And the America’s State Parks Foundation is rolling out a new app by ParksbyNature Network called the Pocket Ranger — available in 40 states by the end of the year — that enables users to earn points and win prizes by signing up for GeoChallenges, outdoor quests that require players to use the app’s GPS feature to navigate to sites like dams, trails and reservoirs.

It may sound like play, but it’s part of a broader business trend known as gamification. Gabe Zichermann, author of the new book “The Gamification Revolution” and chair of the annual Gsummit in San Francisco, describes it as the process of using the best ideas from games, loyalty and behavioral economics to engage people and solve problems (or both). It generally involves the use of motivational techniques and psychological triggers, like being alerted to a challenge or offered an opportunity for higher status, often in combination with digital candy like badges, points and leader boards. (Some of the fundamental ideas are derived from research by the social scientist BJ Fogg at Stanford University; you can learn about gaming your own behavior at Behaviorwizard.org.)

Photo

"The Wall," by Forrest Myers, part of a Stray Boots smartphone tour.Credit
Michael Nagle for The New York Times

Mr. Zichermann, himself an avid traveler, said that things elemental to travel are also elemental to gamification. Hard-core travelers like to keep score: they know how many countries they’ve visited and how many miles they’ve flown. They take pleasure in accumulating badges, like stamps on their passport (and, in bygone days, stickers on their luggage). They check off must-see landmarks like the Eiffel Tower and the Parthenon as if they are levels in a video game. Even the act of traveling from one place to another becomes a personal challenge: to do so with ever more speed and status.

On a deeper level, though, great gaming experiences speak to our inner desire for mastery, autonomy and purpose, Mr. Zichermann noted. The same can be said of travel. “Why do we travel?” he said. “It’s all about creating memories and discovering ourselves. Gamification is perfectly aligned with that.”

But a common misperception is that it’s strictly about competition, Mr. Zichermann said. Gamification can engage people simply by making travel more playful and social, like Virgin America’s new seat-to-seat delivery feature that encourages fliers to “get lucky” by sending one another cocktails and messages through the entertainment system touchscreens on seatbacks. Or KLM’s Meet & Seat program, which allows passengers to view one another’s Facebook and LinkedIn profiles before the flight and then pick a spot next to an intriguing stranger. Even acquiring travel skills has become a game with language-learning Web sites like Duolingo and MindSnacks. And photo-sharing apps like Instagram and Flickr, while not pure gamification, borrow elements of the practice, making travel feel more communal.

Thanks to the ubiquity of smartphones and big data, gamification is now prevalent in practically every industry, though some of its roots are in travel, going back to the early 1980s, when American Airlines introduced its AAdvantage frequent flier program to create brand loyalty. Despite gamification’s popularity, there are many poorly designed experiences. In fact, the technology research company Gartner is predicting that by next year 80 percent of gamification projects will fail to meet business objectives. When done right, however, gamification can garner brand loyalty while also helping travelers interact, learn, share opinions and explore the world.

To achieve the latter, companies that specialize in gamification say they are trying to design experiences that are emotional, that delight or surprise, unlike early loyalty programs, which Mr. Zichermann described as “transactional systems that are trying to get as much out of consumers as possible while giving as little as possible.”

Even airlines whose longstanding loyalty programs are transactional, are testing new kinds of perks and fresh ways to earn them. Last month American Airlines teamed up with Klout, the company that measures the digital influence of people using Twitter and other social networking sites by assigning them a score from 1 to 100. People with Klout scores of 55 or higher (the average person has a score of 40) received a day pass to one of nearly 40 American Airlines Admirals Clubs around the world.

It was not the first time an airline partnered with Klout: last year travelers in San Francisco International Airport who used the Klout iPhone app and had a score of 40 or higher were granted access to the Cathay Pacific First and Business Class Lounge. Other travel brands, like Airbnb, Legoland California and Virgin America, have also dangled perks to people whom Klout deemed high-ranking influencers.

Ken Comée, the chief executive of Badgeville, which specializes in gamification for brands like Samsung and NBC, said first-generation loyalty programs are expensive to manage and have become too complicated. “I think people have become numb to it,” he said. “That’s really the problem that exists that we’re trying to solve.”

One of the ways Badgeville says it’s doing that is with a game it created for Expedia.com called Around the World in 100 Days, which Expedia plans to introduce in the coming weeks. Designed to get travelers more engaged with the Web site and Expedia’s loyalty program, the game begins with an introductory video. Then, players are asked to choose one of eight avatars and to select the type of travel experience that most appeals to them (city slicker, adventure addict, escape artist or culture buff).

Photo

Credit
Laurent Cilluffo

The final step is registering for the game with your Expedia account information (or creating an account if you don’t have one). Tokens finance your avatar’s virtual trip to up to 20 destinations around the world. There are several ways to earn tokens including answering trivia questions (which might also get your name put on a leader board), downloading the Expedia mobile app and, of course, booking travel through Expedia.

The more cities your avatar visits, the more Expedia Rewards points you receive. A map of the world shows players where their avatar is on its journey, and an Indiana Jones-style graphic line between cities enables users to track their progress. There is also a weekly sweepstakes, where five players are randomly selected to earn 100,000 points. “A lot of people are surprised that Expedia has a loyalty program,” said Julius Lai, the senior director of loyalty marketing for Expedia.com. He said that games like Around the World in 100 Days are just the sort of thing a digital company like Expedia would use to “engage people in a very entertaining way in order to achieve what is a very standard goal of a promotion.”

Yet of all the gamification infusing the travel industry, some of the most playful experiences can be found in the hallowed halls of museums.

To appeal to younger generations, many, like the American Museum of Natural History in Manhattan, have kiosks that enable visitors to send images of themselves to friends or social networking sites like Facebook and Twitter. The Cleveland Museum of Art has a “Rembrandt Yourself” application on its Facebook page that allows visitors to put their face into one of four 17th-century Rembrandt portraits.

At the Museum of Old and New Art in Hobart, Tasmania, instead of the usual artwork wall labels, there is the O, a device loaded with information about the art on display. The O picks up your location in each gallery and shows you images of nearby works. Click on one for details like information about the art, an interview with the artist or music that references the piece. You’re invited to play the role of critic by tapping a button to indicate whether you “love” or “hate” the artwork. At the same time, the O spits out stats culled from other museumgoers, like “35 percent of women hated this” or “two out of three Americans love this.”

You can also save your tour, so that when you’re back home you can revisit your path through the museum — along with the works you loved and hated. It shouldn’t come as a surprise that there is an option to share those images on Facebook and Twitter, too.

As for Ms. Peters, she and her boyfriend liked their first gamified city tour so much that they tried another one. Also from Stray Boots, it led them through the West Village, from the “secret” garden of St. Luke’s Church to New York’s oldest continuously running Off Broadway theater, the Cherry Lane. The tour was called The Perfect Date.

And it was. “We were able to see New York landmarks that we never really knew existed,” Ms. Peters said. “It gave us the opportunity to open our eyes and see things differently.”

An article last Sunday about games and travel contained outdated information about an Expedia.com game that was to start on May 31. After the section had gone to press, Expedia said that it would not start the game that day, as planned. The company said the game would be delayed.