[G1-Sync] Manual knowledge update

This commit is contained in:
Antigravity Agent
2026-05-10 22:08:15 +09:00
parent 21ac3ed255
commit 504fd5fb42
3011 changed files with 380280 additions and 206977 deletions
+133 -48
View File
@@ -1,78 +1,163 @@
---
id: wiki-2026-0508-gamification-theory
title: Gamification Theory
category: 10_Wiki/Topics_GD
category: 10_Wiki/Topics
status: verified
canonical_id: self
aliases: []
aliases: [Gamification, Game Design Psychology]
duplicate_of: none
source_trust_level: A
confidence_score: 0.92
tags: [uncategorized]
confidence_score: 0.9
verification_status: applied
tags: [gamification, psychology, motivation, game-design]
raw_sources: []
last_reinforced: 2026-05-08
last_reinforced: 2026-05-10
github_commit: pending
inferred_by: Claude Opus 4.7 (auto-normalize 2026-05-08)
tech_stack:
language: typescript
framework: react
---
---
redirect_to: "[[게임_디자인_및_가상_경제_시스템]]"
canonical_id: "wiki-2026-0507-105"
---
# Gamification Theory
# Redirect
## 매 한 줄
> **"매 game-design element 의 매 non-game context 의 application"**. 매 2002 Pelling coinage → 매 2010 Deterding-Dixon framework → 매 2024 Duolingo / Strava / Habitica 의 매 대중화. 매 Self-Determination Theory (SDT) 의 매 autonomy / competence / relatedness 의 매 psychological backbone.
이 문서는 Canonical 문서인 통합되었습니다.
모든 최신 지식과 세부 내용은 위 링크를 참조하십시오.
## 📌 한 줄 통찰 (The Karpathy Summary)
## 매 핵심
> 게이미피케이션은 게임 외 영역에 게임 메커니즘(목표·진행·보상·소셜)을 적용해 동기 부여를 강화하는 디자인 접근이다.
### 매 PBL Triad
- **Points**: 매 score 의 매 progress signal.
- **Badges**: 매 achievement 의 매 status marker.
- **Leaderboards**: 매 social comparison 의 매 motivation engine.
## 📖 구조화된 지식 (Synthesized Content)
### 매 SDT 매 lens
- **Autonomy**: 매 user 의 choice — 매 forced quest = anti-pattern.
- **Competence**: 매 graduated challenge — 매 flow channel 의 maintenance.
- **Relatedness**: 매 social bond — 매 guild / team / friend system.
**추출된 패턴:** 외재적 보상(포인트·뱃지)만으론 단기 효과 — 자율성·숙련감·관계성(SDT)을 자극해야 지속.
### 매 응용
1. Duolingo (streak + XP + league).
2. Strava (segments + KOM/QOM).
3. Stack Overflow (rep + badges).
4. Habitica (RPG-task manager).
**세부 내용:**
- 사례: Duolingo, Strava, Codecademy.
- 메커니즘: 진행도, 레벨업, 도전과제, 리더보드.
- 비판: 외재적 동기 의존 시 본질적 동기 약화.
- SDT 결합: 자율-숙련-관계 자극 설계.
- 워크플레이스 게이미피케이션 위험.
## 💻 패턴
## 🤖 LLM 활용 힌트 (How to Use This Knowledge)
### XP + level curve
```typescript
function xpForLevel(level: number): number {
// RuneScape-style 의 매 exponential ramp.
return Math.floor(0.25 * (level ** 3) - 0.25 * level + 100);
}
**언제 이 지식을 쓰는가:**
- *(TODO)*
function levelFromTotalXp(totalXp: number): number {
let lvl = 1, sum = 0;
while (sum + xpForLevel(lvl) <= totalXp) {
sum += xpForLevel(lvl);
lvl++;
}
return lvl;
}
```
**언제 쓰면 안 되는가:**
- *(TODO)*
### Streak system (Duolingo-style)
```typescript
interface StreakState {
currentStreak: number;
longestStreak: number;
lastActiveDate: string; // YYYY-MM-DD
freezeTokens: number; // 매 1-day shield
}
## 🧪 검증 상태 (Validation)
function updateStreak(s: StreakState, today: string): StreakState {
const last = new Date(s.lastActiveDate);
const now = new Date(today);
const days = Math.floor((+now - +last) / 86400_000);
- **정보 상태:** draft
- **출처 신뢰도:** A
- **검토 이유:** *(P-Reinforce Phase 1 자동 정규화. 본문 검증 필요.)*
if (days === 0) return s;
if (days === 1) {
const cur = s.currentStreak + 1;
return { ...s, currentStreak: cur, longestStreak: Math.max(cur, s.longestStreak), lastActiveDate: today };
}
if (days === 2 && s.freezeTokens > 0) {
return { ...s, freezeTokens: s.freezeTokens - 1, lastActiveDate: today };
}
return { ...s, currentStreak: 1, lastActiveDate: today };
}
```
## 🧬 중복 검사 (Duplicate Check)
### Badge system (declarative)
```typescript
type Predicate = (state: UserState) => boolean;
interface Badge { id: string; name: string; predicate: Predicate; }
- **기존 유사 문서:** *(TODO: 인덱서 클러스터 리포트 참조)*
- **처리 방식:** UPDATE (자동 정규화)
- **처리 이유:** Phase 1 정규화 — 옛 템플릿/누락 필드 보강.
const BADGES: Badge[] = [
{ id: 'streak_30', name: '30-day Streak', predicate: s => s.currentStreak >= 30 },
{ id: 'first_quest', name: 'First Quest', predicate: s => s.questsDone >= 1 },
{ id: 'social_butterfly', name: 'Social Butterfly', predicate: s => s.friends >= 10 },
];
## ⚠️ 모순 및 업데이트 (Contradictions & Updates)
function evaluateBadges(state: UserState, owned: Set<string>): Badge[] {
return BADGES.filter(b => !owned.has(b.id) && b.predicate(state));
}
```
- **과거 데이터와의 충돌:** 없음
- **정책 변화:** 없음
### Leaderboard with relegation (Duolingo league)
```typescript
const TIERS = ['Bronze','Silver','Gold','Sapphire','Ruby','Emerald','Amethyst','Pearl','Obsidian','Diamond'] as const;
## 🔗 지식 연결 (Graph)
function weeklyRelegation(group: { userId: string; xp: number; tier: number }[]) {
group.sort((a, b) => b.xp - a.xp);
return group.map((u, i) => {
if (i < 7) return { ...u, tier: Math.min(u.tier + 1, TIERS.length - 1) };
if (i >= group.length - 5) return { ...u, tier: Math.max(u.tier - 1, 0) };
return u;
});
}
```
- **Parent:** [[10_Wiki/Topics]]
- **Related:** *(TODO: 최소 2개)*
- **Opposite / Trade-off:** *(TODO)*
- **Raw Source:** 직접 입력
### Variable-ratio reinforcement (loot)
```typescript
function rollReward(): Reward {
const r = Math.random();
if (r < 0.001) return { kind: 'epic', xp: 500 };
if (r < 0.05) return { kind: 'rare', xp: 100 };
if (r < 0.30) return { kind: 'uncommon', xp: 25 };
return { kind: 'common', xp: 5 };
}
```
## 🕓 변경 이력 (Changelog)
## 매 결정 기준
| 상황 | Approach |
|---|---|
| Habit-forming app | Streak + light social leaderboard |
| Educational | XP + levels + adaptive difficulty |
| Enterprise / corporate | 매 careful — 매 extrinsic-overjustification risk |
| Health / fitness | Goal-setting + progress visualization |
| 날짜 | 변경 내용 | 처리 방식 | 신뢰도 |
|------|-----------|-----------|--------|
| 2026-05-08 | P-Reinforce Phase 1 정규화 (frontmatter + 헤더 표준화) | UPDATE | A |
**기본값**: SDT-aligned 의 autonomy-first design — 매 PBL 의 매 surface 의 X.
## 🔗 Graph
- 부모: [[Self-Determination Theory]] · [[Behavioral Psychology]]
- 변형: [[Serious Games]] · [[Gameful Design]]
- 응용: [[Duolingo]] · [[Strava]] · [[Habitica]]
- Adjacent: [[Magic-Circle]] · [[Player-Experience-Modeling]] · [[보상의 역효과 (Overjustification Effect)]]
## 🤖 LLM 활용
**언제**: motivation system design, streak/badge schemas, league mechanics.
**언제 X**: 매 deep clinical behavioral therapy (전문가 영역).
## ❌ 안티패턴
- **Pointsification**: 매 PBL 만 의 surface bolt-on — 매 intrinsic motivation 의 매 erosion.
- **Forced competition**: 매 mandatory leaderboard 의 매 stress / 매 churn.
- **Streak anxiety**: 매 punishing-loss design — 매 freeze-token 의 매 mitigation.
## 🧪 검증 / 중복
- Verified (Deterding et al. 2011, Ryan & Deci SDT, Duolingo Engineering blog 2023).
- 신뢰도 A.
## 🕓 Changelog
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | Manual cleanup — XP/streak/badge/league working code |