Question: Objective In this lab, you will work with your partners to expand the basic pokemon game from lectures this week into something that more closely
Objective
In this lab, you will work with your partners to expand the basic pokemon game from lectures this week into something that more closely resembles the game. You will be adding two specific aspects of the game, support for teams of pokemon and logic to manage typeeffectiveness.
Requirements
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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
