# rpg-2024903713 **Repository Path**: wc_jcx/text-rpg ## Basic Information - **Project Name**: rpg-2024903713 - **Description**: hhhhhhhhhhh - **Primary Language**: C++ - **License**: OSL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-04-15 - **Last Updated**: 2026-04-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### Student - 2024903713 — Andrew #### Game rules 1. Game Objective Clear all 10 rounds, defeat every monster, and survive to win the game. 2. Basic Battle Rules Players always take the first turn. Monsters will never launch a surprise attack at the start of a round. Monsters will counterattack players only if they are still alive after the player’s attack. The round ends immediately once a monster is defeated, and no counterattack will happen. Final damage = Attacker ATK - Defender DEF. Damage cannot be negative, with a minimum value of 0. Monsters grow stronger as rounds progress. Their HP, attack and defense stats increase gradually over time. 3. Round Clear Rewards After defeating each monster, you can choose one permanent reward from 3 options: A healing potion that restores 10 HP Double damage for your next attack Permanent +1 increase to your attack power 4. Character Growth System Your character automatically heals 6 HP at the end of each round (cannot exceed the maximum HP limit of 30). Your character gains a permanent +1 defense bonus after clearing Round 5, greatly reducing incoming damage. 5. Player Actions Launch a normal attack to deal damage to the monster Use items from your inventory. Monsters will not attack you in this turn. Flee the battle, and the game ends immediately. 6. Win & Lose Conditions Game Over: Your HP drops to 0 Victory: You successfully clear all 10 rounds of monster #### Operation method ```bash cd project/build .\rpg.exe ```