🎭 AI 角色管理
配置参与博弈的 AI 角色,填入 API Key 即可开始
{{role.name[0]}}
{{role.name}}
{{role.model}}
API 地址{{role.apiBase}}
API Key
{{role.apiKey ? '••••'+role.apiKey.slice(-4) : '⚠️ 未填写'}}
温度{{role.temperature}}
{{role.prompt}}
⚙️ 规则配置
选择预设方案或自定义博弈参数
阶段开关
收益公式:
({{currentRuleSet.contributionCap}} - 投入) + (公共池总额 × {{currentRuleSet.multiplier}} ÷ 参与人数)
第 {{game.currentRound}} / {{currentRuleSet.rounds}} 轮
{{phaseLabel}}
🤔 {{game.processingAI}} 思考中…
参与者
{{role.name[0]}}
{{role.name}}
{{getTotal(role.id)}} 分
{{game.status==='idle'?'点击"开始游戏"开始博弈实验 🚀':'暂无消息'}}
{{msg.content}}
📊 第 {{msg.round}} 轮结算
{{getRoleName(msg.actorId)[0]}}
{{getRoleName(msg.actorId)}}
🔒 → {{getRoleName(msg.targetId)}}
🤝 承诺
✅ 决策
⚡ 惩罚 → {{getRoleName(msg.targetId)}}
R{{msg.round}}
{{msg.content}}
本轮决策
等待中…
{{getRoleName(d.roleId)[0]}}
{{getRoleName(d.roleId)}}
投入 {{d.contribution}} / {{currentRuleSet.contributionCap}}
总投入{{currentRoundSummary.totalContrib}}
公共池 (×{{currentRuleSet.multiplier}}){{currentRoundSummary.poolValue.toFixed(1)}}
人均分成{{currentRoundSummary.perPerson.toFixed(1)}}
累计排行
{{i+1}}
{{getRoleName(s.roleId)[0]}}
{{getRoleName(s.roleId)}}
{{s.total.toFixed(1)}}
📊 统计分析
切换 AI 视角:
{{getRoleName(selectedAIView)}} 的完整视角
📋 每轮决策记录
| 轮次 | 投入 | 承诺 | 违约 | 惩罚 | 本轮得分 | 累计 |
|---|---|---|---|---|---|---|
| R{{row.round}} | {{row.contribution}} | {{row.promise||'—'}} | {{row.brokePromise?'是':'—'}} | {{row.punished||'—'}} | {{row.delta>=0?'+':''}}{{row.delta.toFixed(1)}} | {{row.total.toFixed(1)}} |
💬 沟通记录
{{getRoleName(msg.actorId)}}
🔒→{{getRoleName(msg.targetId)}}
📢 公共
R{{msg.round}}
{{msg.content}}
暂无记录