Skip to content

**RPG - Dragon Repeller** is a text-based RPG game where players must defeat a dragon that’s terrorizing the town. Starting in the town square, players can buy items, fight monsters, gain experience, and collect gold to improve their chances in the final battle.

License

Notifications You must be signed in to change notification settings

JohnM-Oduor/RPG---Dragon-Repeller-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPG - Dragon Repeller

  • RPG - Dragon Repeller is a text-based RPG game where players must defeat a dragon that’s terrorizing the town. Starting in the town square, players can buy items, fight monsters, gain experience, and collect gold to improve their chances in the final battle.This is the hyperlink of this project:https://rp-g-dragon-repeller.netlify.app/ image

Table of Contents


Features

  • Multiple Locations: Navigate between the town square, store, and cave.
  • Combat System: Engage in battles with monsters like slime, fanged beasts, and the final boss— a dragon.
  • Inventory Management: Buy and equip weapons, and manage resources like health and gold.
  • Game End Conditions: The game can end in a win (defeating the dragon) or a loss (player’s health reaches zero).
  • Easter Egg: A hidden mini-game that gives players a chance to win extra gold.

Gameplay

The player starts in the town square with 100 health, 0 XP, and 50 gold. Various actions are available depending on the current location:

  • Town Square: Main hub with options to visit the store, go to the cave, or fight the dragon.
  • Store: Purchase health or weapons with gold.
  • Cave: Fight monsters to gain experience and collect gold.
  • Combat: Attack, dodge, or run in battles. Weapons can break, and player health can drop to zero, resulting in a game over.

Win and Lose Conditions

  • Win: Defeat the dragon in the final battle.
  • Lose: Health reaches zero at any point in the game.

Installation and Setup

To set up the game locally:

  1. Clone the repository:
    git clone https://github.com/yourusername/dragon-repeller.git
    

About

**RPG - Dragon Repeller** is a text-based RPG game where players must defeat a dragon that’s terrorizing the town. Starting in the town square, players can buy items, fight monsters, gain experience, and collect gold to improve their chances in the final battle.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published