Question: using java create a wizard battle game. Create 2 wizards to battle each other. Create 2 wizard spells Fireball and Heal. First ask user input

using java create a wizard battle game.
Create 2 wizards to battle each other.
Create 2 wizard spells Fireball and Heal.
First ask user input on wizard name, wizard guild,
Set wizard health points to 30, wizard magic points to 30, wizard intelligence points 20.
Write a java code to make the wizards fight each other.
Before each attack turn the wizard attacking(wizard1) will roll 2 dice, first dice gives the magic cost for the spell and its value will be deducted from total magic from wizard1, and the second dice will give the damage caused to wizard2 and its value will be deducted from the health total from wizard2.
The value will continue taking turns until one of the wizards reaches zero health.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!