text-adventure-engine
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseThe Enchanted Journey 🏰✨
《魔法之旅》🏰✨
A magical text adventure game where your choices matter. Explore ancient forests, meet mysterious creatures, uncover hidden truths, and discover which ending awaits you.
这是一款你的选择至关重要的奇幻文本冒险游戏。探索古老森林、遇见神秘生物、揭露隐藏真相,看看你会迎来怎样的结局。
Quick Start
快速开始
Play the Game
开始游玩
bash
undefinedbash
undefinedMethod 1: Direct run (easiest)
方法1:直接运行(最简单)
python3 scripts/play.py
python3 scripts/play.py
Method 2: From skill directory
方法2:进入技能目录
cd text-adventure-engine
python3 scripts/play.py
That's it! The game will start immediately. No setup required.cd text-adventure-engine
python3 scripts/play.py
就是这么简单!游戏会立即启动,无需额外设置。Game Controls
游戏操作
| Command | Action |
|---|---|
| Select a choice |
| Save your game |
| Load a saved game |
| Show help |
| Quit game |
| 指令 | 操作 |
|---|---|
| 选择选项 |
| 保存游戏 |
| 加载存档 |
| 显示帮助 |
| 退出游戏 |
About The Game
游戏介绍
The Enchanted Journey is an interactive fantasy adventure where you play as a traveler who arrives at a mysterious forest. Your choices will:
- Shape your character's moral alignment
- Unlock hidden paths and secrets
- Determine which of 6 endings you receive
- Affect the lives of those you meet
**《魔法之旅》**是一场交互式奇幻冒险,你将扮演一名来到神秘森林的旅行者。你的选择会:
- 塑造角色的道德倾向
- 解锁隐藏路径与秘密
- 决定你将获得6种结局中的哪一种
- 影响你遇到的角色的命运
Key Stats
核心属性
- ❤️ Health - Your physical condition
- 💖 Morality - Your moral compass (determines your ending!)
- 🧠 Knowledge - Wisdom gained through exploration
- 💰 Gold - Currency for special choices
- 🎒 Inventory - Items you collect
- 🏆 Achievements - Special accomplishments
- ❤️ 生命值 - 你的身体状态
- 💖 道德值 - 你的道德准则(决定结局!)
- 🧠 知识值 - 探索获得的智慧
- 💰 金币 - 用于特殊选择的货币
- 🎒 背包 - 你收集的物品
- 🏆 成就 - 特殊的完成项
The Six Endings
六种结局
Your morality and choices determine which ending you get:
| Ending | Morality | Requirements |
|---|---|---|
| 👑 The Guardian | High (80+) | Accept responsibility |
| 🌗 The Age of Balance | High | Meet Shadow King, choose unity |
| 🏠 The Return | Any | Refuse the Crown (humility path) |
| ∞ Eternal Wanderer | Any | Choose to merge with Crown |
| 💔 Failed Hero | Low | Selfish choices throughout |
| 🌑 Shadow's Servant | Very Low | Consistently evil choices |
你的道德值与选择将决定你获得的结局:
| 结局 | 道德值要求 | 达成条件 |
|---|---|---|
| 👑 守护者结局 | 高(80+) | 承担责任 |
| 🌗 平衡时代结局 | 高 | 遇见暗影之王,选择团结 |
| 🏠 回归结局 | 任意 | 拒绝王冠(谦逊路线) |
| ∞ 永恒流浪者结局 | 任意 | 选择与王冠融合 |
| 💔 失败英雄结局 | 低 | 全程选择自私选项 |
| 🌑 暗影仆从结局 | 极低 | 持续选择邪恶选项 |
Gameplay Tips
游玩小贴士
For the Best Experience
获得最佳体验
- Read carefully - Details matter in this world
- Explore everything - Knowledge unlocks new paths
- Think before choosing - Actions have consequences
- Help others - High morality leads to better endings
- Save often - Before major decisions
- 仔细阅读 - 这个世界里细节至关重要
- 全面探索 - 知识值会解锁新路径
- 三思而后行 - 行动皆有后果
- 帮助他人 - 高道德值导向更好的结局
- 经常存档 - 重大决策前务必存档
Secret Paths to Discover
待发现的隐藏路径
- 🦊 The Fox Ally - Help Felix for guidance throughout your journey
- 🧙♀️ The Witch's Deal - Visit the cottage for powerful (but costly) assistance
- 👤 The Star Watcher - Hidden path that reveals the truth about the Crown
- 🌑 The Shadow King - Can be met... or defeated... or joined
- 🦊 狐狸盟友 - 帮助Felix,他会全程为你指引方向
- 🧙♀️ 女巫的交易 - 前往小屋获取强大(但有代价)的帮助
- 👤 观星者 - 揭露王冠真相的隐藏路径
- 🌑 暗影之王 - 可以选择遇见、击败或加入他
Achievement Guide
成就指南
| Achievement | How to Unlock |
|---|---|
| 🔍 Curious Mind | Reach 50 knowledge |
| 📚 Scholar | Reach 100 knowledge |
| 🧠 Sage | Reach 200 knowledge |
| ⭐ Master of Knowledge | Reach 500 knowledge |
| 🦊 Fox Friend | Help Felix |
| 🔮 Touched Destiny | Touch the crystal in ruins |
| 🌟 True Balance | Achieve the co-ruler ending |
| ∞ Eternal Wanderer | Choose to merge with Crown |
| 成就 | 解锁方式 |
|---|---|
| 🔍 好奇之心 | 知识值达到50 |
| 📚 学者 | 知识值达到100 |
| 🧠 智者 | 知识值达到200 |
| ⭐ 知识大师 | 知识值达到500 |
| 🦊 狐狸之友 | 帮助Felix |
| 🔮 触碰命运 | 触碰废墟中的水晶 |
| 🌟 真正的平衡 | 达成共治结局 |
| ∞ 永恒流浪者 | 选择与王冠融合 |
Moral Choices Guide
道德抉择指南
The Power of Morality
道德值的力量
Your morality stat is the most important factor in the game. It affects:
- Which endings are available
- How characters react to you
- Secret paths that unlock
- The ultimate fate of the kingdom
道德值是游戏中最重要的属性,它会影响:
- 可解锁的结局
- 角色对你的反应
- 隐藏路径的解锁
- 王国的最终命运
Examples of Moral Choices
道德抉择示例
Good Morality Choices (+10 to +20):
- Help those in need
- Show mercy to enemies
- Choose diplomacy over violence
- Keep your promises
- Sacrifice for others
Evil Morality Choices (-10 to -20):
- Harm innocents
- Betray allies
- Choose selfish gain
- Ignore suffering
- Break promises
Neutral Choices:
- Focus on practical concerns
- Avoid involvement
- Choose inaction
提升道德值的选择(+10至+20):
- 帮助有需要的人
- 对敌人手下留情
- 选择外交而非暴力
- 信守承诺
- 为他人牺牲
降低道德值的选择(-10至-20):
- 伤害无辜
- 背叛盟友
- 选择自私获利
- 无视他人苦难
- 违背承诺
中立选择:
- 关注实际问题
- 避免卷入事件
- 选择不作为
Save System
存档系统
Your progress is automatically saved to the folder.
saves/Save Slots:
- - Default quick save
autosave - Custom names - Create named saves for different story branches
Pro Tip: Save before major story decisions to explore different outcomes!
你的进度会自动保存到文件夹中。
saves/存档槽:
- - 默认快速存档
autosave - 自定义名称 - 为不同故事分支创建命名存档
实用技巧: 重大剧情决策前存档,以便探索不同结局!
Character Companions
角色同伴
Throughout your journey, you may meet allies who join you:
| Companion | How to Recruit | Benefits |
|---|---|---|
| 🦊 Felix | Talk to him at the forest entrance | Safe paths, shortcuts, lore |
| 👤 Orion | Find the hidden trail with Felix | Reveals the Crown's true purpose |
| 🧙♀️ Zora | Visit the witch's cottage | Potions, knowledge, or warnings |
| 💚 Elara | Rescue her on the mountain path | Healing, companionship |
旅途中你可能会遇到加入你的盟友:
| 同伴 | 招募方式 | 增益效果 |
|---|---|---|
| 🦊 Felix | 在森林入口与他对话 | 安全路径、捷径、传说故事 |
| 👤 Orion | 和Felix一起找到隐藏小径 | 揭露王冠的真实目的 |
| 🧙♀️ Zora | 前往女巫小屋 | 药剂、知识或警告 |
| 💚 Elara | 在山路营救她 | 治疗、陪伴 |
Walkthrough Hints
通关提示
Stuck? Here are some hints (spoilers minimal):
卡住了?这里有一些提示(剧透极少):
Beginning:
- Talk to the fox! He's a valuable guide.
- The ruins contain valuable knowledge.
- The witch's cottage offers help... at a price.
Middle:
- Explore all three mountain paths for different experiences.
- The Shadow General can be defeated in multiple ways.
- Knowledge unlocks special dialogue options.
End Game:
- Your morality determines which endings are available.
- Meeting the Shadow King reveals the truth.
- The "best" ending requires high morality AND making the right final choice.
初期:
- 和狐狸对话!他是宝贵的向导。
- 废墟中藏有珍贵的知识。
- 女巫小屋能提供帮助……但要付出代价。
中期:
- 探索三条山路,体验不同内容。
- 暗影将军可以通过多种方式击败。
- 知识值会解锁特殊对话选项。
终局:
- 道德值决定可解锁的结局。
- 遇见暗影之王会揭露真相。
- “最佳”结局需要高道德值以及做出正确的最终选择。
For Creators
面向创作者
Want to create your own text adventure game? This game includes a full game engine that's easy to modify.
Key Files:
- - The game engine
scripts/engine.py - - The game script (easily editable!)
scripts/example_game.json - - The game player
scripts/play.py
To Create Your Own Game:
- Copy as a template
example_game.json - Edit scenes, choices, and endings
- Run to test
python3 scripts/play.py
The JSON format is straightforward - no programming needed!
想要创建自己的文本冒险游戏?本游戏包含一个易于修改的完整游戏引擎。
核心文件:
- - 游戏引擎
scripts/engine.py - - 游戏脚本(易于编辑!)
scripts/example_game.json - - 游戏运行器
scripts/play.py
创建自己的游戏步骤:
- 复制作为模板
example_game.json - 编辑场景、选项和结局
- 运行进行测试
python3 scripts/play.py
JSON格式简单直观——无需编程基础!
Game Info
游戏信息
- Title: The Enchanted Journey
- Genre: Text Adventure / Interactive Fiction
- Playtime: 30-60 minutes per playthrough
- Replayability: High (6 endings, secret paths)
- Difficulty: Easy to learn, choices matter
- 标题: 《魔法之旅》
- 类型: 文本冒险 / 交互式虚构作品
- 单局游玩时长: 30-60分钟
- 重玩价值: 高(6种结局、隐藏路径)
- 难度: 易于上手,选择至关重要
Troubleshooting
故障排除
Game won't start?
- Make sure Python 3 is installed:
python3 --version - Check you're in the correct directory
Lost your save?
- Saves are in the folder
saves/ - Each save is a JSON file you can back up
Want to restart?
- Delete saves in folder
saves/ - Or just load and make different choices
autosave
Enjoy your adventure! 🗝️✨
Version: 2.0 | Created with love for interactive fiction fans everywhere
游戏无法启动?
- 确保已安装Python 3:执行检查
python3 --version - 确认你处于正确的目录中
存档丢失?
- 存档位于文件夹中
saves/ - 每个存档都是可备份的JSON文件
想要重新开始?
- 删除文件夹中的存档
saves/ - 或者加载并做出不同选择
autosave
祝你旅途愉快! 🗝️✨
版本:2.0 | 为所有交互式虚构作品爱好者精心打造