Hi, ill try to summarise my issue in the best way that i can as im not entirely sure how to send my code. Ive been working on a project for the past few months on implementing required functionality within a repository of a variety of different files in which when they all come together create a pokemon esque game.
The 5 tasks given to me were in regards to 6 different files.
stats.py - which contains a simple stats class and a complex stats class for the monsters
monster_base.py- which initialises the monsters within a monster base class and contains methods such as get hp set hp get attack get speed
elements.py - which contains a class to calculate element effectiveness from a preexisting type effectiveness csv in the repository
team.py- which sets up ur team of six
battle.py- to battle
and finally tower.py- In the battle tower, the player (with a team of monsters), faces a gauntlet of teams of monsters to battle.
(Sorry for the crude overview of those files its just there for context as most is irrelevant as ive completed it. )
In essence task 1 i had to complete monster base and the simple stats class, task 2 had to do elements.py and task 3 was team.py. Within the repository are test files in which i can call py run_tests.py (in which i would then specify the number of the task i wanted to test like py run_tests.py 1 ran test_monster_base.py). I have passed the first 3. But am now struggling heavily with task 4 which is to implement functionality within battle.py and specifcally the battle class. Here is what i have so far