For this project you will use your game characters from your last Project.
Copy your character classes from called project3.characters.Create an array of several (at least 4) game characters of different types.Write a driver class that simulates a Battle Royale between the
characters in the array. In a loop, select an attacker at random from
the array and have them attack a random character. Continue until only
one character remains. Print out the name of the winner.Submit this document and a zip file with your source code separately to Canvas.
Think carefully about your design and use good object-oriented principles in your implementation.
The first four pictures are the character classes from project3.characters required by the task.
The last picture is project3.
please use java languages thanks
Stachogun G- le Monster.java inct Explorer Project RE System Library Case 151 window Help 11- Project3.java Character.java Hulk java 1 2 3 package project3.characters; 4 public abstract class Character protected String name; i project Project3.java project characters Characterjava Hulk.java 3) Monsterava Venom.java protected int strength protected int health; 12 146 15 16 17 public Character(String name) { this.no - name; } 194 20 21 22 public String getName() ( return name: 3 T?ngainbswami 3 p public int getStrength() return strength; 240 25 26 27 20 public int get Health return health; 3 31 public abstract int attack(): public abstract void hit(int points) public abstract boolean IsAlive(): 34 35 A 58 39 40 41 Boverride public String toString() { return "Name: + Dame+ Strength + strength + Health: + health 2 GO Character java prola IRE System Library Llava 151 I projects Projectave project characters Character.java Hulk.java Monster.java Venom.java D) Project.java Hulk javal Hulk.java 1 Monster.java 2. 3 package project3.characters; 5 public class Hulk extends Character 69 public Hulk (String name) { super (name); this.health - 100; 9 this.strength - 10; 10 } 11 12 override public int attack() { return strength: 15 3 16 Override public void hit(int points) 15 this.health -- points; 20 } 21 22 Override 23 public boolean isAlive) 24 return health>=; 25 } 26 279 @Override 28 public String toString() 29 return "[ ClassHulk, super.toString()+" 13 38 32 Projecte Character.java Back to Hulk java (Alt Left java roject Explorer Project -JRE System Ubrary avaSE-151 sro El projects Project3.java project.characters > Character.java > Hulk.java Monster.java > Venom.java 2 package project3.characters; 4 public class Monster extends Character 5 0 public Monster(String nane) 2 super(name) 8 this.health - 100; 9 this.strength - 5; 10 1 11 goverride 13 public int attack() 14 return strengths 15 2 16 1e Boverride 18 public void hit(int points) 19 this.health -- points 20 2 21 22 goverride 23 public boolean IsAlive() 24 return health 25 } 26 278 goverride 28 public String toString() { return "Class: Monster, "-super.toString(+" 19 30 31 Project 3/tr/projet/characters/Venomja - Edipse ID Editec Relattor Navigate Search Project Run Window Help BT lo Project RE System Library VASE-157 projects Project3.java it project.characters Characterijava Hulkijava >Monster.java > Venom.java Project 3java Character.java Monster 1 2 package projecta.characters 3 public class Venon extends Character 5 public Venom (String na) 6 super(name); 7 this.health - 100; 8 this.strength - 15; I more powerful to attack 9 3 10 soverride 12 public int attack() { return strength: } 15 168 @Override 17 public void hit(int points) 18 this, health -- points: 19 20 21 Override - 22 public boolean isAlive) 23 return health e; 24 } 25 26- @Override 27 public String toString() { 28 return "Class: Venom, super.toString()+"1": 29 30 Helenegal Search Project Hur Windows Help Vegeu E se llenyameist project Projecte al project.character Characterjava Hullave Monsterava Venom.java Project3jave Character 1 package project3; 2 39 import projects.characters.Hulk 7 public class Projects public static void main(string] args) 10 11 12 Monster monster - new Monster (Night Monster"); Hulk hulk = new Hulk ("Reloaded Hulk) 14 15 System.out.println(" Characters in Fight: System.out.println(sonster) 17 System.out.println(hulk); 10 System.out.println("Fight Started": 21 Random randes - new Random(); 22 int round - 1 while (monster.isAlive()88 hulk.isAlive 24 25 int numbAttackeylonster - rando.nextInt (5) 28 for(int i=0; i