Dragon Forge is a simple, browser-based RPG game where you can explore, fight monsters, and collect treasures. The game is developed using HTML, CSS, and JavaScript.
- Features
- How to Play
- Game Locations
- Monsters
- Weapons
- Winning the Game
- Losing the Game
- Easter Egg
- How to Run
- Contributing
- License
- Explore different locations like the town square, store, and cave.
- Fight various monsters including slimes, beasts, and a dragon.
- Upgrade your weapons and manage your inventory.
- Earn gold and experience points (XP) by defeating monsters.
- Discover an Easter egg mini-game for extra rewards.
- Start the Game: The game begins in the town square where you can choose to visit the store, enter the cave, or fight the dragon.
- Exploring Locations: Each location has different actions available via buttons. The text will guide you through each step.
- Fighting Monsters: Enter the cave or choose to fight the dragon directly. Attack the monsters using your current weapon or dodge their attacks.
- Upgrading Weapons: Visit the store to purchase new weapons or sell your old ones.
- Winning and Losing: Defeat the dragon to win the game. If your health reaches zero, you lose.
- Town Square: The starting location. From here, you can go to the store, the cave, or fight the dragon.
- Store: Buy health or new weapons. The most powerful weapon can be sold for extra gold.
- Cave: Fight slimes and fanged beasts to earn gold and XP.
- Slime: Level 2, Health 15
- Fanged Beast: Level 8, Health 60
- Dragon: Level 20, Health 300
- Stick: Power 5
- Dagger: Power 30
- Claw Hammer: Power 50
- Sword: Power 100
To win the game, defeat the dragon in battle. You’ll earn the victory and be presented with a special victory message.
You lose the game if your health reaches zero during a battle. The game can be restarted by clicking the "REPLAY?" button.
In the game, there is a hidden mini-game where you guess a number. If you guess correctly, you win gold; if not, you lose health.
- Clone the repository to your local machine.
- Open
index.htmlin any modern web browser. - Start playing the game.
If you would like to contribute to Dragon Forge, feel free to submit a pull request or open an issue for any bugs or suggestions.
This project is licensed under the MIT License - see the LICENSE file for details.