text-adventure-engine
Skill5 starsChanged 9 months agoMITView on GitHub
The Enchanted Journey - A playable text adventure game with branching narratives, moral choices, multiple endings, and save functionality. An interactive fantasy adventure where your choices shape the story and determine your fate. Play directly by running the game - no programming required.
In this repository103 other files it gives its agents.
- ab-test-setupSkill
- analytics-trackingSkill
- apple-notesSkill
- apple-remindersSkill
- audit-supportSkill
- blogwatcherSkill
- camsnapSkill
- canned-responsesSkill
- canvas-designSkill
- canvasSkill
- close-managementSkill
- coding-agentSkill
- company-valuesSkill
- competitive-ads-extractorSkill
- competitive-analysisSkill
- competitor-alternativesSkill
- complianceSkill
- content-strategySkill
- contract-reviewSkill
- copy-editingSkill
- copywritingSkill
- deep-researchSkill
- email-sequenceSkill
- feature-specSkill
- file-organizerSkill
- finance-reconcileSkill
- financial-statementsSkill
- find-communitySkill
- first-customersSkill
- form-croSkill
- free-tool-strategySkill
- gifgrepSkill
- goose-adventure-gameSkill
- himalayaSkill
- image-optimizerSkill
- imsgSkill
- instagram-marketingSkill
- journal-entry-prepSkill
- launch-strategySkill
- legal-risk-assessmentSkill
- local-placesSkill
- marketing-ideasSkill
- marketing-psychologySkill
- mcporterSkill
- meeting-briefingSkill
- metrics-trackingSkill
- minimalist-reviewSkill
- model-usageSkill
- mvpSkill
- nano-banana-proSkill
- nano-pdfSkill
- nda-triageSkill
- notionSkill
- onboarding-croSkill
- openai-image-genSkill
- openai-whisper-apiSkill
- openai-whisperSkill
- openhueSkill
- oracleSkill
- ordercliSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 74
Save often: - Before major decisions
- Very specific: line 179
Run python3 scripts/play.py to test
- Very specific: line 194
Make sure Python 3 is installed: python3 --version
- Distinctive: line 195
Check you're in the correct directory
- Very specific: line 202
Delete saves in saves/ folder
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
# Method 1: Direct run (easiest)
python3 scripts/play.py
# Method 2: From skill directory
cd text-adventure-engine
python3 scripts/play.pyThat's it! The game will start immediately. No setup required.
Game Controls
| Command | Action |
1, 2, 3... | Select a choice |
S | Save your game |
L | Load a saved game |
H | Show help |
Q | 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
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 |
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
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 |
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
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!
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 |
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 enginescripts/example_game.json- The game script (easily editable!)scripts/play.py- The game player
To Create Your Own Game:
- Copy
example_game.jsonas a template - Edit scenes, choices, and endings
- Run
python3 scripts/play.pyto test
The JSON format is straightforward - no programming needed!
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
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
autosaveand make different choices
Enjoy your adventure! 🗝️✨
Version: 2.0 | Created with love for interactive fiction fans everywhere
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

