Welcome to the CLI-Based RPG Game! This is a simple text-based adventure game that runs in your terminal.
_______ _ _______ _______ _______ _______ _______
( ____ \( \ ( ____ \( ___ )( ____ )( ____ \( ____ )
| ( \/| ( | ( \/| ( ) || ( )|| ( \/| ( )|
| | | | | | | | | || (____)|| (__ | (____)|
| | | | | | | | | || __)| __) | __)
| | | | | | | | | || (\ ( | ( | (\ (
| (____/\| (____/\| (____/\| (___) || ) \ \__| (____/\| ) \ \__
(_______/(_______/(_______/(_______)|/ \__/_______/|/ \__/
Embark on an adventure where every command could be your last. Or not. Depending on your game mode.
- Refactored Object-Oriented Design: Clean, maintainable code structure.
- Enhanced UI: Colored terminal output and clear status displays.
- Character creation with customizable names.
- Battle system with scaling enemies.
- Leveling system with stat progression.
- Mining and Shop systems for resource management.
- Run the game with
python main.py - Choose whether to load a saved game or create a new character
- Select your game mode by entering the corresponding number:
-
- Normal: Balanced difficulty
-
- Easy: More health, stronger attacks, weaker enemies, better healing
-
- Hardcore: Less health, weaker attacks, stronger enemies, no resting
-
- Enter your character's name when prompted
- Choose actions from the menu:
explore: Encounter random enemiesrest: Recover health points (not available in hardcore mode)view stats: Display your current character statisticsshop: Visit the shop to purchase itemsmine: Mine for resourcessave game: Save your current progressquit: Exit the game
- During battles, choose to
attack,run, oruse item
- Python 3.x
The default balanced experience with standard player stats and enemy difficulty.
- Player starts with 150 HP (instead of 100)
- Player has increased attack (15) and defense (8)
- Enemies are weaker versions
- Resting heals more HP (15-35 instead of 10-25)
- Player starts with only 75 HP
- Player has reduced attack (8) and defense (3)
- Enemies are stronger versions
- Resting is disabled entirely
- Perfect for players seeking a challenge
- Gain experience points by defeating enemies
- Level up when you accumulate enough experience points
- Each level up increases your attack, defense, and maximum health
- Enemies scale in difficulty based on your level
- Find various resources including Stone, Iron Ore, Gold Ore, and Diamond
- Some items can be crafted together to create more powerful equipment
- Mining results are random with different probabilities for each resource
- Purchase items using your accumulated coins
- Available items include:
- Health Potion: Restore health during battle
- Strength Potion: Temporarily increase attack power
- Swords (Iron, Steel, Diamond, Godly): Permanent attack boosts
- Axes (Wooden, Iron): Permanent attack boosts
- Shield: Permanent defense boost