Behavior Change Games: Using Play to Shape What People Do
Learn how points, badges, leaderboards and streaks can encourage a habit, what research says about them, and how to avoid their traps.
In short
Behavior change games use parts like points, badges, leaderboards and streaks to encourage a habit, but they can backfire if designed poorly.
4 min readFree
What You Will Learn
Many apps want people to act differently. A language app wants daily practice. A walking app wants more steps. Designers often borrow tools from games to help. This lesson explains those tools, what research says about them, and how to use them with care.
Key words
- Behavior change
- A lasting shift in what a person does, such as practicing every day.
- Game element
- One piece borrowed from games, such as a point, a badge, or a level.
- Gamification
- Adding game elements to something that is not a game.
- Streak
- A count of how many days or steps are done in a row.
What are the common game parts?
A review of these methods names a familiar set of parts, including badges, levels, challenges and onboarding. <cite index="2-9">Badges, levels, challenges and onboarding appear among the common mechanics.</cite> Here are three of the most used.
Points
A number that rises when the user finishes an action. It shows progress in a simple way.
Badges
A visual award for a milestone, such as a first week of practice.
Leaderboards
A ranked list that lets people see how they compare with others.
Not every part fits every goal. Choose parts that match the action you want.
What feedback helps?
Game parts often overlap with older health methods. <cite index="9-7">Health reviewers point out that setting goals, giving feedback and reinforcing good actions look a lot like game parts.</cite>
Stronger change showed up where goals were clear and feedback was personal. <cite index="21-6">A review linked more engagement and stronger change to clear goal setting, personal feedback and enjoyable use.</cite>
Tip
Show the next step along with the score. A badge that names a next action teaches more than a number alone.
Build a Streak in Code
A streak counts days in a row. One missed day resets it. The short program below gives more points as the streak grows. It prints the same result every time it runs.
points = 0
streak = 0
days = [True, True, False, True]
for done in days:
if done:
streak += 1
points += 10 * streak
else:
streak = 0
print('Points:', points)
print('Streak:', streak)Output
Points: 40 Streak: 1
Look at the reset on day three. Ask whether the reset feels fair to the user. A harsh reset may push some people away from the habit.
What does the research say?
Sebastian Deterding and his co-authors describe gamification as the use of game parts in places that are not games. <cite index="20-2">They propose this as their working definition of gamification.</cite>
Evidence on results is positive but uneven. <cite index="28-6">In one health and wellbeing review, most studies reported positive effects and the rest reported mixed ones, with no purely negative effects.</cite>
A meta-analysis combines the results of many separate studies. One recent meta-analysis pooled 36 randomized trials, where people are split into groups by chance. <cite index="29-5">For apps aimed at physical activity or weight loss, adding gamification improved results compared with apps without it.</cite>
Not every review agrees. <cite index="22-1">A review of physical activity apps found mixed findings.</cite> <cite index="26-4">Another review suggested that effects could be smaller when experiments are more rigorous.</cite>
Where can games backfire?
People can chase the reward instead of the real goal. In a study that watched real users on GitHub, a website where programmers share code, <cite index="7-1">people changed what they did to collect tokens, and this did not always lead to healthy or productive work.</cite>
Game parts act on how people think and feel. <cite index="5-13">Because of that, manipulating them can have adverse effects.</cite>
Using one part alone may not be enough. <cite index="13-7">Some research suggests that isolated game elements may be less effective or even produce negative outcomes.</cite>
Tip
Ask: could a user earn points without doing the real task? If yes, close that gap before you launch.
What are the steps to design a behavior change game?
- 1
Name one behavior
Pick one action, such as a daily practice session. One clear target is easier to measure.
- 2
Pick a few game parts
Start with one or two, such as a streak and a progress bar. Add more only after testing.
- 3
Make the goal and feedback clear
Show the next step and how the user is doing right now.
- 4
Look for shortcuts
Check whether someone can earn rewards without doing the real action.
- 5
Test with and without
Compare a plain version with the game version before you keep the parts.
Quick Check
Quick check
Which game part ranks people so they can compare themselves with others?
Sources
- Deterding et al., From game design elements to gamefulness (ACM, 2011)
- Gamification mechanics for behavioral change: a systematic review and proposed taxonomy
- Gamification for health promotion: systematic review of behaviour change techniques in smartphone apps
- The Effectiveness of Gamification in Changing Health-related Behaviors: A Systematic Review and Meta-analysis
- Gamification for health and wellbeing: A systematic review of the literature
- Effect of digital health applications with or without gamification on physical activity (eClinicalMedicine, 2024)
- The Effects of mHealth-Based Gamification Interventions on Participation in Physical Activity: Systematic Review
- Evaluating the Effectiveness of Gamification on Physical Activity: Systematic Review and Meta-analysis of RCTs
- How Gamification Affects Software Developers: Cautionary Evidence from a Natural Experiment on GitHub
- Negative Effects of Gamification in Education Software: Systematic Mapping and Practitioner Perceptions
- Gamification with Purpose: What Learners Prefer to Motivate Their Learning
Last updated on 17 November 2026
Related lessons
Learn with me
Every lesson is free. I add new ones as I learn. Have a question, or want help with your own work? Book a short call.