A text-based adventure game that helps users learn command-line skills in an RPG-like environment.
Haunted Filesystem is a terminal-based adventure game where players explore a "haunted" filesystem while learning command-line commands. As a sysadmin spirit, your task is to navigate through the corrupted system, collect items, solve puzzles, and ultimately defeat the Daemon Overlord that has corrupted the filesystem.
The game uses real command-line-like commands such as cd
, ls
, and cat
to navigate and interact with the game world, making it both fun and educational.
- Text-based adventure with rich terminal visuals
- Command-line-like interface (
cd
,ls
,cat
, etc.) - Turn-based combat system
- Inventory management
- Puzzles and exploration
- Dynamic world powered by YAML configuration
- Python 3.7 or higher
- pip (Python package installer)
-
Clone the repository:
git clone https://github.com/NoHudd/haunted-filesystem.git cd haunted-filesystem
-
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
Start the game by running:
python main.py
help
- Display available commandsls
- List files and directoriescd [directory]
- Change to specified directorycat [file]
- Read the contents of a filemap
- Show available locationsinventory
/inv
- Show collected itemstake [item]
- Add an item to your inventorydrop [item]
- Remove an item from your inventoryuse [item]
- Use an item from your inventoryexamine [item]
- Examine an item in detailtalk [npc]
- Talk to an NPCattack [enemy]
- Attack an enemylook
- Look around the current location
The game is designed to be easily customizable through YAML files:
data/rooms/
- Define rooms/locationsdata/items/
- Define items and their propertiesdata/enemies/
- Define enemies and combat statisticsdata/npcs/
- Define non-player characters and their dialogues
Each entity is defined in its own YAML file, making it easy to add, modify, or remove content without changing the core game code.
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by classic text adventures and educational games
- Uses Rich for terminal formatting
- Uses PyYAML for data loading
In Haunted Filesystem Experience, you play as a "sysadmin spirit" attempting to cleanse a corrupted system. An entity known as the Daemon Overlord has corrupted the filesystem, creating chaos and disorder. Your mission is to navigate through different directories, solve puzzles, and confront the Daemon Overlord's influence.
While playing this game, you'll naturally learn:
- Basic command-line navigation
- File manipulation
- System exploration
- Problem-solving skills
Developed as a fun way to learn command-line skills in a narrative-driven experience.
Enjoy your adventure in the Haunted Filesystem!