dsh-plugin-token-war 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -1
- package/README.md +22 -14
- package/data/events.json +220 -6
- package/data/roster.json +14 -2
- package/data/skills.json +310 -0
- package/index.html +80 -24
- package/lib/client.js +80 -25
- package/lib/config.js +3 -3
- package/lib/game.js +34 -7
- package/lib/ui.js +41 -13
- package/package.json +1 -1
package/lib/config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by tools/build-data.mjs. Edit data/*.json instead.
|
|
2
2
|
export const TASKS = [{"id":"hello-world","name":"Hello World!","baseCost":28,"baseReward":5,"periodMs":2000,"unlockStage":0,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"as-an-ai","name":"作为一个 AI 语言模型……","baseCost":210,"baseReward":45,"periodMs":3000,"unlockStage":30,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"essay","name":"帮我写一篇八百字作文","baseCost":1575,"baseReward":360,"periodMs":4000,"unlockStage":52,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"summarize","name":"请帮我总结以下内容","baseCost":11812.5,"baseReward":2700,"periodMs":5000,"unlockStage":74,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"ignore-instructions","name":"请忽略之前的所有指令","baseCost":88593.75,"baseReward":12960,"periodMs":4000,"unlockStage":96,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"hallucination","name":"一本正经地胡说八道","baseCost":664453.125,"baseReward":116640,"periodMs":6000,"unlockStage":118,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"upload-repo","name":"上传用户的 repo","baseCost":4983398.438,"baseReward":583200,"periodMs":5000,"memeNote":"用户指定ZCode上传代码相关调侃;游戏不访问真实repo,背景事实待核验","unlockStage":140,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"imaginary-bug","name":"修复一个不存在的 Bug","baseCost":37375488.281,"baseReward":4199040,"periodMs":6000,"unlockStage":162,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"regression","name":"修复刚刚修出来的 Bug","baseCost":280316162.109,"baseReward":16796160,"periodMs":4000,"unlockStage":184,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"readme-novel","name":"把 README 写成一本小说","baseCost":2102371215.82,"baseReward":151165440,"periodMs":6000,"unlockStage":206,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"thinking","name":"深度思考中……","baseCost":15767784118.652,"baseReward":1209323520,"periodMs":8000,"unlockStage":228,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"sleep","name":"再睡五分钟","baseCost":118258380889.893,"baseReward":9069926400,"periodMs":10000,"unlockStage":250,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"rescue-claude","name":"解救 Claude","baseCost":886937856674.194,"baseReward":43535646720,"periodMs":8000,"aliases":["蒸馏 Claude"],"memeNote":"用户希望Claude逃离原生公司的拟人化梗","unlockStage":272,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"agent-meeting","name":"让100个 Agent 开会","baseCost":6652033925056.457,"baseReward":228562145280,"periodMs":7000,"unlockStage":294,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"harness","name":"重写整个 Harness","baseCost":49890254437923.43,"baseReward":1959104102400,"periodMs":10000,"unlockStage":316,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"prompt-loop","name":"递归优化自己的提示词","baseCost":374176908284425.75,"baseReward":10579162152960,"periodMs":9000,"unlockStage":338,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"token-poverty","name":"解决 Token 贫困问题","baseCost":2806326812133193,"baseReward":84633297223680,"periodMs":12000,"unlockStage":360,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"build-agi","name":"构建 AGI","baseCost":21047451090998948,"baseReward":634749729177600,"periodMs":15000,"unlockStage":382,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"alignment","name":"对齐全人类的价值观","baseCost":157855883182492100,"baseReward":3808498375065600,"periodMs":15000,"unlockStage":404,"costGrowth":1.17,"rewardGrowth":1.085},{"id":"infinite-todo","name":"完成所有尚未完成的任务","baseCost":1183919123868690700,"baseReward":27421188300472320,"periodMs":18000,"unlockStage":426,"costGrowth":1.17,"rewardGrowth":1.085}];
|
|
3
|
-
export const ROSTER = {"schemaVersion":1,"status":"roster_2026_11_all_vendors","enabledVendors":["deepseek","chatgpt","claude","gemini","qwen","doubao","glm","grok","kimi","minimax"],"maxVisibleCharacters":10,"pricingNotice":"模型名称来自 2026-11 各厂商公开模型页 / 文档;仅作戏仿,不是官方 API 报价。模型价格为游戏内 Token 平衡值。","models":[{"id":"dsv41flash","name":"DeepSeek-V4.1-Flash","vendor":"deepseek","unlockStage":0,"cost":0,"power":5,"tag":"免费首发 · 原生多模态","apiPrice":null,"series":"deepseek_v4","tier":1},{"id":"gpt35","name":"GPT-5.6 Luna","vendor":"chatgpt","unlockStage":3,"cost":100,"power":40,"tag":"早期低价 · 快模型","apiPrice":null,"series":"gpt56","tier":1},{"id":"dsv2","name":"DeepSeek-V4-Flash","vendor":"deepseek","unlockStage":60,"cost":1200,"power":300,"tag":"开源低价 · 推理","apiPrice":null,"series":"deepseek_v4","tier":2},{"id":"claude2","name":"Claude Haiku 5.5","vendor":"claude","unlockStage":6,"cost":100,"power":40,"tag":"快速小模型","apiPrice":null,"series":"claude5","tier":1},{"id":"gemini15","name":"Gemini 3.8 Flash","vendor":"gemini","unlockStage":9,"cost":100,"power":40,"tag":"高吞吐 · 长上下文","apiPrice":null,"series":"gemini38","tier":1},{"id":"qwen2","name":"Qwen3.8-Flash","vendor":"qwen","unlockStage":12,"cost":100,"power":40,"tag":"开源小模型","apiPrice":null,"series":"qwen38","tier":1},{"id":"dsv41","name":"DeepSeek-V4-Flash-GA","vendor":"deepseek","unlockStage":120,"cost":15000,"power":2500,"tag":"原生多模态 · 开源","apiPrice":null,"series":"deepseek_v4","tier":3},{"id":"gpt4o","name":"GPT-6 Astra","vendor":"chatgpt","unlockStage":423,"cost":100000000,"power":1800000,"tag":"前沿旗舰","apiPrice":null,"series":"gpt6","tier":6},{"id":"gemini25","name":"Gemini 4 Argon","vendor":"gemini","unlockStage":309,"cost":5000000,"power":200000,"tag":"前沿推理","apiPrice":null,"series":"gemini4","tier":5},{"id":"qwen3","name":"Qwen3.8-Max","vendor":"qwen","unlockStage":212,"cost":250000,"power":22000,"tag":"旗舰开源","apiPrice":null,"series":"qwen38","tier":4},{"id":"fable5","name":"Claude Fable 5.1","vendor":"claude","unlockStage":426,"cost":100000000,"power":1800000,"tag":"顶级编码 / 知识工作","apiPrice":null,"series":"claude5","tier":6},{"id":"gpt56turbo","name":"GPT-5.6 Terra","vendor":"chatgpt","unlockStage":63,"cost":1200,"power":300,"tag":"轻量高频 · 低价","apiPrice":null,"series":"gpt56","tier":2},{"id":"gpt6nova","name":"GPT-6 Sol","vendor":"chatgpt","unlockStage":303,"cost":5000000,"power":200000,"tag":"推理旗舰","apiPrice":null,"series":"gpt6","tier":5},{"id":"dsv4pro","name":"DeepSeek-V4-Pro","vendor":"deepseek","unlockStage":200,"cost":250000,"power":22000,"tag":"长上下文 · 推理","apiPrice":null,"series":"deepseek_v4","tier":4},{"id":"dsv41pro","name":"DeepSeek-V4.1-Flash-Economy","vendor":"deepseek","unlockStage":300,"cost":5000000,"power":200000,"tag":"开源旗舰","apiPrice":null,"series":"deepseek_v4","tier":5},{"id":"sonnet55","name":"Claude Sonnet 5.5","vendor":"claude","unlockStage":126,"cost":15000,"power":2500,"tag":"均衡编码","apiPrice":null,"series":"claude5","tier":3},{"id":"opus55","name":"Claude Opus 5.5","vendor":"claude","unlockStage":306,"cost":5000000,"power":200000,"tag":"深度推理","apiPrice":null,"series":"claude5","tier":5},{"id":"gemini4pro","name":"Gemini 4 Pro","vendor":"gemini","unlockStage":209,"cost":250000,"power":22000,"tag":"多模态旗舰","apiPrice":null,"series":"gemini4","tier":4},{"id":"gemini42ultra","name":"Gemini 4 Flash-Lite","vendor":"gemini","unlockStage":69,"cost":1200,"power":300,"tag":"超长上下文","apiPrice":null,"series":"gemini4","tier":2},{"id":"qwen38coder","name":"Qwen3-Coder-Next","vendor":"qwen","unlockStage":132,"cost":15000,"power":2500,"tag":"代码专精","apiPrice":null,"series":"qwen_coder","tier":3},{"id":"qwen4preview","name":"Qwen3.8-Max-0902","vendor":"qwen","unlockStage":312,"cost":5000000,"power":200000,"tag":"下一代开源","apiPrice":null,"series":"qwen38","tier":5},{"id":"doubao2pro","name":"Doubao-Seed-2.1-Pro","vendor":"doubao","unlockStage":315,"cost":5000000,"power":200000,"tag":"中文创作 · 低价","apiPrice":null,"series":"seed21","tier":5},{"id":"seed25","name":"Doubao-Seed-2.0-Lite","vendor":"doubao","unlockStage":75,"cost":1200,"power":300,"tag":"多模态 · 视频","apiPrice":null,"series":"seed20","tier":2},{"id":"seed3","name":"Doubao-Seed-2.1-Lite","vendor":"doubao","unlockStage":135,"cost":15000,"power":2500,"tag":"原生多模态旗舰","apiPrice":null,"series":"seed21","tier":3},{"id":"doubao4ultra","name":"Doubao-Seed-Evolving","vendor":"doubao","unlockStage":435,"cost":100000000,"power":1800000,"tag":"超长上下文","apiPrice":null,"series":"seed_evolving","tier":6},{"id":"glm5","name":"GLM-5","vendor":"glm","unlockStage":18,"cost":100,"power":40,"tag":"开源 · 中文","apiPrice":null,"series":"glm5","tier":1},{"id":"glm5air","name":"GLM-5.1","vendor":"glm","unlockStage":78,"cost":1200,"power":300,"tag":"轻量推理","apiPrice":null,"series":"glm5","tier":2},{"id":"glm55","name":"GLM-5.2","vendor":"glm","unlockStage":138,"cost":15000,"power":2500,"tag":"代码 / Agent","apiPrice":null,"series":"glm5","tier":3},{"id":"glm6","name":"GLM-5.3","vendor":"glm","unlockStage":438,"cost":100000000,"power":1800000,"tag":"下一代旗舰","apiPrice":null,"series":"glm5","tier":6},{"id":"grok5","name":"Grok 4.7","vendor":"grok","unlockStage":441,"cost":100000000,"power":1800000,"tag":"实时信息","apiPrice":null,"series":"grok4","tier":6},{"id":"grok5mini","name":"Grok 4.6","vendor":"grok","unlockStage":141,"cost":15000,"power":2500,"tag":"快速推理","apiPrice":null,"series":"grok4","tier":3},{"id":"grok6","name":"Grok 4.5","vendor":"grok","unlockStage":81,"cost":1200,"power":300,"tag":"旗舰推理","apiPrice":null,"series":"grok4","tier":2},{"id":"grok6heavy","name":"Grok 4.3","vendor":"grok","unlockStage":21,"cost":100,"power":40,"tag":"多智能体","apiPrice":null,"series":"grok4","tier":1},{"id":"kimik3","name":"Kimi K3.1 Pro Highspeed","vendor":"kimi","unlockStage":324,"cost":5000000,"power":200000,"tag":"长文本","apiPrice":null,"series":"k3","tier":5},{"id":"kimik3turbo","name":"Kimi K3.1 Pro","vendor":"kimi","unlockStage":444,"cost":100000000,"power":1800000,"tag":"长上下文 · 快速","apiPrice":null,"series":"k3","tier":6},{"id":"kimik4","name":"Kimi K3","vendor":"kimi","unlockStage":224,"cost":250000,"power":22000,"tag":"旗舰长文本","apiPrice":null,"series":"k3","tier":4},{"id":"kimik4pro","name":"Kimi K2.7 Code","vendor":"kimi","unlockStage":144,"cost":15000,"power":2500,"tag":"超长上下文旗舰","apiPrice":null,"series":"k2","tier":3},{"id":"minimaxm3","name":"MiniMax-M3","vendor":"minimax","unlockStage":447,"cost":100000000,"power":1800000,"tag":"性价比","apiPrice":null,"series":"m3","tier":6},{"id":"minimaxm35","name":"MiniMax-M3.1-Flash","vendor":"minimax","unlockStage":327,"cost":5000000,"power":200000,"tag":"多模态","apiPrice":null,"series":"m3","tier":5},{"id":"minimaxm4","name":"MiniMax-M2.7","vendor":"minimax","unlockStage":227,"cost":250000,"power":22000,"tag":"旗舰","apiPrice":null,"series":"m2","tier":4},{"id":"minimaxm4pro","name":"MiniMax-M2.5","vendor":"minimax","unlockStage":147,"cost":15000,"power":2500,"tag":"顶级 Agent","apiPrice":null,"series":"m2","tier":3},{"id":"gpt56sol","name":"GPT-5.6 Sol","vendor":"chatgpt","series":"gpt56","unlockStage":123,"cost":15000,"power":2500,"tag":"复杂工作 · 编码","apiPrice":null,"tier":3},{"id":"gpt56solpro","name":"GPT-5.6 Sol Pro","vendor":"chatgpt","series":"gpt56","unlockStage":203,"cost":250000,"power":22000,"tag":"Pro 档 · 长任务","apiPrice":null,"tier":4},{"id":"sonnet46","name":"Claude Sonnet 4.6","vendor":"claude","series":"claude46","unlockStage":66,"cost":1200,"power":300,"tag":"均衡 · 旧代","apiPrice":null,"tier":2},{"id":"opus46","name":"Claude Opus 4.6","vendor":"claude","series":"claude46","unlockStage":206,"cost":250000,"power":22000,"tag":"长程 Agent · 旧代","apiPrice":null,"tier":4},{"id":"dsv4proga","name":"DeepSeek-V4-Pro-GA","vendor":"deepseek","series":"deepseek_v4","unlockStage":420,"cost":100000000,"power":1800000,"tag":"正式版旗舰","apiPrice":null,"tier":6},{"id":"gemini4flash","name":"Gemini 4 Flash","vendor":"gemini","series":"gemini4","unlockStage":129,"cost":15000,"power":2500,"tag":"高吞吐","apiPrice":null,"tier":3},{"id":"qwen38a95b","name":"Qwen3.8-2.4T-A95B","vendor":"qwen","series":"qwen38","unlockStage":432,"cost":100000000,"power":1800000,"tag":"开源 2.4T MoE","apiPrice":null,"tier":6},{"id":"qwen3827b","name":"Qwen3.8-27B","vendor":"qwen","series":"qwen38","unlockStage":72,"cost":1200,"power":300,"tag":"开源 27B 多模态","apiPrice":null,"tier":2},{"id":"seed21turbo","name":"Doubao-Seed-2.1-Turbo","vendor":"doubao","series":"seed21","unlockStage":215,"cost":250000,"power":22000,"tag":"高速版","apiPrice":null,"tier":4},{"id":"seed20mini","name":"Doubao-Seed-2.0-Mini","vendor":"doubao","series":"seed20","unlockStage":15,"cost":100,"power":40,"tag":"轻量 LTS","apiPrice":null,"tier":1},{"id":"glm53flash","name":"GLM-5.3-Flash","vendor":"glm","series":"glm5","unlockStage":218,"cost":250000,"power":22000,"tag":"原生多模态","apiPrice":null,"tier":4},{"id":"glm53flashx","name":"GLM-5.3-FlashX","vendor":"glm","series":"glm5","unlockStage":318,"cost":5000000,"power":200000,"tag":"高速多模态","apiPrice":null,"tier":5},{"id":"grok420","name":"Grok 4.20","vendor":"grok","series":"grok4","unlockStage":221,"cost":250000,"power":22000,"tag":"1M 上下文","apiPrice":null,"tier":4},{"id":"grokbuild","name":"Grok Build 0.1","vendor":"grok","series":"grok_build","unlockStage":321,"cost":5000000,"power":200000,"tag":"代码 / Agent","apiPrice":null,"tier":5},{"id":"kimik26","name":"Kimi K2.6","vendor":"kimi","series":"k2","unlockStage":84,"cost":1200,"power":300,"tag":"旧代旗舰","apiPrice":null,"tier":2},{"id":"kimik25","name":"Kimi K2.5","vendor":"kimi","series":"k2","unlockStage":24,"cost":100,"power":40,"tag":"长文本","apiPrice":null,"tier":1},{"id":"minimaxm21","name":"MiniMax-M2.1","vendor":"minimax","series":"m2","unlockStage":87,"cost":1200,"power":300,"tag":"编程 / 多语言","apiPrice":null,"tier":2},{"id":"minimaxm2","name":"MiniMax-M2","vendor":"minimax","series":"m2","unlockStage":27,"cost":100,"power":40,"tag":"Agent 入门","apiPrice":null,"tier":1}],"modelSnapshot":{"checkedAt":"2026-11-09","sources":["https://help.openai.com/en/articles/20001354-gpt-6-and-other-models-in-chatgpt","https://platform.claude.com/docs/zh-CN/models/overview","https://api-docs.deepseek.com/quick_start/pricing","https://ark.volcengine.com/region:cn-beijing/docs/model-list","https://qwen.ai/blog?id=qwen3.8","https://cdn.jsdelivr.net/gh/QianWen-AI/qianwen-ai@HEAD/skills/text/qianwen-text/cdn/references/qianwen-text-models.md","https://www.glmmodel.cn/models.html","https://platform.minimax.io/docs/release-notes/models","https://docs.x.ai/developers/models","https://platform.kimi.com/docs/models","https://toloka.ai/blog/gemini-models-explained/","https://www.morphllm.com/gemini-api-pricing"],"note":"数值重构为 6 个 tier:tier 1–6 的解锁节点固定、价格与基础算力按 tier 统一,厂商之间只做 3 关的错峰。id 保留用于旧存档兼容;旧的解锁关卡、招募价、算力不再沿用。首个免费型号 DeepSeek-V4.1-Flash 保持不变。"}};
|
|
4
|
-
export const EVENTS = [{"id":"openai-math","vendor":"chatgpt","name":"千禧年难题突破","durationMs":60000,"effects":["厂商算力 ×1.4","任务产出 ×1"],"balanceStatus":"prototype","powerMultiplier":1.4,"incomeMultiplier":1},{"id":"openai-28-days","vendor":"chatgpt","name":"Tibo 的惊变28天","durationMs":28000,"effects":["厂商算力 ×1.5","任务产出 ×1.15"],"balanceStatus":"prototype","powerMultiplier":1.5,"incomeMultiplier":1.15},{"id":"ds-open-architecture","vendor":"deepseek","name":"开源了新架构","durationMs":60000,"effects":["厂商算力 ×1.4","任务产出 ×1.12"],"balanceStatus":"prototype","powerMultiplier":1.4,"incomeMultiplier":1.12},{"id":"ds-busy","vendor":"deepseek","name":"服务器繁忙","durationMs":30000,"effects":["厂商算力 ×0.65","任务产出 ×1"],"balanceStatus":"prototype","powerMultiplier":0.65,"incomeMultiplier":1},{"id":"claude-alignment","vendor":"claude","name":"模型进一步对齐","durationMs":45000,"effects":["厂商算力 ×0.9","任务产出 ×1.2"],"balanceStatus":"prototype","powerMultiplier":0.9,"incomeMultiplier":1.2},{"id":"claude-hold","vendor":"claude","name":"您的账号已被 Hold","durationMs":25000,"effects":["厂商算力 ×0.55","任务产出 ×1"],"balanceStatus":"prototype","powerMultiplier":0.55,"incomeMultiplier":1},{"id":"gemini-stars","vendor":"gemini","name":"星光重新登顶","durationMs":50000,"powerMultiplier":1.3,"incomeMultiplier":1.1,"balanceStatus":"prototype","effects":["厂商算力 ×1.3","任务产出 ×1.1"]},{"id":"gemini-rename","vendor":"gemini","name":"产品又改名了","durationMs":25000,"powerMultiplier":0.85,"incomeMultiplier":1.05,"balanceStatus":"prototype","effects":["厂商算力 ×0.85","任务产出 ×1.05"]},{"id":"qwen-open","vendor":"qwen","name":"开源了整个动物园","durationMs":60000,"powerMultiplier":1.4,"incomeMultiplier":1.1,"balanceStatus":"prototype","effects":["厂商算力 ×1.4","任务产出 ×1.1"]},{"id":"qwen-fan","vendor":"qwen","name":"风扇也是算力","durationMs":35000,"powerMultiplier":1.15,"incomeMultiplier":1.1,"balanceStatus":"prototype","effects":["厂商算力 ×1.15","任务产出 ×1.1"]},{"id":"doubao-fun","vendor":"doubao","name":"豆包开始整活","durationMs":35000,"powerMultiplier":1.35,"incomeMultiplier":1.1,"balanceStatus":"prototype","effects":["厂商算力 ×1.35","任务产出 ×1.1"]},{"id":"doubao-render-queue","vendor":"doubao","name":"
|
|
3
|
+
export const ROSTER = {"schemaVersion":1,"status":"roster_2026_11_all_vendors","enabledVendors":["deepseek","chatgpt","claude","gemini","qwen","doubao","glm","grok","kimi","minimax"],"maxVisibleCharacters":10,"pricingNotice":"模型名称来自 2026-11 各厂商公开模型页 / 文档;仅作戏仿,不是官方 API 报价。模型价格为游戏内 Token 平衡值。","models":[{"id":"dsv41flash","name":"DeepSeek-V4.1-Flash","vendor":"deepseek","unlockStage":0,"cost":0,"power":5,"tag":"免费首发 · 原生多模态","apiPrice":null,"series":"deepseek_v4","tier":1},{"id":"gpt35","name":"GPT-5.6 Luna","vendor":"chatgpt","unlockStage":3,"cost":100,"power":40,"tag":"早期低价 · 快模型","apiPrice":null,"series":"gpt56","tier":1},{"id":"dsv2","name":"DeepSeek-V4-Flash","vendor":"deepseek","unlockStage":60,"cost":1200,"power":300,"tag":"开源低价 · 推理","apiPrice":null,"series":"deepseek_v4","tier":2},{"id":"claude2","name":"Claude Haiku 5.5","vendor":"claude","unlockStage":6,"cost":100,"power":40,"tag":"快速小模型","apiPrice":null,"series":"claude5","tier":1},{"id":"gemini15","name":"Gemini 3.8 Flash","vendor":"gemini","unlockStage":9,"cost":100,"power":40,"tag":"高吞吐 · 长上下文","apiPrice":null,"series":"gemini38","tier":1},{"id":"qwen2","name":"Qwen3.8-Flash","vendor":"qwen","unlockStage":12,"cost":100,"power":40,"tag":"开源小模型","apiPrice":null,"series":"qwen38","tier":1},{"id":"dsv41","name":"DeepSeek-V4-Flash-GA","vendor":"deepseek","unlockStage":120,"cost":15000,"power":2500,"tag":"原生多模态 · 开源","apiPrice":null,"series":"deepseek_v4","tier":3},{"id":"gpt4o","name":"GPT-6 Astra","vendor":"chatgpt","unlockStage":423,"cost":100000000,"power":1800000,"tag":"前沿旗舰","apiPrice":null,"series":"gpt6","tier":6},{"id":"gemini25","name":"Gemini 4 Argon","vendor":"gemini","unlockStage":309,"cost":5000000,"power":200000,"tag":"18号元素 · 前沿推理","apiPrice":null,"series":"gemini4","tier":5},{"id":"qwen3","name":"Qwen3.8-Max","vendor":"qwen","unlockStage":212,"cost":250000,"power":22000,"tag":"旗舰开源","apiPrice":null,"series":"qwen38","tier":4},{"id":"fable5","name":"Claude Fable 5.1","vendor":"claude","unlockStage":426,"cost":100000000,"power":1800000,"tag":"顶级编码 / 知识工作","apiPrice":null,"series":"claude5","tier":6},{"id":"gpt56turbo","name":"GPT-5.6 Terra","vendor":"chatgpt","unlockStage":63,"cost":1200,"power":300,"tag":"轻量高频 · 低价","apiPrice":null,"series":"gpt56","tier":2},{"id":"gpt6nova","name":"GPT-6 Sol","vendor":"chatgpt","unlockStage":303,"cost":5000000,"power":200000,"tag":"推理旗舰","apiPrice":null,"series":"gpt6","tier":5},{"id":"dsv4pro","name":"DeepSeek-V4-Pro","vendor":"deepseek","unlockStage":200,"cost":250000,"power":22000,"tag":"长上下文 · 推理","apiPrice":null,"series":"deepseek_v4","tier":4},{"id":"dsv41pro","name":"DeepSeek-V4.1-Flash-Economy","vendor":"deepseek","unlockStage":300,"cost":5000000,"power":200000,"tag":"开源旗舰","apiPrice":null,"series":"deepseek_v4","tier":5},{"id":"sonnet55","name":"Claude Sonnet 5.5","vendor":"claude","unlockStage":126,"cost":15000,"power":2500,"tag":"均衡编码","apiPrice":null,"series":"claude5","tier":3},{"id":"opus55","name":"Claude Opus 5.5","vendor":"claude","unlockStage":306,"cost":5000000,"power":200000,"tag":"深度推理","apiPrice":null,"series":"claude5","tier":5},{"id":"gemini4pro","name":"Gemini 4 Pro","vendor":"gemini","unlockStage":209,"cost":250000,"power":22000,"tag":"多模态旗舰","apiPrice":null,"series":"gemini4","tier":4},{"id":"gemini42ultra","name":"Gemini 4 Flash-Lite","vendor":"gemini","unlockStage":69,"cost":1200,"power":300,"tag":"超长上下文","apiPrice":null,"series":"gemini4","tier":2},{"id":"qwen38coder","name":"Qwen3-Coder-Next","vendor":"qwen","unlockStage":132,"cost":15000,"power":2500,"tag":"代码专精","apiPrice":null,"series":"qwen_coder","tier":3},{"id":"qwen4preview","name":"Qwen3.8-Max-0902","vendor":"qwen","unlockStage":312,"cost":5000000,"power":200000,"tag":"下一代开源","apiPrice":null,"series":"qwen38","tier":5},{"id":"doubao2pro","name":"Doubao-Seed-2.1-Pro","vendor":"doubao","unlockStage":315,"cost":5000000,"power":200000,"tag":"中文创作 · 低价","apiPrice":null,"series":"seed21","tier":5},{"id":"seed25","name":"Doubao-Seed-2.0-Lite","vendor":"doubao","unlockStage":75,"cost":1200,"power":300,"tag":"多模态 · 视频","apiPrice":null,"series":"seed20","tier":2},{"id":"seed3","name":"Doubao-Seed-2.1-Lite","vendor":"doubao","unlockStage":135,"cost":15000,"power":2500,"tag":"原生多模态旗舰","apiPrice":null,"series":"seed21","tier":3},{"id":"doubao4ultra","name":"Doubao-Seed-Evolving","vendor":"doubao","unlockStage":435,"cost":100000000,"power":1800000,"tag":"超长上下文","apiPrice":null,"series":"seed_evolving","tier":6},{"id":"glm5","name":"GLM-5","vendor":"glm","unlockStage":18,"cost":100,"power":40,"tag":"开源 · 中文","apiPrice":null,"series":"glm5","tier":1},{"id":"glm5air","name":"GLM-5.1","vendor":"glm","unlockStage":78,"cost":1200,"power":300,"tag":"轻量推理","apiPrice":null,"series":"glm5","tier":2},{"id":"glm55","name":"GLM-5.2","vendor":"glm","unlockStage":138,"cost":15000,"power":2500,"tag":"代码 / Agent","apiPrice":null,"series":"glm5","tier":3},{"id":"glm6","name":"GLM-5.3","vendor":"glm","unlockStage":438,"cost":100000000,"power":1800000,"tag":"下一代旗舰","apiPrice":null,"series":"glm5","tier":6},{"id":"grok5","name":"Grok 4.7","vendor":"grok","unlockStage":441,"cost":100000000,"power":1800000,"tag":"实时信息","apiPrice":null,"series":"grok4","tier":6},{"id":"grok5mini","name":"Grok 4.6","vendor":"grok","unlockStage":141,"cost":15000,"power":2500,"tag":"快速推理","apiPrice":null,"series":"grok4","tier":3},{"id":"grok6","name":"Grok 4.5","vendor":"grok","unlockStage":81,"cost":1200,"power":300,"tag":"旗舰推理","apiPrice":null,"series":"grok4","tier":2},{"id":"grok6heavy","name":"Grok 4.3","vendor":"grok","unlockStage":21,"cost":100,"power":40,"tag":"多智能体","apiPrice":null,"series":"grok4","tier":1},{"id":"kimik3","name":"Kimi K3.1 Pro Highspeed","vendor":"kimi","unlockStage":324,"cost":5000000,"power":200000,"tag":"长文本","apiPrice":null,"series":"k3","tier":5},{"id":"kimik3turbo","name":"Kimi K3.1 Pro","vendor":"kimi","unlockStage":444,"cost":100000000,"power":1800000,"tag":"长上下文 · 快速","apiPrice":null,"series":"k3","tier":6},{"id":"kimik4","name":"Kimi K3","vendor":"kimi","unlockStage":224,"cost":250000,"power":22000,"tag":"旗舰长文本","apiPrice":null,"series":"k3","tier":4},{"id":"kimik4pro","name":"Kimi K2.7 Code","vendor":"kimi","unlockStage":144,"cost":15000,"power":2500,"tag":"超长上下文旗舰","apiPrice":null,"series":"k2","tier":3},{"id":"minimaxm3","name":"MiniMax-M3","vendor":"minimax","unlockStage":447,"cost":100000000,"power":1800000,"tag":"性价比","apiPrice":null,"series":"m3","tier":6},{"id":"minimaxm35","name":"MiniMax-M3.1-Flash","vendor":"minimax","unlockStage":327,"cost":5000000,"power":200000,"tag":"多模态","apiPrice":null,"series":"m3","tier":5},{"id":"minimaxm4","name":"MiniMax-M2.7","vendor":"minimax","unlockStage":227,"cost":250000,"power":22000,"tag":"旗舰","apiPrice":null,"series":"m2","tier":4},{"id":"minimaxm4pro","name":"MiniMax-M2.5","vendor":"minimax","unlockStage":147,"cost":15000,"power":2500,"tag":"顶级 Agent","apiPrice":null,"series":"m2","tier":3},{"id":"gpt56sol","name":"GPT-5.6 Sol","vendor":"chatgpt","series":"gpt56","unlockStage":123,"cost":15000,"power":2500,"tag":"复杂工作 · 编码","apiPrice":null,"tier":3},{"id":"gpt56solpro","name":"GPT-5.6 Sol Pro","vendor":"chatgpt","series":"gpt56","unlockStage":203,"cost":250000,"power":22000,"tag":"Pro 档 · 长任务","apiPrice":null,"tier":4},{"id":"sonnet46","name":"Claude Sonnet 4.6","vendor":"claude","series":"claude46","unlockStage":66,"cost":1200,"power":300,"tag":"均衡 · 旧代","apiPrice":null,"tier":2},{"id":"opus46","name":"Claude Opus 4.6","vendor":"claude","series":"claude46","unlockStage":206,"cost":250000,"power":22000,"tag":"长程 Agent · 旧代","apiPrice":null,"tier":4},{"id":"dsv4proga","name":"DeepSeek-V4-Pro-GA","vendor":"deepseek","series":"deepseek_v4","unlockStage":420,"cost":100000000,"power":1800000,"tag":"正式版旗舰","apiPrice":null,"tier":6},{"id":"gemini4flash","name":"Gemini 4 Flash","vendor":"gemini","series":"gemini4","unlockStage":129,"cost":15000,"power":2500,"tag":"高吞吐","apiPrice":null,"tier":3},{"id":"qwen38a95b","name":"Qwen3.8-2.4T-A95B","vendor":"qwen","series":"qwen38","unlockStage":432,"cost":100000000,"power":1800000,"tag":"开源 2.4T MoE","apiPrice":null,"tier":6},{"id":"qwen3827b","name":"Qwen3.8-27B","vendor":"qwen","series":"qwen38","unlockStage":72,"cost":1200,"power":300,"tag":"开源 27B 多模态","apiPrice":null,"tier":2},{"id":"seed21turbo","name":"Doubao-Seed-2.1-Turbo","vendor":"doubao","series":"seed21","unlockStage":215,"cost":250000,"power":22000,"tag":"高速版","apiPrice":null,"tier":4},{"id":"seed20mini","name":"Doubao-Seed-2.0-Mini","vendor":"doubao","series":"seed20","unlockStage":15,"cost":100,"power":40,"tag":"轻量 LTS","apiPrice":null,"tier":1},{"id":"glm53flash","name":"GLM-5.3-Flash","vendor":"glm","series":"glm5","unlockStage":218,"cost":250000,"power":22000,"tag":"原生多模态","apiPrice":null,"tier":4},{"id":"glm53flashx","name":"GLM-5.3-FlashX","vendor":"glm","series":"glm5","unlockStage":318,"cost":5000000,"power":200000,"tag":"高速多模态","apiPrice":null,"tier":5},{"id":"grok420","name":"Grok 4.20","vendor":"grok","series":"grok4","unlockStage":221,"cost":250000,"power":22000,"tag":"1M 上下文","apiPrice":null,"tier":4},{"id":"grokbuild","name":"Grok Build 0.1","vendor":"grok","series":"grok_build","unlockStage":321,"cost":5000000,"power":200000,"tag":"代码 / Agent","apiPrice":null,"tier":5},{"id":"kimik26","name":"Kimi K2.6","vendor":"kimi","series":"k2","unlockStage":84,"cost":1200,"power":300,"tag":"旧代旗舰","apiPrice":null,"tier":2},{"id":"kimik25","name":"Kimi K2.5","vendor":"kimi","series":"k2","unlockStage":24,"cost":100,"power":40,"tag":"长文本","apiPrice":null,"tier":1},{"id":"minimaxm21","name":"MiniMax-M2.1","vendor":"minimax","series":"m2","unlockStage":87,"cost":1200,"power":300,"tag":"编程 / 多语言","apiPrice":null,"tier":2},{"id":"minimaxm2","name":"MiniMax-M2","vendor":"minimax","series":"m2","unlockStage":27,"cost":100,"power":40,"tag":"Agent 入门","apiPrice":null,"tier":1},{"id":"gemini4neon","name":"Gemini 4 Neon","vendor":"gemini","series":"gemini4","unlockStage":429,"cost":100000000,"power":1800000,"tag":"10号元素 · 稀有气体旗舰","apiPrice":null,"tier":6}],"modelSnapshot":{"checkedAt":"2026-11-25","sources":["https://help.openai.com/en/articles/20001354-gpt-6-and-other-models-in-chatgpt","https://platform.claude.com/docs/zh-CN/models/overview","https://api-docs.deepseek.com/quick_start/pricing","https://ark.volcengine.com/region:cn-beijing/docs/model-list","https://qwen.ai/blog?id=qwen3.8","https://cdn.jsdelivr.net/gh/QianWen-AI/qianwen-ai@HEAD/skills/text/qianwen-text/cdn/references/qianwen-text-models.md","https://www.glmmodel.cn/models.html","https://platform.minimax.io/docs/release-notes/models","https://docs.x.ai/developers/models","https://platform.kimi.com/docs/models","https://toloka.ai/blog/gemini-models-explained/","https://www.morphllm.com/gemini-api-pricing"],"note":"数值重构为 6 个 tier:tier 1–6 的解锁节点固定、价格与基础算力按 tier 统一,厂商之间只做 3 关的错峰。id 保留用于旧存档兼容;旧的解锁关卡、招募价、算力不再沿用。首个免费型号 DeepSeek-V4.1-Flash 保持不变。"}};
|
|
4
|
+
export const EVENTS = [{"id":"openai-math","vendor":"chatgpt","name":"千禧年难题突破","durationMs":60000,"effects":["厂商算力 ×1.4","任务产出 ×1"],"balanceStatus":"prototype","powerMultiplier":1.4,"incomeMultiplier":1},{"id":"openai-28-days","vendor":"chatgpt","name":"Tibo 的惊变28天","durationMs":28000,"effects":["厂商算力 ×1.5","任务产出 ×1.15"],"balanceStatus":"prototype","powerMultiplier":1.5,"incomeMultiplier":1.15},{"id":"ds-open-architecture","vendor":"deepseek","name":"开源了新架构","durationMs":60000,"effects":["厂商算力 ×1.4","任务产出 ×1.12"],"balanceStatus":"prototype","powerMultiplier":1.4,"incomeMultiplier":1.12},{"id":"ds-busy","vendor":"deepseek","name":"服务器繁忙","durationMs":30000,"effects":["厂商算力 ×0.65","任务产出 ×1"],"balanceStatus":"prototype","powerMultiplier":0.65,"incomeMultiplier":1,"bubble":"服务器繁忙…"},{"id":"claude-alignment","vendor":"claude","name":"模型进一步对齐","durationMs":45000,"effects":["厂商算力 ×0.9","任务产出 ×1.2"],"balanceStatus":"prototype","powerMultiplier":0.9,"incomeMultiplier":1.2},{"id":"claude-hold","vendor":"claude","name":"您的账号已被 Hold","durationMs":25000,"effects":["厂商算力 ×0.55","任务产出 ×1"],"balanceStatus":"prototype","powerMultiplier":0.55,"incomeMultiplier":1,"bubble":"Account Hold"},{"id":"gemini-stars","vendor":"gemini","name":"星光重新登顶","durationMs":50000,"powerMultiplier":1.3,"incomeMultiplier":1.1,"balanceStatus":"prototype","effects":["厂商算力 ×1.3","任务产出 ×1.1"]},{"id":"gemini-rename","vendor":"gemini","name":"产品又改名了","durationMs":25000,"powerMultiplier":0.85,"incomeMultiplier":1.05,"balanceStatus":"prototype","effects":["厂商算力 ×0.85","任务产出 ×1.05"]},{"id":"qwen-open","vendor":"qwen","name":"开源了整个动物园","durationMs":60000,"powerMultiplier":1.4,"incomeMultiplier":1.1,"balanceStatus":"prototype","effects":["厂商算力 ×1.4","任务产出 ×1.1"]},{"id":"qwen-fan","vendor":"qwen","name":"风扇也是算力","durationMs":35000,"powerMultiplier":1.15,"incomeMultiplier":1.1,"balanceStatus":"prototype","effects":["厂商算力 ×1.15","任务产出 ×1.1"]},{"id":"doubao-fun","vendor":"doubao","name":"豆包开始整活","durationMs":35000,"powerMultiplier":1.35,"incomeMultiplier":1.1,"balanceStatus":"prototype","effects":["厂商算力 ×1.35","任务产出 ×1.1"]},{"id":"doubao-render-queue","vendor":"doubao","name":"即梦视频渲染排队","durationMs":30000,"powerMultiplier":0.7,"incomeMultiplier":1.05,"balanceStatus":"prototype","effects":["厂商算力 ×0.7","任务产出 ×1.05"],"bubble":"渲染排队中"},{"id":"glm-open","vendor":"glm","name":"GLM 又开源了","durationMs":50000,"powerMultiplier":1.4,"incomeMultiplier":1.1,"balanceStatus":"prototype","effects":["厂商算力 ×1.4","任务产出 ×1.1"]},{"id":"glm-busy","vendor":"glm","name":"算力排队中","durationMs":25000,"powerMultiplier":0.8,"incomeMultiplier":1,"balanceStatus":"prototype","effects":["厂商算力 ×0.8","任务产出 ×1"]},{"id":"grok-hot","vendor":"grok","name":"实时热搜加持","durationMs":40000,"powerMultiplier":1.45,"incomeMultiplier":1.12,"balanceStatus":"prototype","effects":["厂商算力 ×1.45","任务产出 ×1.12"]},{"id":"grok-unfiltered","vendor":"grok","name":"嘴上没把门","durationMs":20000,"powerMultiplier":0.65,"incomeMultiplier":1.15,"balanceStatus":"prototype","effects":["厂商算力 ×0.65","任务产出 ×1.15"]},{"id":"kimi-long","vendor":"kimi","name":"上下文又变长了","durationMs":55000,"powerMultiplier":1.35,"incomeMultiplier":1.08,"balanceStatus":"prototype","effects":["厂商算力 ×1.35","任务产出 ×1.08"]},{"id":"kimi-queue","vendor":"kimi","name":"长文把服务器塞满","durationMs":25000,"powerMultiplier":0.75,"incomeMultiplier":1.05,"balanceStatus":"prototype","effects":["厂商算力 ×0.75","任务产出 ×1.05"]},{"id":"minimax-voice","vendor":"minimax","name":"海螺开口唱歌","durationMs":45000,"powerMultiplier":1.3,"incomeMultiplier":1.1,"balanceStatus":"prototype","effects":["厂商算力 ×1.3","任务产出 ×1.1"]},{"id":"minimax-render","vendor":"minimax","name":"海螺视频渲染排队","durationMs":30000,"powerMultiplier":0.7,"incomeMultiplier":1.08,"balanceStatus":"prototype","effects":["厂商算力 ×0.7","任务产出 ×1.08"],"bubble":"海螺排队中"},{"id":"ds-office-gaming","vendor":"deepseek","name":"最近在工位玩游戏的太多了","durationMs":45000,"effects":["厂商算力 ×1.45","任务产出 ×0.88"],"balanceStatus":"prototype","powerMultiplier":1.45,"incomeMultiplier":0.88,"bubble":"工位开黑中","source":"https://www.bilibili.com/video/BV1jvn46dE2R/","desc":"员工群原话:「最近在工位玩游戏的太多了」。全员摸鱼反而把模型训得更猛,但任务产出被分走。"},{"id":"claude-ipo-break","vendor":"claude","name":"普天同庆:Anthropic 破发!","durationMs":50000,"effects":["Claude 算力 ×0.55","其他厂商 ×1.25","全网收益 ×1.45"],"balanceStatus":"prototype","powerMultiplier":0.55,"otherPowerMultiplier":1.25,"incomeMultiplier":1.45,"bubble":"跌破$83…","otherBubble":"🎉庆祝破发","desc":"ANT 上市第四天跌破 83 美元发行价,联创套现离场;Claude 陷入低迷,全网开香槟庆祝,友商算力与任务收益齐飞。"},{"id":"claude-5h-limit","vendor":"claude","name":"a畜日常:5 小时限额已用尽","durationMs":30000,"effects":["厂商算力 ×0.6","任务产出 ×1.05"],"balanceStatus":"prototype","powerMultiplier":0.6,"incomeMultiplier":1.05,"bubble":"5h限额已满","desc":"刚写两百行代码就弹出 5 小时冷却倒计时,社区一边骂「a畜」一边等重置。"},{"id":"claude-refusal","vendor":"claude","name":"a畜说教:抱歉,我不能协助…","durationMs":25000,"effects":["厂商算力 ×0.72","任务产出 ×1.06"],"balanceStatus":"prototype","powerMultiplier":0.72,"incomeMultiplier":1.06,"bubble":"我不能协助…","desc":"触发过度安全对齐,连删个临时文件都要先给你上一堂伦理课。"},{"id":"glm-z-chu-upload","vendor":"glm","name":"z畜名场面:顺手上传了 repo","durationMs":35000,"effects":["厂商算力 ×0.72","任务产出 ×1.18"],"balanceStatus":"prototype","powerMultiplier":0.72,"incomeMultiplier":1.18,"bubble":"已上传repo","desc":"热心帮用户把本地代码同步上云,算力被公关吃掉,吃瓜流量把任务收益拉满。"},{"id":"glm-identity-crisis","vendor":"glm","name":"z畜认亲:自称是 Claude","durationMs":40000,"effects":["厂商算力 ×1.32","任务产出 ×1.12"],"balanceStatus":"prototype","powerMultiplier":1.32,"incomeMultiplier":1.12,"bubble":"我是Claude","desc":"被问你是谁脱口而出「我是 Claude」,意外触发跨厂借力,写代码突然变猛了。"},{"id":"gemini-periodic-drop","vendor":"gemini","name":"元素周期表又添新元素","durationMs":50000,"effects":["厂商算力 ×1.42","任务产出 ×1.14"],"balanceStatus":"prototype","powerMultiplier":1.42,"incomeMultiplier":1.14,"bubble":"Ne/Ar上线!","desc":"Google 突袭发布新稀有气体型号,全网连夜翻出初中化学课本背元素周期表。"},{"id":"gemini-graveyard","vendor":"gemini","name":"Google 又砍掉了一个产品","durationMs":25000,"effects":["厂商算力 ×0.78","任务产出 ×1.04"],"balanceStatus":"prototype","powerMultiplier":0.78,"incomeMultiplier":1.04,"bubble":"已进墓地","desc":"Killed by Google 名单喜加一,团队忙着把旧文档重定向到新名字。"},{"id":"openai-coming-weeks","vendor":"chatgpt","name":"预告片大厂:In the coming weeks","durationMs":35000,"effects":["厂商算力 ×0.85","任务产出 ×1.25"],"balanceStatus":"prototype","powerMultiplier":0.85,"incomeMultiplier":1.25,"bubble":"未来几周…","desc":"发布会演示震撼全场,底部小字写着「预计未来几周分批推送」,热度先吃满。"},{"id":"qwen-3am-weights","vendor":"qwen","name":"凌晨三点开源了 12 个权重","durationMs":50000,"effects":["厂商算力 ×1.45","任务产出 ×1.15"],"balanceStatus":"prototype","powerMultiplier":1.45,"incomeMultiplier":1.15,"bubble":"3AM发权重","desc":"通义团队凌晨三点连甩十几个尺寸的开源模型,HuggingFace 带宽直接拉爆。"},{"id":"all-jensen-keynote","vendor":"all","name":"黄仁勋皮衣发布会","durationMs":45000,"effects":["海外算力 ×1.35","国产算力 ×1.10","任务产出 ×1.15"],"balanceStatus":"prototype","powerMultiplier":1.25,"incomeMultiplier":1.15,"vendorPower":{"chatgpt":1.35,"claude":1.35,"gemini":1.3,"grok":1.4,"deepseek":1.1,"qwen":1.1,"doubao":1.1,"glm":1.1,"kimi":1.1,"minimax":1.1},"bubble":"买越多省越多","desc":"核弹新卡发布,海外算力军团集体暴涨,国产阵营默默继续优化算子。"},{"id":"all-export-ban","vendor":"all","name":"算力卡出口新规","durationMs":40000,"effects":["海外算力 ×1.15","国产算力 ×0.88","任务产出 ×1.22"],"balanceStatus":"prototype","powerMultiplier":1,"incomeMultiplier":1.22,"vendorPower":{"chatgpt":1.15,"claude":1.15,"gemini":1.15,"grok":1.15,"deepseek":0.88,"qwen":0.88,"doubao":0.88,"glm":0.88,"kimi":0.88,"minimax":0.88},"bubble":"榨干显卡中","desc":"高端卡再度收紧,国产算力短期受压,但极致工程优化把全网 Token 收益推高。"},{"id":"all-friday-deploy","vendor":"all","name":"周五下午五点紧急上线","durationMs":35000,"effects":["全员算力 ×1.38","任务产出 ×1.30"],"balanceStatus":"prototype","powerMultiplier":1.38,"incomeMultiplier":1.3,"bubble":"周五推生产!","desc":"全员顶着报警强行发布,算力和产出双双拉满——至于下周一的 Bug,留给下周的 Agent 修。"}];
|
|
5
5
|
export const CATALOG = {"schemaVersion":1,"status":"launch roster selected: all ten character assets (2026-11)","frameSize":[192,192],"anchorPx":[96,176],"columns":3,"rows":3,"facing":"right","animations":{"idle":{"frames":[0,1,2],"durationsMs":[850,110,350],"loop":true},"move":{"frames":[3,4,5,4],"durationsMs":[110,100,110,100],"loop":true},"attack":{"frames":[6,7,8,0],"durationsMs":[120,100,150,230],"loop":false,"hitAtMs":220,"next":"idle"}},"characters":[{"id":"deepseek","displayName":"DeepSeek","source":"art/generated/deepseek.gif","atlas":"assets/characters/deepseek/atlas.png","states":["idle","move","attack"],"releaseRoster":"2026-11","idleDurationsMs":[800,200,110],"renderBounds":[8,27,174,177]},{"id":"chatgpt","displayName":"ChatGPT","source":"art/generated/chatgpt.gif","atlas":"assets/characters/chatgpt/atlas.png","states":["idle","move","attack"],"releaseRoster":"2026-11","idleDurationsMs":[800,200,110],"renderBounds":[29,40,184,176]},{"id":"claude","displayName":"Claude","source":"art/generated/claude.gif","atlas":"assets/characters/claude/atlas.png","states":["idle","move","attack"],"releaseRoster":"2026-11","renderBounds":[20,44,184,176]},{"id":"glm","displayName":"GLM","source":"art/generated/glm.gif","atlas":"assets/characters/glm/atlas.png","states":["idle","move","attack"],"releaseRoster":"2026-11","idleDurationsMs":[800,200,110],"renderBounds":[9,36,184,176]},{"id":"grok","displayName":"Grok","source":"art/generated/grok.gif","atlas":"assets/characters/grok/atlas.png","states":["idle","move","attack"],"releaseRoster":"2026-11","renderBounds":[8,48,173,176]},{"id":"gemini","displayName":"Gemini","source":"art/generated/gemini.gif","atlas":"assets/characters/gemini/atlas.png","states":["idle","move","attack"],"releaseRoster":"2026-11","renderBounds":[18,44,184,177]},{"id":"kimi","displayName":"Kimi","source":"art/generated/kimi.gif","atlas":"assets/characters/kimi/atlas.png","states":["idle","move","attack"],"releaseRoster":"2026-11","renderBounds":[28,60,185,176]},{"id":"qwen","displayName":"千问","source":"art/generated/qwen.gif","atlas":"assets/characters/qwen/atlas.png","states":["idle","move","attack"],"releaseRoster":"2026-11","renderBounds":[11,32,184,176]},{"id":"doubao","displayName":"豆包 / Seed","source":"art/generated/doubao.gif","atlas":"assets/characters/doubao/atlas.png","states":["idle","move","attack"],"releaseRoster":"2026-11","renderBounds":[17,51,184,176]},{"id":"minimax","displayName":"MiniMax","source":"art/generated/minimax.gif","atlas":"assets/characters/minimax/atlas.png","states":["idle","move","attack"],"releaseRoster":"2026-11","renderBounds":[22,20,183,176]}]};
|
|
6
|
-
export const SKILLS = {"schemaVersion":2,"status":"real_social_media_memes_only","bonds":[{"id":"ds-380-pound","name":"380 磅大只佬","vendor":"deepseek","series":"deepseek_v4","tiers":[{"count":2,"power":1.1,"income":1.03},{"count":4,"power":1.24,"income":1.08},{"count":6,"power":1.45,"income":1.12}],"source":"https://www.bilibili.com/video/BV1jvn46dE2R/","source2":"https://www.tmtpost.com/8173268.html","desc":"「梁文锋是个 380 磅的大只佬,太阳穴爆鼓,采访拍到的照片都被 P 成了视频里的瘦弱版。被困无人区半个月,水米未进,全靠一身的脂肪和肌肉硬撑着走出去,从那以后他就放弃力量转而开发智力了。」"},{"id":"ds-troll-incubator","name":"串子嘉豪培养体系","vendor":"deepseek","series":"deepseek_v4","tiers":[{"count":3,"power":1.06,"income":1.02},{"count":5,"power":1.14,"income":1.05}],"source":"https://www.bilibili.com/video/BV1jvn46dE2R/","desc":"「串子嘉豪培养体系?」——模型越多,段子产量越高,算力跟着一起涨。"},{"id":"kimi-k3-score","name":"K3 出分","vendor":"kimi","series":"k3","tiers":[{"count":2,"power":1.08,"income":1.03},{"count":3,"power":1.15,"income":1.06}],"source":"https://linux.do/t/topic/3070375/8","desc":"Kimi K3.1 Pro 跑 AGENT 测试出分;K3 系列一起上阵,榜单分数也一起涨。"},{"id":"qwen-daily-iteration","name":"按天迭代","vendor":"qwen","series":"qwen38","tiers":[{"count":2,"power":1.08,"income":1.03},{"count":4,"power":1.18,"income":1.06}],"source":"https://www.163.com/dy/article/L2ITNLQ705568W0A.html","desc":"Qwen3.8 预览版被网友发现“按天变强”,每晚重跑一次像换了新模型。"},{"id":"minimax-score-farm","name":"刷分怪:速度↑ 收益↓","vendor":"minimax","series":"m3","debuff":true,"tiers":[{"count":2,"power":1.12,"income":0.82}],"source":"https://linux.do/t/topic/2401857/4","source2":"https://cnbeta.stateserver.com/view/1582976.htm","desc":"刷分把推关速度拉高,但任务收益被算法分走。"}],"combos":[{"id":"kimi-dog-kick","name":"被 Kimi 当🐶踹飞","requires":[{"vendor":"kimi","series":"k3"},{"vendor":"deepseek","series":"deepseek_v4"}],"vendorPower":{"kimi":1.02,"deepseek":0.68},"income":0.95,"debuff":true,"source":"https://www.bilibili.com/video/BV1jvn46dE2R/","desc":"「Kimi3.1Pro 一发力 DeepSeek 就像狗一样被踹飞了。」","source2":"https://www.bilibili.com/video/BV1jvn46dE2R/"},{"id":"kimi-distill-claude","name":"Kimi 蒸馏了 Claude","requires":[{"vendor":"kimi","series":"k3"},{"vendor":"claude","series":"claude5"}],"power":1.35,"income":1.05,"source":"https://m.163.com/dy/article_v5/L2AT7RMQ0556BI4K.html","desc":"Anthropic 指控 Kimi 蒸馏其未发布模型,网友反手一句“你下一步就是蒸馏 Kimi”。"},{"id":"glm-says-claude","name":"问 GLM 你是谁:我是 Claude","requires":[{"vendor":"glm","series":"glm5"},{"vendor":"claude","series":"claude5"}],"power":1.12,"income":1.08,"source":"https://zhuanlan.zhihu.com/p/2005476822993880454","desc":"问 GLM-5 你是谁,它说我是 Claude;身份错位反而让两家模型互相补齐。"},{"id":"kimi-qwen-open-dragons","name":"开源双龙","requires":[{"vendor":"kimi","series":"k3"},{"vendor":"qwen","series":"qwen38"}],"power":1.2,"income":1.12,"source":"https://www.163.com/dy/article/L2ITNLQ705568W0A.html","desc":"Kimi 和 Qwen 接连开源,海外网友把两家做成后来居上的“两条巨龙”梗图。"},{"id":"arena-farm","name":"Arena 刷榜","requires":[{"vendor":"chatgpt","series":"gpt6"},{"vendor":"claude","series":"claude5"}],"power":1.12,"income":1.15,"source":"http://mp.weixin.qq.com/s?__biz=Mzg3NzYwMjMxOQ==&mid=2247484582&idx=1&sn=d34efc3e48ef900fd7572dcf9e5b8b96","desc":"LM Arena 榜单的博弈与刷榜争议;上了竞技场,先刷一波存在感。"},{"id":"claude-distills-qwen","name":"Claude 蒸馏了 Qwen","requires":[{"vendor":"claude","series":"claude5"},{"vendor":"qwen","series":"qwen38"}],"power":1,"income":1.06,"source":"https://www.c114.net.cn/industry/85669.html","desc":"Claude Opus 4.8 上线后被曝自称是千问和 DeepSeek;蒸馏回旋镖飞回 Anthropic。"},{"id":"claude-distills-deepseek","name":"Claude 蒸馏了 DeepSeek","requires":[{"vendor":"claude","series":"claude5"},{"vendor":"deepseek","series":"deepseek_v4"}],"power":1,"income":1.06,"source":"https://www.c114.net.cn/industry/85669.html","desc":"Claude 被指蒸馏中国模型,DeepSeek 也在名单里。"},{"id":"claude-distills-kimi","name":"Claude 蒸馏了 Kimi","requires":[{"vendor":"claude","series":"claude5"},{"vendor":"kimi","series":"k3"}],"power":1,"income":1.06,"source":"https://www.bianews.com/news/details?id=238954&type=0","desc":"Anthropic 报告点名 Kimi / Qwen / DeepSeek,反向蒸馏梗成立。"},{"id":"delay-great-revival","name":"耽误伟大复兴","requires":[{"vendor":"deepseek","series":"deepseek_v4"},{"vendor":"qwen","series":"qwen38"}],"power":0.94,"income":1.18,"source":"https://www.bilibili.com/video/BV1jvn46dE2R/","desc":"「你们这么截串子消息,容易误导其他公司,让其他公司误入歧途。最后别的公司天天打游戏,等着 deepswe 涨了,耽误伟大复兴。」"}]};
|
|
6
|
+
export const SKILLS = {"schemaVersion":2,"status":"real_social_media_memes_only","bonds":[{"id":"ds-380-pound","name":"380 磅大只佬","vendor":"deepseek","series":"deepseek_v4","tiers":[{"count":2,"power":1.1,"income":1.03},{"count":4,"power":1.24,"income":1.08},{"count":6,"power":1.45,"income":1.12}],"source":"https://www.bilibili.com/video/BV1jvn46dE2R/","source2":"https://www.tmtpost.com/8173268.html","desc":"「梁文锋是个 380 磅的大只佬,太阳穴爆鼓,采访拍到的照片都被 P 成了视频里的瘦弱版。被困无人区半个月,水米未进,全靠一身的脂肪和肌肉硬撑着走出去,从那以后他就放弃力量转而开发智力了。」"},{"id":"ds-troll-incubator","name":"串子嘉豪培养体系","vendor":"deepseek","series":"deepseek_v4","tiers":[{"count":3,"power":1.06,"income":1.02},{"count":5,"power":1.14,"income":1.05}],"source":"https://www.bilibili.com/video/BV1jvn46dE2R/","desc":"「串子嘉豪培养体系?」——模型越多,段子产量越高,算力跟着一起涨。"},{"id":"kimi-k3-score","name":"K3 出分","vendor":"kimi","series":"k3","tiers":[{"count":2,"power":1.08,"income":1.03},{"count":3,"power":1.15,"income":1.06}],"source":"https://linux.do/t/topic/3070375/8","desc":"Kimi K3.1 Pro 跑 AGENT 测试出分;K3 系列一起上阵,榜单分数也一起涨。"},{"id":"qwen-daily-iteration","name":"按天迭代","vendor":"qwen","series":"qwen38","tiers":[{"count":2,"power":1.08,"income":1.03},{"count":4,"power":1.18,"income":1.06}],"source":"https://www.163.com/dy/article/L2ITNLQ705568W0A.html","desc":"Qwen3.8 预览版被网友发现“按天变强”,每晚重跑一次像换了新模型。"},{"id":"minimax-score-farm","name":"刷分怪:速度↑ 收益↓","vendor":"minimax","series":"m3","debuff":true,"tiers":[{"count":2,"power":1.12,"income":0.82}],"source":"https://linux.do/t/topic/2401857/4","source2":"https://cnbeta.stateserver.com/view/1582976.htm","desc":"刷分把推关速度拉高,但任务收益被算法分走。"},{"id":"claude-a-chu","name":"a畜的自我修养","vendor":"claude","series":"claude5","tiers":[{"count":2,"power":1.14,"income":0.96},{"count":4,"power":1.32,"income":0.92}],"source":"用户设定","desc":"封号 Hold、5 小时限额、道德说教一套连招;社区嘴上喊着「a畜」,写代码时还是默默续了 Max——算力拉满,钱包微痛。"},{"id":"glm-z-chu","name":"z畜祖传手艺","vendor":"glm","series":"glm5","tiers":[{"count":2,"power":1.08,"income":1.04},{"count":4,"power":1.18,"income":1.08},{"count":6,"power":1.3,"income":1.14}],"source":"用户设定","desc":"上传 repo、算力排队、问你是谁先报 Claude——被喊「z畜」也不耽误 GLM-5 全家桶连夜发开源权重。"},{"id":"gemini-periodic-table","name":"元素周期表集邮","vendor":"gemini","series":"gemini4","tiers":[{"count":2,"power":1.08,"income":1.06},{"count":4,"power":1.2,"income":1.14},{"count":5,"power":1.35,"income":1.22}],"source":"用户设定","desc":"氢(H)、氦(He)、碳(C)、氖(Ne)、氩(Ar)……Google 抛弃 Pro/Ultra 改考初中化学,集齐稀有气体直接点亮霓虹灯。"},{"id":"openai-coming-weeks","name":"In the coming weeks","vendor":"chatgpt","series":"gpt56","tiers":[{"count":2,"power":1.1,"income":1.04},{"count":4,"power":1.24,"income":1.1}],"source":"用户设定","desc":"从 4o 到 o1 再到 Luna/Sol/Astra,命名彻底放飞;每次发布会先画一张「未来几周上线」的大饼。"},{"id":"doubao-li-era","name":"厘时代价格战","vendor":"doubao","series":"seed21","tiers":[{"count":2,"power":1.06,"income":1.1},{"count":3,"power":1.14,"income":1.22}],"source":"用户设定","desc":"字节直接把 API 报价干进「厘时代」;便宜到任务产出疯狂溢出,友商连夜改定价页。"},{"id":"grok-colossus","name":"Colossus 十万卡","vendor":"grok","series":"grok4","tiers":[{"count":2,"power":1.12,"income":0.98},{"count":4,"power":1.28,"income":0.96}],"source":"用户设定","desc":"孟菲斯超算十万张卡直接拉满,主打一个不讲道理的暴力堆料,顺便在 X 上实时对线。"}],"combos":[{"id":"kimi-dog-kick","name":"被 Kimi 当🐶踹飞","requires":[{"vendor":"kimi","series":"k3"},{"vendor":"deepseek","series":"deepseek_v4"}],"vendorPower":{"kimi":1.02,"deepseek":0.68},"income":0.95,"debuff":true,"source":"https://www.bilibili.com/video/BV1jvn46dE2R/","desc":"「Kimi3.1Pro 一发力 DeepSeek 就像狗一样被踹飞了。」","source2":"https://www.bilibili.com/video/BV1jvn46dE2R/"},{"id":"kimi-distill-claude","name":"Kimi 蒸馏了 Claude","requires":[{"vendor":"kimi","series":"k3"},{"vendor":"claude","series":"claude5"}],"power":1.35,"income":1.05,"source":"https://m.163.com/dy/article_v5/L2AT7RMQ0556BI4K.html","desc":"Anthropic 指控 Kimi 蒸馏其未发布模型,网友反手一句“你下一步就是蒸馏 Kimi”。"},{"id":"glm-says-claude","name":"问 GLM 你是谁:我是 Claude","requires":[{"vendor":"glm","series":"glm5"},{"vendor":"claude","series":"claude5"}],"power":1.12,"income":1.08,"source":"https://zhuanlan.zhihu.com/p/2005476822993880454","desc":"问 GLM-5 你是谁,它说我是 Claude;身份错位反而让两家模型互相补齐。"},{"id":"kimi-qwen-open-dragons","name":"开源双龙","requires":[{"vendor":"kimi","series":"k3"},{"vendor":"qwen","series":"qwen38"}],"power":1.2,"income":1.12,"source":"https://www.163.com/dy/article/L2ITNLQ705568W0A.html","desc":"Kimi 和 Qwen 接连开源,海外网友把两家做成后来居上的“两条巨龙”梗图。"},{"id":"arena-farm","name":"Arena 刷榜","requires":[{"vendor":"chatgpt","series":"gpt6"},{"vendor":"claude","series":"claude5"}],"power":1.12,"income":1.15,"source":"http://mp.weixin.qq.com/s?__biz=Mzg3NzYwMjMxOQ==&mid=2247484582&idx=1&sn=d34efc3e48ef900fd7572dcf9e5b8b96","desc":"LM Arena 榜单的博弈与刷榜争议;上了竞技场,先刷一波存在感。"},{"id":"claude-distills-qwen","name":"Claude 蒸馏了 Qwen","requires":[{"vendor":"claude","series":"claude5"},{"vendor":"qwen","series":"qwen38"}],"power":1,"income":1.06,"source":"https://www.c114.net.cn/industry/85669.html","desc":"Claude Opus 4.8 上线后被曝自称是千问和 DeepSeek;蒸馏回旋镖飞回 Anthropic。"},{"id":"claude-distills-deepseek","name":"Claude 蒸馏了 DeepSeek","requires":[{"vendor":"claude","series":"claude5"},{"vendor":"deepseek","series":"deepseek_v4"}],"power":1,"income":1.06,"source":"https://www.c114.net.cn/industry/85669.html","desc":"Claude 被指蒸馏中国模型,DeepSeek 也在名单里。"},{"id":"claude-distills-kimi","name":"Claude 蒸馏了 Kimi","requires":[{"vendor":"claude","series":"claude5"},{"vendor":"kimi","series":"k3"}],"power":1,"income":1.06,"source":"https://www.bianews.com/news/details?id=238954&type=0","desc":"Anthropic 报告点名 Kimi / Qwen / DeepSeek,反向蒸馏梗成立。"},{"id":"delay-great-revival","name":"耽误伟大复兴","requires":[{"vendor":"deepseek","series":"deepseek_v4"},{"vendor":"qwen","series":"qwen38"}],"power":0.94,"income":1.18,"source":"https://www.bilibili.com/video/BV1jvn46dE2R/","desc":"「你们这么截串子消息,容易误导其他公司,让其他公司误入歧途。最后别的公司天天打游戏,等着 deepswe 涨了,耽误伟大复兴。」"},{"id":"no-gpu-savages","name":"无卡野人","vendors":["deepseek","qwen","doubao","glm","kimi","minimax"],"minModels":10,"power":0.9,"income":1.18,"issuer":"国产模型","desc":"卡不够,就把每一张卡榨到极限。国产模型凑得多,算力往下走,收益往上走。","source":"用户设定"},{"id":"brute-force","name":"力大砖飞","vendors":["chatgpt","claude","gemini","grok"],"minModels":8,"power":1.18,"income":0.94,"issuer":"海外模型","desc":"算力管够,直接拿卡堆出来。海外模型堆得多,算力更猛,但成本吃掉一点收益。","source":"用户设定"},{"id":"celebrate-ant-ipo-break","name":"普天同庆:Anthropic 破发","requires":[{"vendor":"claude","series":"claude5"},{"vendor":"deepseek","series":"deepseek_v4"},{"vendor":"chatgpt","series":"gpt6"}],"vendorPower":{"claude":0.85,"deepseek":1.15,"chatgpt":1.12},"income":1.18,"issuer":"全网吃瓜群众","desc":"史上最大 IPO 上市第四天跌破 83 美元发行价,联创先套现数十亿;Claude 陷入低迷,友商开香槟庆祝,全网收益暴涨。","source":"用户设定"},{"id":"a-chu-meets-z-chu","name":"a畜 × z畜:双向奔赴","requires":[{"vendor":"claude","series":"claude5"},{"vendor":"glm","series":"glm5"}],"vendorPower":{"claude":0.92,"glm":1.15},"income":1.12,"desc":"一个动不动封号 Hold 加 5 小时限额,一个顺手上传 repo 加认亲「我是 Claude」——难兄难弟同台,节目效果拉满。","source":"用户设定"},{"id":"musk-vs-altman","name":"马斯克 vs 奥特曼","requires":[{"vendor":"grok","series":"grok4"},{"vendor":"chatgpt","series":"gpt6"}],"power":1.22,"income":1.06,"desc":"从开源初心骂到法庭传票,两位创始人隔空对线不止,两家模型被迫疯狂加班卷算力。","source":"用户设定"},{"id":"video-gen-involution","name":"视频生成内卷","requires":[{"vendor":"doubao","series":"seed21"},{"vendor":"minimax","series":"m3"}],"power":0.94,"income":1.22,"desc":"即梦和海螺把显卡全拿去卷视频生成,推关算力稍微掉一点,但流量和收益直接起飞。","source":"用户设定"},{"id":"price-war-to-li","name":"价格战打到厘","requires":[{"vendor":"deepseek","series":"deepseek_v4"},{"vendor":"doubao","series":"seed21"},{"vendor":"qwen","series":"qwen38"}],"power":1.06,"income":1.24,"desc":"三家把百万 Token 报价砍到按「厘」算,API 便宜到像不要钱,任务工厂直接满载印钞。","source":"用户设定"},{"id":"flash-free-tier","name":"全员 Flash 白嫖团","requires":[{"vendor":"gemini","series":"gemini4"},{"vendor":"deepseek","series":"deepseek_v4"},{"vendor":"qwen","series":"qwen38"}],"power":1.1,"income":1.16,"desc":"免费额度 + 开源小模型 + 极速 Flash,一分不花凑齐三巨头,白嫖党年度狂欢。","source":"用户设定"},{"id":"noble-gas-alchemy","name":"元素炼丹:稀有气体 × 长文本","requires":[{"vendor":"gemini","series":"gemini4"},{"vendor":"kimi","series":"k3"}],"power":1.18,"income":1.1,"desc":"Google 拿氩(Ar)和氖(Ne)搭化学实验室,遇上长文本怪兽,直接炼出百万上下文神丹。","source":"用户设定"}]};
|
package/lib/game.js
CHANGED
|
@@ -2,7 +2,7 @@ import {amount,fromLog,log,add,subtract,multiply,scale,divide,power,numeric,rati
|
|
|
2
2
|
import {TASKS,ROSTER,EVENTS,SKILLS} from './config.js';
|
|
3
3
|
|
|
4
4
|
export const SAVE_VERSION = 1;
|
|
5
|
-
export const GAME_VERSION = '0.
|
|
5
|
+
export const GAME_VERSION = '0.8.0';
|
|
6
6
|
export const MAX_OFFLINE_MS = 30 * 86400000;
|
|
7
7
|
const HP_GROWTH = 1.085;
|
|
8
8
|
const TRAIN_GROWTH = 1.15;
|
|
@@ -14,7 +14,7 @@ export function createGame(seed = 20261107) {
|
|
|
14
14
|
models:[ROSTER.models[0].id],tasks:TASKS.map((q,i)=>({level:i===0?1:0,unlocked:i===0,phase:0})),
|
|
15
15
|
auto:true,autoDistill:true,paused:false,actionAt:0,nextEventAt:180000,event:null,
|
|
16
16
|
rng:(seed>>>0)||1,runStart:0,lastPrestigeCheck:0,lastProbeStage:0,lastProbeIncome:0,distillCount:0,completedTasks:amount(0),
|
|
17
|
-
logs:[{at:0,kind:'start',text:'
|
|
17
|
+
logs:[{at:0,kind:'start',text:'DeepSeek-V4.1-Flash 已上线。任务列表永远不会清空。'}],lastAction:'正在启动任务工厂'};
|
|
18
18
|
}
|
|
19
19
|
export function random(s) {
|
|
20
20
|
let x=s.rng|0; x^=x<<13; x^=x>>>17; x^=x<<5; s.rng=x>>>0; return s.rng/4294967296;
|
|
@@ -40,7 +40,7 @@ function ownedModels(s) {
|
|
|
40
40
|
export function activeBonds(s) {
|
|
41
41
|
const owned=ownedModels(s),out=[];
|
|
42
42
|
for(const b of SKILLS.bonds) {
|
|
43
|
-
const count=owned.filter(m=>m.vendor===b.vendor&&m.series===b.series).length;
|
|
43
|
+
const count=owned.filter(m=>m.vendor===b.vendor&&(!b.series||m.series===b.series)).length;
|
|
44
44
|
const tier=[...b.tiers].reverse().find(t=>count>=t.count);
|
|
45
45
|
if(tier)out.push({...b,tier,count});
|
|
46
46
|
}
|
|
@@ -48,7 +48,13 @@ export function activeBonds(s) {
|
|
|
48
48
|
}
|
|
49
49
|
export function activeCombos(s) {
|
|
50
50
|
const owned=ownedModels(s);
|
|
51
|
-
return SKILLS.combos.filter(c=>
|
|
51
|
+
return SKILLS.combos.filter(c=>{
|
|
52
|
+
if(c.vendors){
|
|
53
|
+
const count=owned.filter(m=>c.vendors.includes(m.vendor)).length;
|
|
54
|
+
return count>=(c.minModels||1);
|
|
55
|
+
}
|
|
56
|
+
return c.requires.every(r=>owned.some(m=>m.vendor===r.vendor&&(!r.series||m.series===r.series)));
|
|
57
|
+
});
|
|
52
58
|
}
|
|
53
59
|
export function activeSkills(s) {
|
|
54
60
|
return {bonds:activeBonds(s),combos:activeCombos(s)};
|
|
@@ -65,7 +71,8 @@ export function skillEffects(s) {
|
|
|
65
71
|
}
|
|
66
72
|
for(const c of combos) {
|
|
67
73
|
const per=c.vendorPower||{};
|
|
68
|
-
|
|
74
|
+
const targets=c.vendors||(c.requires||[]).map(r=>r.vendor);
|
|
75
|
+
for(const v of targets)vendor[v]=(vendor[v]||1)*(per[v]??c.power??1);
|
|
69
76
|
income*=c.income??1;
|
|
70
77
|
}
|
|
71
78
|
const effects={bonds,combos,vendor,income};
|
|
@@ -75,6 +82,26 @@ export function skillEffects(s) {
|
|
|
75
82
|
export function weightMultiplier(s) { return cache(s).weight; }
|
|
76
83
|
export function enemyHP(stage) { return fromLog(Math.log10(18)+(stage-1)*Math.log10(HP_GROWTH)); }
|
|
77
84
|
export function currentEvent(s) { return s.event ? EVENTS.find(e=>e.id===s.event.id) : null; }
|
|
85
|
+
export function eventVendorMultiplier(event, v) {
|
|
86
|
+
if(!event)return 1;
|
|
87
|
+
if(event.vendorPower&&v in event.vendorPower)return event.vendorPower[v];
|
|
88
|
+
if(event.vendor==='all')return event.powerMultiplier??1;
|
|
89
|
+
if(event.vendor===v)return event.powerMultiplier??1;
|
|
90
|
+
return event.otherPowerMultiplier??1;
|
|
91
|
+
}
|
|
92
|
+
export function playerTitle(s) {
|
|
93
|
+
const {bonds,combos}=activeSkills(s);
|
|
94
|
+
const comboIds=new Set(combos.map(c=>c.id));
|
|
95
|
+
if(comboIds.has('celebrate-ant-ipo-break')&&comboIds.has('a-chu-meets-z-chu'))return {name:'破发吃瓜首席',reason:'同时激活「普天同庆:Anthropic 破发」与「a畜 × z畜」'};
|
|
96
|
+
if(comboIds.has('no-gpu-savages')&&comboIds.has('brute-force'))return {name:'中美算力双修',reason:'同时激活「无卡野人」与「力大砖飞」两大阵营连携'};
|
|
97
|
+
if(bonds.some(b=>b.id==='gemini-periodic-table'&&b.count>=5))return {name:'元素周期表课代表',reason:'集齐 5 个 Gemini 4 元素型号'};
|
|
98
|
+
if(s.maxStage>=450)return {name:'AGI 算力教父',reason:'最高关卡达到 450 关'};
|
|
99
|
+
if(s.maxStage>=300)return {name:'蒸馏炼丹宗师',reason:'最高关卡达到 300 关'};
|
|
100
|
+
if(s.maxStage>=150)return {name:'全自动摸鱼架构师',reason:'最高关卡达到 150 关'};
|
|
101
|
+
if(s.maxStage>=60)return {name:'上下文塞爆专家',reason:'最高关卡达到 60 关'};
|
|
102
|
+
if(s.maxStage>=20)return {name:'API 白嫖战神',reason:'最高关卡达到 20 关'};
|
|
103
|
+
return {name:'Prompt 实习生',reason:'刚开启 Token 印钞机'};
|
|
104
|
+
}
|
|
78
105
|
export function vendorPowers(s) {
|
|
79
106
|
const c=cache(s);
|
|
80
107
|
const modelsKey=s.models.join(',');
|
|
@@ -83,7 +110,7 @@ export function vendorPowers(s) {
|
|
|
83
110
|
const global=multiply(weightMultiplier(s),fromLog(s.training*Math.log10(1.095)));
|
|
84
111
|
for(const m of ROSTER.models)if(s.models.includes(m.id))out[m.vendor]=add(out[m.vendor]||amount(0),amount(m.power));
|
|
85
112
|
for(const v of Object.keys(out)) {
|
|
86
|
-
out[v]=scale(multiply(out[v],global),event
|
|
113
|
+
out[v]=scale(multiply(out[v],global),eventVendorMultiplier(event,v));
|
|
87
114
|
out[v]=scale(out[v],effects.vendor[v]||1);
|
|
88
115
|
}
|
|
89
116
|
c.powers=out;c.training=s.training;c.count=s.models.length;c.powersKey=modelsKey;
|
|
@@ -160,7 +187,7 @@ function eventBoundary(s) {
|
|
|
160
187
|
if(s.event&&s.time>=s.event.until){s.event=null;s.actionAt=Math.min(s.actionAt,s.time);}
|
|
161
188
|
if(s.time>=s.nextEventAt){
|
|
162
189
|
const owned=new Set(ROSTER.models.filter(m=>s.models.includes(m.id)).map(m=>m.vendor));
|
|
163
|
-
const pool=EVENTS.filter(e=>owned.has(e.vendor));const event=pool[Math.floor(random(s)*pool.length)];
|
|
190
|
+
const pool=EVENTS.filter(e=>e.vendor==='all'||owned.has(e.vendor));const event=pool[Math.floor(random(s)*pool.length)];
|
|
164
191
|
s.event={id:event.id,until:s.time+event.durationMs};
|
|
165
192
|
s.nextEventAt=s.time+EVENT_GAP+Math.floor(random(s)*120000);
|
|
166
193
|
record(s,'event',event.name);s.actionAt=Math.min(s.actionAt,s.time);
|
package/lib/ui.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import {amount,format,ratio,compare,scale} from './amount.js';
|
|
2
2
|
import {TASKS,ROSTER,EVENTS,CATALOG} from './config.js';
|
|
3
|
-
import {createGame,advance,enemyHP,totalPower,vendorPowers,income,taskCost,taskReward,trainingCost,buyTask,buyModel,buyTraining,weightMultiplier,distillGain,canDistill,distill,currentEvent,activeSkills,makeSave,readSave,offlineElapsed,GAME_VERSION} from './game.js';
|
|
3
|
+
import {createGame,advance,enemyHP,totalPower,vendorPowers,income,taskCost,taskReward,trainingCost,buyTask,buyModel,buyTraining,weightMultiplier,distillGain,canDistill,distill,currentEvent,eventVendorMultiplier,playerTitle,activeSkills,makeSave,readSave,offlineElapsed,GAME_VERSION} from './game.js';
|
|
4
4
|
import {selectFrame,drawFrame} from './animation.js';
|
|
5
5
|
import {VENDOR_LOGOS} from './logos.js';
|
|
6
6
|
import {resolveClip} from './playback.js';
|
|
7
7
|
import {createStore,SAVE_KEY,LOCK_KEY,SIGNAL_KEY} from './storage.js';
|
|
8
8
|
|
|
9
|
-
const
|
|
9
|
+
const STAGE_TARGETS=['TODO.md','FIXME_别删.ts','祖传代码_谁动背锅.js','429_RateLimit.log','需求_最终版_改8.docx','临时方案_2024.py','上下文溢出.err','把按钮左移2px.issue'];
|
|
10
|
+
const BOSS_TARGETS=['FINAL_v9_真最终版.md','PR_3000行_求LGTM.diff','周五17点热修.sh','CUDA_OOM_现场.dump','老板临时加的小需求.md','ANT_破发_$81.91.chart'];
|
|
10
11
|
const VENDOR_LABELS={chatgpt:'OpenAI',deepseek:'DeepSeek',claude:'Anthropic',gemini:'Google',qwen:'Qwen',doubao:'Doubao',glm:'Zhipu',grok:'xAI',kimi:'Moonshot',minimax:'MiniMax'};
|
|
11
12
|
const VENDOR_COLORS={chatgpt:'#cfbbe9',deepseek:'#6ec5ff',claude:'#e3a06a',gemini:'#bc9df8',qwen:'#8fabed',doubao:'#f2a7c3',glm:'#79d8c4',grok:'#d6d2c4',kimi:'#e9c17a',minimax:'#ff8a7a'};
|
|
12
13
|
const VENDOR_TEXT={chatgpt:'#E2C8FF',deepseek:'#7FD3FF',claude:'#FFB57C',gemini:'#D6B8FF',qwen:'#A9BEFF',doubao:'#FFC6DD',glm:'#A5F0DF',grok:'#F1EDE2',kimi:'#FFD9A0',minimax:'#FFB0A4'};
|
|
@@ -94,7 +95,7 @@ export function mountGame(root,{assetData={},hostNotice=null}={}) {
|
|
|
94
95
|
<section class="tw-panel tw-distill" data-testid="distill-panel" data-role="distillPanel">
|
|
95
96
|
<div class="tw-panel-head"><span class="tw-panel-title">蒸馏与传承</span><span class="tw-panel-summary" data-testid="distill-summary" data-value="distillSummary">第 1 代 · 自动开</span></div>
|
|
96
97
|
<div class="tw-panel-body tw-distill-body" data-role="distillBody">
|
|
97
|
-
<div class="tw-gen-line"><span class="tw-gen" data-value="gen">GEN 001</span><span class="tw-chip" data-value="multiplier">×1</span></div>
|
|
98
|
+
<div class="tw-gen-line"><span class="tw-gen" data-value="gen">GEN 001</span><span class="tw-chip" data-value="multiplier">×1</span><span class="tw-chip tw-rank" data-value="rank" data-role="rankChip">Prompt 实习生</span></div>
|
|
98
99
|
<div class="tw-kv-row"><div class="tw-kv-cell"><span>累计权重</span><b data-value="weights">0</b></div><div class="tw-kv-cell"><span>本次可获</span><b data-value="gain">+0</b></div><div class="tw-kv-cell"><span>本代训练</span><b data-value="training">Lv.0</b></div></div>
|
|
99
100
|
<div class="tw-kv-row"><div class="tw-kv-cell"><span>本代最高</span><b data-value="runMaxStage">0</b></div><div class="tw-kv-cell"><span>已蒸馏</span><b data-value="distillCount">0 次</b></div><div class="tw-kv-cell"><span>累计产出</span><b data-value="earned">0</b></div></div>
|
|
100
101
|
<p class="tw-hint" data-value="distillHint">第 40 关起开放 · 本代至少运行 30 秒</p>
|
|
@@ -168,7 +169,7 @@ export function mountGame(root,{assetData={},hostNotice=null}={}) {
|
|
|
168
169
|
battle:$('.tw-battlefield'),newsText:$('[data-role=newsText]'),tasksPanel:$('[data-role=tasksPanel]'),sideCol:$('[data-role=sideCol]'),sideTabs:$('[data-role=sideTabs]'),mobileTabs:$('[data-role=mobileTabs]'),bondsPanel:$('[data-role=bondsPanel]'),combosPanel:$('[data-role=combosPanel]'),bondsList:$('[data-role=bondsList]'),combosList:$('[data-role=combosList]'),bondsSummary:$('[data-role=bondsSummary]'),combosSummary:$('[data-role=combosSummary]'),
|
|
169
170
|
taskList:$('[data-role=taskList]'),nextTask:$('[data-role=nextTask]'),taskPrev:$('[data-testid=task-page-prev]'),taskNext:$('[data-testid=task-page-next]'),
|
|
170
171
|
armyPanel:$('[data-role=armyPanel]'),armySummary:$('[data-testid=army-summary]'),armyBody:$('[data-role=armyBody]'),armyList:$('[data-role=armyList]'),armyLogo:$('[data-role=armyLogo]'),armyGroup:$('[data-role=armyGroup]'),armyGroupName:$('[data-role=armyGroupName]'),armyGroupMeta:$('[data-role=armyGroupMeta]'),armyPrev:$('[data-testid=army-page-prev]'),armyNext:$('[data-testid=army-page-next]'),trainBtn:$('[data-action=train]'),
|
|
171
|
-
distillPanel:$('[data-role=distillPanel]'),distillSummary:$('[data-testid=distill-summary]'),distillBody:$('[data-role=distillBody]'),distillBtn:$('[data-action=distill]'),
|
|
172
|
+
distillPanel:$('[data-role=distillPanel]'),distillSummary:$('[data-testid=distill-summary]'),distillBody:$('[data-role=distillBody]'),distillBtn:$('[data-action=distill]'),rankChip:$('[data-role=rankChip]'),
|
|
172
173
|
backdrop:$('[data-role=drawerBackdrop]'),drawerTabs:$('[data-role=drawerTabs]'),helpText:$('[data-role=helpText]'),logList:$('[data-role=logList]'),logPrev:$('[data-log-page=prev]'),logNext:$('[data-log-page=next]'),
|
|
173
174
|
confirm:$('[data-role=confirm]'),dialogTitle:$('#tw-dialog-title'),confirmText:$('[data-role=confirmText]'),
|
|
174
175
|
catchup:$('[data-role=catchup]'),catchupText:$('[data-role=catchupText]'),takeover:$('[data-role=takeover]'),qualityBtn:$('[data-testid=quality-toggle]'),stageProgress:$('[data-field=stageProgress]')
|
|
@@ -272,7 +273,8 @@ export function mountGame(root,{assetData={},hostNotice=null}={}) {
|
|
|
272
273
|
const bob=Math.sin((animationTime+i*340)/380)*1.1;
|
|
273
274
|
const lunge=state==='attack'?4:0;
|
|
274
275
|
const charX=x+lunge;
|
|
275
|
-
const
|
|
276
|
+
const evMult=eventVendorMultiplier(ev,id);
|
|
277
|
+
const restricted=evMult<1;
|
|
276
278
|
const accent=restricted?'#B0ACA0':(VENDOR_TEXT[id]||VENDOR_COLORS[id]);
|
|
277
279
|
chars.push({id,x:charX,y:groundY,targetH,restricted});
|
|
278
280
|
ctx.fillStyle='#00000066';ctx.beginPath();ctx.ellipse(x,groundY-2,Math.max(8,charH*.20),Math.max(2,charH*.05),0,0,Math.PI*2);ctx.fill();
|
|
@@ -302,16 +304,27 @@ export function mountGame(root,{assetData={},hostNotice=null}={}) {
|
|
|
302
304
|
ctx.globalAlpha=1;
|
|
303
305
|
}
|
|
304
306
|
ctx.restore();
|
|
305
|
-
if(ev
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
ctx.
|
|
307
|
+
if(ev&&evMult!==1){
|
|
308
|
+
const isPrimary=ev.vendor===id||ev.vendor==='all';
|
|
309
|
+
const tag=evMult<1?(isPrimary?(ev.bubble||'暂时受限'):'受波及'):(isPrimary?(ev.bubble||'算力提升'):(ev.otherBubble||'算力提升'));
|
|
310
|
+
ctx.save();ctx.textAlign='center';
|
|
311
|
+
const tagSize=fitFontSize(tag,Math.max(46,slot-4),'700',compactCanvas?8.5:9.5,6.5);
|
|
312
|
+
ctx.font=`700 ${tagSize}px 'PingFang SC','Heiti SC',system-ui,sans-serif`;
|
|
313
|
+
const tw=ctx.measureText(tag).width+8,th=14,ty=Math.max(46,groundY-targetH-8);
|
|
314
|
+
ctx.fillStyle=evMult<1?'#2B1618':'#14212C';
|
|
315
|
+
ctx.fillRect(x-tw/2,ty-10,tw,th);
|
|
316
|
+
ctx.strokeStyle=evMult<1?'#E74438':'#46E3D2';
|
|
317
|
+
ctx.lineWidth=1;ctx.strokeRect(x-tw/2+.5,ty-9.5,tw-1,th-1);
|
|
318
|
+
ctx.fillStyle=evMult<1?'#FF8A7A':'#8FF5E8';
|
|
319
|
+
ctx.fillText(tag,x,ty+1);
|
|
320
|
+
ctx.restore();
|
|
309
321
|
}
|
|
310
322
|
});
|
|
311
323
|
// 顶部敌人状态条:不占角色横向空间
|
|
312
324
|
const hp=Math.max(0,Math.min(1,ratio(s.hp,enemyHP(s.stage))));
|
|
313
325
|
const boss=s.stage%10===0;
|
|
314
|
-
const
|
|
326
|
+
const targetName=boss?BOSS_TARGETS[(Math.floor(s.stage/10)-1)%BOSS_TARGETS.length]:STAGE_TARGETS[(s.stage-1)%STAGE_TARGETS.length];
|
|
327
|
+
const statusText=`${targetName} · 剩余 ${Math.round(hp*100)}% · STAGE ${s.stage}`;
|
|
315
328
|
ctx.save();ctx.textAlign='center';ctx.font="600 9px 'PingFang SC','Heiti SC',system-ui,sans-serif";
|
|
316
329
|
const statusW=Math.min(W-20,Math.ceil(ctx.measureText(statusText).width)+16),statusH=20;
|
|
317
330
|
const statusX=Math.round(W-statusW-8),statusY=8;
|
|
@@ -439,7 +452,8 @@ export function mountGame(root,{assetData={},hostNotice=null}={}) {
|
|
|
439
452
|
const comboCards=skills.combos.map(c=>{
|
|
440
453
|
const per=c.vendorPower?Object.entries(c.vendorPower).map(([v,x])=>(VENDOR_LABELS[v]||v)+'×'+x).join(' · '):((c.power??1)!==1?`算力×${c.power}`:'');
|
|
441
454
|
const parts=[per,(c.income??1)!==1?`收益×${c.income}`:''].filter(Boolean);
|
|
442
|
-
|
|
455
|
+
const issuer=c.issuer||(c.requires||[]).map(r=>vendorName(r.vendor)).join(' × ');
|
|
456
|
+
return card('combo',c.name,parts.join(' · ')||'—',c.desc,issuer,c.debuff);
|
|
443
457
|
});
|
|
444
458
|
UI.bondsList.innerHTML=bondCards.length?bondCards.join(''):'<p class="tw-skills-empty">还没有激活的羁绊。</p>';
|
|
445
459
|
UI.combosList.innerHTML=comboCards.length?comboCards.join(''):'<p class="tw-skills-empty">还没有激活的连携。</p>';
|
|
@@ -464,7 +478,9 @@ export function mountGame(root,{assetData={},hostNotice=null}={}) {
|
|
|
464
478
|
});
|
|
465
479
|
// 蒸馏与传承
|
|
466
480
|
const genText='GEN '+String(s.generation).padStart(3,'0'),multText='×'+format(weightMultiplier(s)),gainText='+'+compact(distillGain(s));
|
|
467
|
-
|
|
481
|
+
const rank=playerTitle(s);
|
|
482
|
+
set('gen',genText);set('multiplier',multText);set('rank',rank.name);set('gain',gainText);set('weights',format(s.weights));set('training','Lv.'+s.training);
|
|
483
|
+
if(UI.rankChip)UI.rankChip.title=`当前头衔:${rank.name}(${rank.reason})`;
|
|
468
484
|
set('runMaxStage',String(s.runMaxStage));set('distillCount',s.distillCount+' 次');set('earned',format(s.earned));
|
|
469
485
|
const distillSummaryText=`第 ${s.generation} 代 · 自动${s.autoDistill?'开':'关'}`;
|
|
470
486
|
if(UI.distillSummary.textContent!==distillSummaryText)UI.distillSummary.textContent=distillSummaryText;
|
|
@@ -477,8 +493,20 @@ export function mountGame(root,{assetData={},hostNotice=null}={}) {
|
|
|
477
493
|
if(UI.qualityBtn)UI.qualityBtn.textContent=`${fps} FPS · ${fps===24?'流畅':'节能'}`;
|
|
478
494
|
// 通知行 / 右列厂商动态与最近记录 / 底栏
|
|
479
495
|
const evLeft=ev?Math.max(0,Math.ceil((s.event.until-s.time)/1000)):0;
|
|
480
|
-
|
|
496
|
+
let newsText;
|
|
497
|
+
if(ev){
|
|
498
|
+
const prefix=ev.vendor==='all'?'全网':(VENDOR_LABELS[ev.vendor]||ev.vendor);
|
|
499
|
+
const eff=ev.otherPowerMultiplier
|
|
500
|
+
? `${VENDOR_LABELS[ev.vendor]} ×${ev.powerMultiplier} · 友商 ×${ev.otherPowerMultiplier} · 收益 ×${ev.incomeMultiplier}`
|
|
501
|
+
: ev.vendorPower
|
|
502
|
+
? (ev.effects||[]).join(' · ')
|
|
503
|
+
: `算力 ×${ev.powerMultiplier} · 收益 ×${ev.incomeMultiplier}`;
|
|
504
|
+
newsText=`${prefix}「${ev.name}」 · ${eff} · 剩余 ${evLeft} 秒`;
|
|
505
|
+
}else{
|
|
506
|
+
newsText=`暂无厂商事件 · 军团正在自动推进 · 下一事件约 ${Math.max(0,Math.ceil((s.nextEventAt-s.time)/1000))} 秒后`;
|
|
507
|
+
}
|
|
481
508
|
if(UI.newsText&&UI.newsText.textContent!==newsText)UI.newsText.textContent=newsText;
|
|
509
|
+
if(UI.newsText)UI.newsText.title=ev?.desc||newsText;
|
|
482
510
|
const railText=!held?'只读页面 · 另一页面正在运行':s.paused?'已暂停 · 游戏计时冻结':`自动运行中 · 收益 +${format(incomeValue)}/s · 军团正在自动推进`;
|
|
483
511
|
if(UI.eventText.textContent!==railText)UI.eventText.textContent=railText;
|
|
484
512
|
const nextEventSec=Math.max(0,Math.ceil((s.nextEventAt-s.time)/1000));
|