Build a small engine for text adventures: rooms, exits, items and simple puzzles described in a data file, a command parser ("go north", "take lamp", "use key on door"), and saved games — then write a short adventure with it.
Project idea · ungraded
Text Adventure Engine
You will use
Milestones
Build the smallest working version first. Ticks are saved in this browser only.
Stretch goals
- Add characters that respond to `talk` with a small dialogue tree.
- Load several adventures from a folder and let the player choose.
- Add a scoring system and an ending condition.
Data
You write the world file yourself; keep it small at first (three rooms, two items, one puzzle).
Run it yourself
python adventure.py worlds/castle.json