Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 wizards to battle each other.
Create wizard spells Fireball and Heal.
First ask user input on wizard name, wizard guild,
Set wizard health points to wizard magic points to wizard intelligence points
Write a java code to make the wizards fight each other.
Before each attack turn the wizard attackingwizard will roll dice, first dice gives the magic cost for the spell and its value will be deducted from total magic from wizard and the second dice will give the damage caused to wizard and its value will be deducted from the health total from wizard
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started