A terminal-based text adventure game built in Rust ๐ฆ. Explore rooms, collect items, and fight goblins โ all from your keyboard. Built step-by-step to practice Rust concepts like structs, enums, ownership, modular code, and CLI design.
- ๐ช Explore a small world of interconnected rooms
- ๐ง Battle enemies with turn-based combat
- ๐งณ Manage an inventory (pick up and use items)
- ๐ Heal with potions or fall in battle
- ๐ฌ Command-based input loop with helpful prompts
- ๐งผ Clean, modular Rust code using idiomatic patterns
git clone https://github.com/yourusername/text-adventure.git
cd text-adventure
๐โโ๏ธ Why I Built This
This project was built as a hands-on way to learn Rust, practice idiomatic design patterns, and explore game loops, ownership, and modularization.
Follow the build thread:
๐ @asyncthoughts@mastodon.social
๐ฆ @sipspennyroyaltea.bsky.social
๐ License
MIT ยฉ 2025 Bhaskar Ghosh