3.1 KiB
HELLO and Welcom to Java-knight⚔️
Introduction
Goguryeo has been conquered by the dragon mercenary of Emperor Tso. As the savior of Goguryeo, you must conquer it. To do this, you must first obtain 3 keys.Each enemy army has 1 key, but we do not know which member of that army has it. Fight them to obtain the keys. Then go fight the dragon and become the ruler of Goguryeo. Dont forget java knight is a turn-based game and enemy can attak you.
HOW TO RUN GAME
first you should go to project file and open src\main\java folder then open terminal and use this promote to compile project
javac org/project/Main.java
then use this promte to run the game
java org.project.Main
Now you can play!
About game
Hp: is your heart
Mp : is your mana
Xp : is your experiences
After any fight if you win . we will full your Hp and give you some Mp and you got 1 Xp and we add 5 Mp&Hp to MaxHP&Hp
At first you shout choose your player (Knight - Wizard - Assassin)
-
⚔️Knight: Hp:50 Mp:50 Weapon:sword(23 Damage)
-
🗡️Assassin: HP:60 Mp:80 Weapon: knife(18 damage)
-
🧙♂️WIZARS: HP:90 Mp:60 Weapon: wood(16 damage)
After that you should choose your location. in each location exist one enemy such as:
- Goblin 👹: Hp:35 Weapon: knife(18 Damage) Special : critical attack
- Skeleton ☠️: Hp:50 Weapon: wood(16 Damage) Special: relive after dead
- Vampire 🦇: Hp: 60 Weapon : wood(16 Damage) Special : rob Hp
- Dragon (Final Boss) 🐉: Hp: 200 Weapon:fire(25 Damage) Special : Fire + break Armor
In each turn enemy can use 1.light attack 2.heavy attack 3 special abilities
Player in each turn can use :
- Light Attack: Deals moderate damage and costs NO Mana. (Note: If the player runs out of Mana/Stamina, this is the ONLY action they can perform.)
- Heavy Attack: Deals high damage, medium Mana cost.
- Defend: Completely blocks or significantly reduces the damage of the enemy's next strike. Medium Mana cost.
- Heal: Restores a portion of the player's HP. Medium-high Mana cost.
- 4.1 Flask : Give you Hp
- 4.2 Teriak : Give you Mp
- Special Ability: A unique class-based ultimate move (Highest Mana cost):
- Wizard 🧙♂️: Casts a devastating spell that damages the enemy while simultaneously replenishing some HP.
- Assassin 🗡️: Turns invisible, dodging the next incoming attack completely and guaranteeing a Critical Hit on their next turn.
- Knight ⚔️: Performs a shield bash that stuns the enemy, forcing them to skip their next turn while dealing heavy damage.
About oop
In this project we use oop. we have 2 interface
- Entity
- Player(Knight - Wizard - Assassin)
- Enemy(Goblin - Skeleton - vampire - Dragon)
- Item
- Armors(Enemy armor - Knight armor - leather armor - wooden armor)
- Consumable(Flask - Teriak)
- Weapon (Sword - Weapon - Wood - DragonWeapon)
