One night in March, 2013, Rami Ismail and his business partner Jan Willem released a game for mobile phones called Ridiculous Fishing. Ismail, who was twenty-four at the time and who lives in the Netherlands, woke the following morning to find that the game had made him tens of thousands of dollars overnight. His first reaction was not elation but guilt. His mother, who has a job in local government, had already left for work. “Ever since I was a kid I’ve watched my mom wake up at six in the morning, work all day, come home, make my brother and me dinner—maybe shout at me for too much ‘computering,’ ” he said. “My first thought that day was that while I was asleep I’d made more money than she had all year. And I’d done it with a mobile-phone game about shooting fish with a machine gun.”

Ridiculous Fishing made a hundred thousand dollars in its first month on Apple’s App Store. It won the Design Award at the 2013 Apple Worldwide Developers Conference and continued to sell well, passing a million dollars in sales within six months of its release. Ismail and Willem had begun making games together while in college, and to create Ridiculous Fishing they had worked in borrowed office space and subsisted on a diet of instant ramen. “Somewhere in the back of your head you know that you worked hard, that you sacrificed your stability and you took on the risk of financial ruin for a long while,” Ismail told me. “You did things that other people were not willing or capable of. And that paid off. But, even so, it feels awful. I couldn’t get rid of the image of my mother in her car, driving to work.”

Ismail is not the only game maker who, in recent years, has struggled to adjust to unexpected financial success. Today, makers of independent games can earn a windfall far more swiftly than their counterparts in film or music. A game developer is able to work alone, on a laptop in a public library or in a one-bedroom apartment. Then, when a game is finished, online stores such as the App Store or the digital PC-game store Steam make the work available to a global audience in an instant. Seventy per cent of every sale on Steam and the App Store goes directly to the developer. The stores release the income to developers at the end of the month.

Most games, however, do not make a great deal of money. Each month, thousands of new games are made available on Steam and in the App Store, and, although Apple boasted in 2012 that it had paid out a billion dollars to app and game developers the previous year, Forbes estimates that the average game earns just four thousand dollars. Nevertheless, if your game becomes a hit, you can become a millionaire within weeks.

Stories of sudden indie-game riches are appealing. They have a fairy-tale quality, the moral of which is often, “Work hard and you will prevail” (even though this kind of overnight success is often the result of an un-replicable recipe involving privilege, education, talent, toil, and timing). In the field of video games, which many people view as childish and pointless, these stories also have a legitimizing effect: they measure the medium’s worth in dollars, when its artistic and moral worth is more questionable. Profiles of prominent indie game makers often lead with details of their financial success.

But for many of these young game-maker millionaires, who created their work out of a passion for play rather than prospecting, the wealth and attention can be jarring. In February, Dong Nguyen, the creator of Flappy Bird, a recent iOS game that had inexplicably risen to the top of the App Store charts, stopped selling his game even though it earned him an estimated fifty thousand dollars a day. “I am sorry ‘Flappy Bird’ users,” he tweeted at the time. “22 hours from now, I will take ‘Flappy Bird’ down. I cannot take this anymore.” He added that the game had “ruined” his “simple life.” (He said in an interview with Rolling Stone that the invasion of his privacy by press and paparazzi, who had camped outside his home in Vietnam, had been a major factor in his decision.)

Ismail said what happened to him was like winning the lottery, with all of the complicated emotions that come with it. He has since sought out other developers whom he perceived to be on the cusp of a similar windfall, to talk them through the emotional landscape they might find themselves in and some practical considerations. “I advise them to find one thing to buy with the money,” he said. Buying something tangible makes it more real. It’s a healthy thing to do.”

In October, 2013, Ismail travelled to Austin, Texas, to visit Davey Wreden, the twenty-four-year-old creator of a game called The Stanley Parable. Ismail had a hunch the game would be a commercial success. “I offered Davey my advice, and he went out to the store,” Ismail said. Two hours later, Wreden returned home having decided how, if his game sold well, he would spend the money. “He said that he would go to the store and buy the cheapest and most expensive salmon,” Ismail recalled. Wreden would then cook the two fish side by side and conduct a taste test to see whether the cost difference was justified.

Wreden’s game has sold six hundred thousand copies, generating an estimated 6.3 million dollars for him and the game’s artist, a British teen-ager named William Pugh. Following the success, Wreden bought a Ping-Pong table. He said that he planned to try the salmon experiment, too. Ismail’s indulgence had been to buy each of the video-game consoles he had previously been unable to afford. Markus Persson, who earned more than a hundred million dollars in 2012 from his game Minecraft, told me in 2013 that he also initially felt guilty about his newfound wealth and mostly limited his luxury to the latest computer. (He has now acclimatized somewhat, he says, and travels by private jet and hosts lavish parties for friends and fans.)

Despite Ismail’s warnings, Wreden still felt isolated and confused after his success. In February he wrote a frank blog post about the “depression” he has felt. He described an imagined conversation with someone chastising him for complaining. “Oh, yeah, we get it, real rough life you’ve got there,” he wrote. “Sounds pretty miserable to be loved for your art. Maybe go cry about it into a pile of money?”

For game designers, the pressure to replicate a former success can be far more paralyzing than simply deciding how to spend the money. Persson recently cancelled 0x10c, the game he left Minecraft to develop, citing a “creative block.” For Wreden, a major part of the problem is the scope that the money gives him to increase the ambition of his next project—like a filmmaker who moves from recording with a camcorder to managing a full-scale Hollywood-style production. “I like limitations,” Wreden told me. “It’s intimidating to think that we have enough time and resources to do whatever we want.”