Using Classes
- Define the functions declared in BossFight.h so that main.cpp produces results similar to when BossFight.obj is included in the project
- For each turn, each member of the party will attack the boss, then the boss will attack the party: either one full damage attack on one member, or a ½ damage attack on the entire party.
Three files are provided to you.
- Main.cpp contains the driver that will run the declared functions to ensure they work properly, it does not need to be altered or submitted.
- BossFight.h contains the declarations and function prototypes related to the class, it does not need to be altered or submitted.
- BossFight.obj contains a compiled solution that will allow you to test existing functionality. It needs to be removed from your project for you to test your own implementation. It will be replaced by your submission, which you can think of as “BossFight.cppâ€. This cpp file will be the only file that you are submitting.
Points:
1 – Filename and Header
1.5 – Documentation, readability, format
1.5 – Output testing
2 – Proper program flow (conditions, loops, functions, etc)
3 – Proper use of classes
1 – Proper multi-file project
Header
//Author: Eric May (your name)
//CPSC 120 Lab 9
//<MM/DD/YY> (Current Date)
Filename
<Last Name><First Initial>lab9.cpp
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!
NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.