Skip to content

namdavid2904/Dragon-Repeller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dragon Repeller - RPG Game

Welcome to Dragon Repeller, a simple RPG game where you must defeat the dragon that is terrorizing the town. Use your wits, weapons, and gold to navigate through different locations, fight monsters, and ultimately emerge victorious.
https://repeller-dragon.netlify.app/

Table of Contents

Game Overview

Dragon Repeller is a text-based RPG game implemented with JavaScript, HTML, and CSS. Players can explore various locations, battle monsters, buy weapons, and manage their stats such as health, experience points (XP), and gold.

How to Play

  1. Open index.html in your browser.
  2. Click on the provided buttons to navigate through different locations.
  3. Make strategic choices in battles to defeat monsters and gain rewards.
  4. Manage your gold to buy health, upgrade weapons, and survive encounters.
  5. Aim to defeat the dragon and win the game!

Game Mechanics

  • XP (Experience Points): Earn XP by defeating monsters.
  • Health: Manage your health to survive battles and progress in the game.
  • Gold: Use gold to buy health, weapons, and upgrade your character.
  • Weapons: Upgrade your weapons to deal more damage in battles.

Locations

  1. Town Square: Starting point where you can access other locations.
  2. Store: Spend gold to buy health or upgrade your weapon.
  3. Cave: Battle different monsters in the cave to earn XP and gold.
  4. Fight: Engage in battles with monsters using strategic choices.
  5. Kill Monster: After defeating a monster, gain XP and gold.
  6. Lose: Game over screen when your health reaches zero.
  7. Win: Victory screen upon defeating the dragon.
  8. Easter Egg: Discover a secret game with a chance to win gold or lose health.

Weapons

Upgrade your weapons to increase your attack power:

  1. Stick (Starting Weapon): Power: 5
  2. Dagger: Power: 30
  3. Claw Hammer: Power: 50
  4. Sword: Power: 100

Monsters

  1. Slime: Level 2, Health: 15
  2. Fanged Beast: Level 8, Health: 60
  3. Dragon (Final Boss): Level 20, Health: 300

Easter Egg

Discover a hidden game by following specific instructions in the "easter egg" location. Pick a number, and if it matches one of the random numbers, you win gold!

Contributing

Feel free to contribute to the game by suggesting improvements, fixing bugs, or adding new features. Fork the repository, make your changes, and submit a pull request.

About

Dragon-Repeller RPG Game

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published