Answered step by step
Verified Expert Solution
Question
1 Approved Answer
create a java program Trainer Class: Implement a Trainer class that uses an array of objects. Adapt battle logic to have two teams fight against
create a java program
Trainer Class:
Implement a Trainer class that uses an array of objects.
Adapt battle logic to have two teams fight against each other until one is totally defeated.
User should be able to switch pokemon during the battle.
TypeEffectiveness:
At minimum cover the Fire Grass Water Fire cycle.
Supereffective attacks should do double damage, resisted attacks should do half.
If a pokemon is the same type as the attack it uses, the attack gains a x bonus to damage.
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