The study, published recently in the journal Emotion, focused on people who were waiting for uncertain, potentially life-altering news, and it found that a flow-inducing game of Tetris could help them cope.
Sweeny and her collaborators gathered a group of more than 300 college students and told them their peers would be evaluating how attractive they were. "I know, it's kind of cruel, but we found it's a really effective way to get people stressed out," Sweeny says. While the participants awaited their attractiveness scores, the researchers had them play Tetris.
Some played a painfully slow, easy version of the game — which bored them. Some played an extremely challenging, fast version — which frustrated them. And everyone else played the classic version, which adapts to each player's individual skill level and gets them into that state of flow.
In the end, everyone experienced a degree of worry. But the third group reported slightly higher levels of positive emotions (on average, about a quarter of a point higher on a five-point scale) and slightly lower levels of negative emotions (half a point lower on a five-point scale).
"It wasn't a huge difference, but we think it's noticeable," Sweeny says. "And over time, it can add up."
The results line up with a growing body of research showing that regular doses of flow can boost our mood and help us manage stress. And although playing Tetris is a reliable way to achieve flow, other absorbing video games would work too. And if you'd rather put down your digital device, no worries. Games are by no means the only way.
"Think of the activity that grabs your attention and doesn't let it go," says Elizabeth Dunn, a psychologist at the University of British Columbia who studies happiness. "For me, it's mountain biking." For you, it could be chess or ballet.
"I can't say I found this study particularly surprising at all," says Dunn, who wasn't involved in the research. "Mostly because, based on previous research, it's hard to find a situation where the experience of flow isn't a good thing."
What the new research does suggest, she says, "is that even in tough moments, we should push ourselves to do something challenging to get us out of the moment."
"Go mountain biking, or rock climbing or have games night with your friends where you play really challenging games," she says.
And if all else fails, you can always try Tetris.
Maanvi Singh is a freelance writer and a regular contributor to NPR. You can find her on Twitter: @maanvisings.
Copyright 2018 NPR. To see more, visit http://www.npr.org/.