Welcome to Adventure Quest RPG! In this game, you'll embark on an epic journey, battle formidable monsters, and explore dangerous dungeons. Can you emerge victorious and prove your heroism?
- Engaging Battles: Fight against monsters with varying difficulty levels.
- Character Classes: Play as a brave Player and face off against different types of Monsters.
- Turn-Based Combat: Strategically take turns to attack and defend.
- Leveling System: Gain experience and upgrade your stats by defeating monsters.
- Clone the repository:
git clone https://github.com/yourusername/adventure-quest-rpg.git
cd adventure-quest-rpg- Build the project:
dotnet build- Run the application:
dotnet run --project AdventureQuestRPG- Enter your name: Start the game by entering your character's name.
- Select difficulty: Choose the difficulty level for the battle (Easy, Medium, Hard).
- Battle Monsters: Engage in turn-based combat until either you or the monster wins.
- Repeat or Exit: Continue playing or exit by pressing the Escape key.
- AdventureQuestRPG: Contains the game logic and classes for Player, Monster, and BattleSystem.
- AdventureQuestRPGTests: Includes unit tests to ensure the game's functionality.
- Player: Represents the player-controlled character with attributes like Name, Health, AttackPower, and Defense.
- Monster: Represents the enemy monsters with similar attributes and varying levels of difficulty.
- BattleSystem: Handles the attack logic and manages the battle flow.
Ensure the game's reliability with the included XUnit tests:
- Test_Enemy_Health: Validates that the enemy's health is correctly reduced when attacked.
- Test_Player_Health: Ensures the player's health is accurately decreased when attacked by a monster.
- Test_Health_Validation: Confirms health values do not go negative after a battle.
Run the tests using:
dotnet test