A text-based adventure RPG game written in Rust. Explore the world of Woodspring, battle enemies, collect items, and uncover hidden secrets.
- Character Creation: Form a party of 4 adventurers from 8 different classes
- Turn-based Combat: Strategic combat system with different attack and defense mechanics
- Inventory Management: Collect, equip, and use items throughout your adventure
- Exploration: Discover locations, hidden passages, and solve puzzles
- NPCs: Interact with friendly and hostile characters in the game world
- Class-specific Bonuses: Each class has unique advantages against certain enemies
- Rust and Cargo (latest stable version)
-
Clone the repository:
git clone https://github.com/yourusername/adventure-rust.git cd adventure-rust -
Build and run the game:
cargo run
mirar- Look around your current locationir [lugar]- Travel to a connected locationcoger [objeto]- Pick up an itemsoltar [objeto]- Drop an iteminventario- Check your inventorybuscar- Search for hidden items or passagesestado- Check your party's statusatacar- Attack enemies in your locationhablar [npc]- Talk to an NPCequipar [personaje] [tipo]- Equip an item to a characterdesequipar [personaje] [tipo]- Unequip an item from a characterayuda- Show available commandssalir- Exit the game
During combat:
- Use numbers 1-4 to select combat actions
- Combat is turn-based with your party attacking first, then enemies
- Each character's attack and defense are determined by their class, equipment, and dice rolls
- Enemies have different difficulty levels and may have special resistances or weaknesses
The game takes place in and around the village of Woodspring. Key locations include:
- Pueblo (Village): The starting location with friendly NPCs
- Campo (Field): Open area connecting to other locations
- Bosque (Forest): Contains hostile goblins and wolves
- Ruinas (Ruins): Ancient temple ruins with orcs and skeletons
- Cueva (Cave): Leads to a hidden dungeon with more challenging enemies
The game features 8 playable classes, each with unique attributes:
- Guerrero (Fighter): High HP, good with all weapons
- Clérigo (Cleric): Medium HP, effective against undead
- Pícaro (Rogue): Lower HP, bonus when outnumbering enemies
- Mago (Wizard): Lowest HP, can use magical items
- Bárbaro (Barbarian): Highest HP, strong in combat
- Elfo (Elf): Medium HP, bonus against orcs, good with bows
- Enano (Dwarf): High HP, bonus against goblins and large creatures
- Mediano (Halfling): Lower HP, nimble and lucky
- Weapons: Light, Medium, and Heavy variants with different bonuses
- Armor: Light and Heavy variants providing different defense bonuses
- Shields: Provide defense bonuses
- Bows: Allow for ranged attacks
This project is built with:
- Rust programming language
lazy_staticfor static referencesrandfor random number generation
This project is licensed under the MIT License - see the LICENSE file for details.