text-adventure-engine

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

The 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
undefined
bash
undefined

Method 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

游戏操作

CommandAction
1, 2, 3...
Select a choice
S
Save your game
L
Load a saved game
H
Show help
Q
Quit game
指令操作
1, 2, 3...
选择选项
S
保存游戏
L
加载存档
H
显示帮助
Q
退出游戏

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:
EndingMoralityRequirements
👑 The GuardianHigh (80+)Accept responsibility
🌗 The Age of BalanceHighMeet Shadow King, choose unity
🏠 The ReturnAnyRefuse the Crown (humility path)
Eternal WandererAnyChoose to merge with Crown
💔 Failed HeroLowSelfish choices throughout
🌑 Shadow's ServantVery LowConsistently evil choices
你的道德值与选择将决定你获得的结局:
结局道德值要求达成条件
👑 守护者结局高(80+)承担责任
🌗 平衡时代结局遇见暗影之王,选择团结
🏠 回归结局任意拒绝王冠(谦逊路线)
永恒流浪者结局任意选择与王冠融合
💔 失败英雄结局全程选择自私选项
🌑 暗影仆从结局极低持续选择邪恶选项

Gameplay Tips

游玩小贴士

For the Best Experience

获得最佳体验

  1. Read carefully - Details matter in this world
  2. Explore everything - Knowledge unlocks new paths
  3. Think before choosing - Actions have consequences
  4. Help others - High morality leads to better endings
  5. Save often - Before major decisions
  1. 仔细阅读 - 这个世界里细节至关重要
  2. 全面探索 - 知识值会解锁新路径
  3. 三思而后行 - 行动皆有后果
  4. 帮助他人 - 高道德值导向更好的结局
  5. 经常存档 - 重大决策前务必存档

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

成就指南

AchievementHow to Unlock
🔍 Curious MindReach 50 knowledge
📚 ScholarReach 100 knowledge
🧠 SageReach 200 knowledge
⭐ Master of KnowledgeReach 500 knowledge
🦊 Fox FriendHelp Felix
🔮 Touched DestinyTouch the crystal in ruins
🌟 True BalanceAchieve the co-ruler ending
∞ Eternal WandererChoose 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
saves/
folder.
Save Slots:
  • autosave
    - Default quick save
  • 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:
CompanionHow to RecruitBenefits
🦊 FelixTalk to him at the forest entranceSafe paths, shortcuts, lore
👤 OrionFind the hidden trail with FelixReveals the Crown's true purpose
🧙‍♀️ ZoraVisit the witch's cottagePotions, knowledge, or warnings
💚 ElaraRescue her on the mountain pathHealing, 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:
  • scripts/engine.py
    - The game engine
  • scripts/example_game.json
    - The game script (easily editable!)
  • scripts/play.py
    - The game player
To Create Your Own Game:
  1. Copy
    example_game.json
    as a template
  2. Edit scenes, choices, and endings
  3. Run
    python3 scripts/play.py
    to test
The JSON format is straightforward - no programming needed!
想要创建自己的文本冒险游戏?本游戏包含一个易于修改的完整游戏引擎。
核心文件:
  • scripts/engine.py
    - 游戏引擎
  • scripts/example_game.json
    - 游戏脚本(易于编辑!)
  • scripts/play.py
    - 游戏运行器
创建自己的游戏步骤:
  1. 复制
    example_game.json
    作为模板
  2. 编辑场景、选项和结局
  3. 运行
    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
    saves/
    folder
  • Each save is a JSON file you can back up
Want to restart?
  • Delete saves in
    saves/
    folder
  • Or just load
    autosave
    and make different choices

Enjoy your adventure! 🗝️✨
Version: 2.0 | Created with love for interactive fiction fans everywhere
游戏无法启动?
  • 确保已安装Python 3:执行
    python3 --version
    检查
  • 确认你处于正确的目录中
存档丢失?
  • 存档位于
    saves/
    文件夹中
  • 每个存档都是可备份的JSON文件
想要重新开始?
  • 删除
    saves/
    文件夹中的存档
  • 或者加载
    autosave
    并做出不同选择

祝你旅途愉快! 🗝️✨
版本:2.0 | 为所有交互式虚构作品爱好者精心打造