Psychology of fun and retention in games
game-designpsychologymotivationflowretentionspeedrun
The psychological principles that make games, and speedrun platformers in particular, compelling, with how each translates into design. Researched for Run in 2026-04.
Self-Determination Theory (Deci and Ryan)
Three needs drive intrinsic motivation: - Autonomy: choose how to approach a level (multiple routes, risk/reward); feedback as information, not judgment; let discovery happen without hand-holding. - Competence: each level teaches something; clear performance feedback (splits, ghosts, medal thresholds). - Relatedness: leaderboards, ghosts, community levels; async competition counts. Extrinsic rewards that feel controlling can undermine intrinsic motivation; rewards should feel like recognition, not payment.
Variable rewards
Variable-ratio reinforcement (Skinner) yields the most persistent behavior. Skill-based versions: rare "everything clicked" runs, discovered shortcuts, surprise PBs, varied challenge types. Use for delight, not exploitation.
IKEA effect and effort justification
People value what they struggled for (Norton, Mochon, Ariely 2011), but only if they finish. Hard levels must be completable; make effort visible (total deaths, time spent); do not make Gold too easy. Level editors are pure IKEA effect: creators overvalue their own levels.
Cognitive load (Sweller)
Minimize extraneous load (confusing UI, ambiguous hitboxes), build germane load (learning patterns). Working memory holds about 4 things: limit a section to 2-3 mechanics. Chunk levels into themed sections. Readability beats prettiness.
Zeigarnik / Ovsiankina effect
Unfinished goals pull people back. The memory advantage is weak in recent meta-analysis (2025), but the urge to resume is robust. Show gaps: empty medal slots, "Silver, 0.3 s from Gold", "0.1 s from your PB". No mid-level saves in a speedrun game.
Social comparison (Festinger)
Being #4 motivates more than being #40; climbing feels rewarding and falling stings. Show neighbors around the player's rank, offer the ghost of the person just ahead, use relative framing ("faster than 23% of players") for newcomers. Friend boards matter more than global ones for most players.
Near-miss effect
Dying close to the goal reads as "almost succeeded" and drives retries more than distant failure. Keep the goal visible, put the hardest section 70-85% through, design close-call geometry, show how close the player was ("0.12 s behind PB"). Overuse turns into rage: the last section must be solvable without luck.
Contrast, agency, loss aversion
- Contrast: alternate tension and release; constant difficulty numbs.
- Agency: 2-3 meaningful options beat 10 trivial ones; choosing between two paths to the same exit still increases engagement; a risky shortcut matters because it can kill you.
- Loss aversion (Kahneman and Tversky, losses ~2x gains): PB pace makes every obstacle feel like potential loss, which is why live green/red split deltas are so gripping and why runners reset early. After a death, let the player feel it for a beat (~0.5-1 s) but keep the restart instant.
Flow (Csikszentmihalyi)
Challenge matched to skill, clear goals, immediate feedback, sense of control. Speedrunning is a natural flow machine; medal tiers form a flow channel if each tier requires different play (a better route, a harder skip), not just "the same, faster". The mastery curve runs: "can't do this" (deaths must feel fair) -> "can see it" (most engaging) -> "clicking" (peak flow, optimization begins) -> "autopilot" (needs a deeper layer or players leave).
Per-level checklist
At least 2 viable routes; teaches something with a medal ladder; 2-3 mechanics per section; tension/release; at least one non-obvious discovery; visible progress gaps; safe vs risky choice; hard content completable; difficulty fits its place in the progression.