But the policy also granted girls, once seen as less of a priority than their brothers, unprecedented access to parental resources, particularly in urban areas. As these highly educated and financially independent women have come of age, many don’t want to marry as young as their parents did. Over the past five years, China’s marriage rate has dropped by almost 30 percent. In 2012, the average age of marriage for women in Shanghai was over 30 for the first time. And dating—highly discouraged for young people until they reach college—can feel inaccessible or frightening, even for 20-somethings. According to Joy Chen, the Chinese American author of Do Not Marry Before Age 30, which was a runaway hit among young women in China, the appeal of Love and Producer is the “wish fulfillment” it provides—the thrill of dating “without all the risks, potential humiliation, tragedies, and comedies.”

Still, that’s not the only reason the game draws millions of women. Married women confess to playing Love and Producer—describing it as a sort of guilty pleasure, like reading a trashy romance novel or watching reality TV—while their husbands are sleeping or out.

The most devoted fans take the game to bed with them. One special Valentine’s Day package allowed users to purchase a limited-edition voice recording of the boyfriend of their choice. In his 20-minute recording, Bai Qi, the policeman, asks, “Why are you sleeping so far from me?” Sheets swish. “You’re in a bad mood,” he murmurs. “It’s my fault. Tell me, honestly, is this why you weren’t able to fall asleep?” Long pauses pepper the conversation, presumably for the player to fill. “What kind of woman do I like?” Bai asks, giggling. “I’d say you.” He counts sheep for nearly 10 minutes. “Are you asleep, my little sheep?”

“I don’t even think it’s anything sexual,” Deng says. “I’m just attracted by the voice, and maybe like the illusion that there’s really this police guy, handsome looking, with a sexy voice, talking to me, counting to 100 sheep with me.”

This article appears in the January/February 2019 print edition with the headline “Imaginary Boyfriends.”

We want to hear what you think about this article. Submit a letter to the editor or write to letters@theatlantic.com.