Tools and games
Text Adventure Game Engine in C++
A text adventure engine in C++17 that loads its rooms, items and NPC dialogue trees from plain text files. Because the game data lives in data/world.txt and data/dialogues/, you can build a new world without changes to the game loop.
Overview
Install
Start the game from the project root:
./textadventure
Supported In-Game Commands
go <direction>: Move between connected rooms (e.g.go north,go east).look/examine <item>: Inspect current room surroundings or items.take <item>/drop <item>: Pick up or discard inventory items.inventory: List all items currently carried.talk <npc>: Initiate interactive conversation with an NPC.save: Save current game progress to disk.load: Restore saved game state fromdata/save.txt.quit: Exit the game session.
Updates
- docs: update README with comprehensive documentation
- docs: expand README to open source standards
- docs: add project description and overview to README
Docs
The full documentation covers how it works, configuration and results.