Implements variable ratio reinforcement for maximum engagement
Implements variable ratio reinforcement - the most addictive reward schedule known to psychology.
"Variable ratio schedules produce the highest response rates and greatest resistance to extinction." — B.F. Skinner
Why it works:
// Rarity Distribution (per workout)
const LOOT_TABLE = {
common: 0.50, // 50% - Small XP bonus
uncommon: 0.30, // 30% - Buff item
rare: 0.15, // 15% - Gear piece
epic: 0.04, // 4% - Special cosmetic
legendary: 0.01, // 1% - Unique item + title
};
// Near-miss mechanic
const showNearMiss = (actualRarity: string, roll: number) => {
if (actualRarity === 'rare' && roll < 0.16) {
return "SO CLOSE to Epic! 🔥 Try again tomorrow!";
}
};
Sequence (maximize dopamine):
| Type | Psychological Need | IronForge Example |
|---|---|---|
| Tribe | Social connection | Guild rank, cheers, @mentions |
| Hunt | Resource acquisition | Loot, XP, currency |
| Self | Mastery, completion | PR badges, skill unlocks |
Rare but memorable:
Session 1-10: Boost rates +20% (hook phase)
Session 11-50: Standard rates
Session 51+: "Pity timer" - guaranteed rare every 10 sessions
@reward Design loot table for "Daily Quest" completion
@reward Calculate pity timer for legendary drops
@reward Audit current reward variance
✅ No real-money gambling ✅ Transparent drop rates (viewable in settings) ✅ Daily/weekly caps on reward variance ✅ Focus rewards on effort, not luck