Voila!
My first ever website is complete.
https://dragonwarriorgame.netlify.app/
How to play:
In Dragon Warrior, your goal is to defeat the dragon stopping people from leaving the town.
You start with:
XP: 0
Health: 100
Gold: 50
Weapon: Stick
Use the three buttons on the screen to choose what to do.
Begin in the Town Square, where you can visit the store, enter the cave, or fight the dragon.
In the store, you can buy health and stronger weapons using gold. Weapons get stronger in this order: Stick, Dagger, Claw Hammer, Sword.
In the cave, you can fight smaller monsters like slimes and fanged beasts to earn XP and gold. XP makes you stronger, and gold helps you buy health and weapons.
During a fight, you can attack, dodge, or run. Sometimes your weapon can also break, so keep an eye on your inventory.
To win, train in the cave, earn XP and gold, buy stronger weapons, restore your health, and defeat the dragon.
This project was a big step in my coding journey. I had previously documented a lot of HTML and CSS while following videos, but this time I followed website-based instructions and focused more on JavaScript, functions, and basic game logic.
Overall, I really enjoyed building my first project.
Thank you to everyone who checks it out :)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.