A turn-based RPG battle game where you play as one of five character classes to defeat the evil wizard Maleficus and save the kingdom. This game features:
- 5 unique character classes with special abilities
- Turn-based combat system
- Dynamic boss with multiple phases
- Colorful terminal output
- Status effects and ability cooldowns
-
Warrior - A strong melee fighter with high health and defense
- Battle Cry: Boosts attack power temporarily
- Shield Bash: Deals damage and stuns the target
-
Mage - A powerful spellcaster with high damage but low health
- Fireball: Deals high fire damage
- Arcane Barrier: Creates a shield that reduces incoming damage
-
Archer - A ranged attacker with balanced stats and critical hits
- Quick Shot: Fires two arrows in quick succession
- Evade: Increases chance to evade the next attacks
-
Paladin - A holy warrior with high defense and healing powers
- Holy Strike: Deals holy damage and heals the paladin
- Divine Shield: Creates a shield that blocks the next attack
-
Necromancer - A dark summoner who controls undead minions
- Summon Skeleton: Summons a skeleton that attacks each turn
- Life Drain: Drains life from the target and heals the necromancer
The evil wizard Maleficus has three phases, each unlocking at different health thresholds. As he gets weaker, he becomes more desperate and dangerous, gaining access to more powerful abilities:
- Shadow Blast: Deals high shadow damage
- Summon Minions: Summons shadow minions that attack for 3 turns
- Dark Barrier: Creates a barrier increasing defense permanently
- Catastrophe: Ultimate spell dealing massive damage (only available in Phase 3)
- Boss Phases: The wizard becomes more powerful as his health decreases
- Minion System: Both the Necromancer and Evil Wizard can summon minions
- Colorful Output: Uses colorama for vibrant, easy-to-read terminal output
- Status Effects: Various effects like stuns, barriers, and evades
- Critical Hits: Archer has a chance to deal critical damage
- Class-Specific Mechanics: Each class has unique mechanics (Paladin healing bonus, Necromancer minions, etc.)
- Python 3.6+
- colorama package (
pip install colorama)
- Run the script:
python defeat_the_wizard.py - Choose your character class and name
- Battle the evil wizard using attacks, abilities, and healing
- Defeat the wizard to save the kingdom!
- Enter numbers to select options during the game
- Follow on-screen prompts to take actions during your turn
The game includes both a victory and defeat ending depending on the battle outcome.
This project was crafted with ❤️ by Justin Wold.