This is my University project, which I made a little more interesting and user-friendly. In this game you play as a hero.
- Weapon
- 4 Types of Armor
- Helmet
- Chest
- Leggs
- Boots
- 3 Types of Magic
- Magic for Attack
- Magic for Defence
- Magic for equipment upgrade
Enemies have the same properties
In the game you have access to the sections: Shop, Arena, Crusade, Profile.
The arena is a type of battle where the hero fights until he dies. The level of enemies and their number increase after each battle.
The crusade is a type of battle where the hero fights until he dies or enemies die.
In the profile section you can see all information about your hero. Hero's items such as Armor elements, Weapons, Magic, health points, experience, level and ect.
In the shop you can buy new equipment such as Armor, Weapon, Magic
In this program you can create your own map for a custom level. All you you to do this is fill array of symbols and mark the walls with a special symbol.
// '*' - wall
String[] battleMap = {
"******************************",
"* *",
"* *",
"* *",
"* ****** ****** *",
"* ****** ****** *",
"* ****** ****** *",
"* ****** ****** *",
"* ****** ****** *",
"* ****** ****** *",
"* ****** ****** *",
"* ****** ****** *",
"* ****** ****** *",
"* *",
"* *",
"* *",
"* *",
"* *",
"* *",
"******************************",
};
In method load[Equipment]Shop()
you can add your custom item
public static void loadWeaponShop(){
weaponList.add(new Weapon("AK-47", 47, 600, 2 ));
...
...
...
}