Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CPSC 121 Lab 9 Spring 2018 Eric May Using Classes Define the functions declared in BossFight.h so that main.cpp produces results similar to when BossFight.obj

CPSC 121 Lab 9 Spring 2018 Eric May 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. https://classroom.github.com/g/vvhpJ_Rz Three files are provided to you. driver.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. Source.obj contains a compiled version of my solution to your homework 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. There are functions for both the Gladiator and BossFight class that you are responsible for providing; everything should get a green squiggly after removing the .obj file. You can reuse and/or repurpose your work from the previous lab wherever appropriate. ERRATA - The provided example doesn't tell the user about critical hits The provided example doesn't evade The provided example allows dead party members to attack Fix these or points are in peril! Points: 1 - Filename and Header 1.5 - Documentation, readability, format 1.5 - Output testing 2 - Proper program flow (conditions, loops, functions, etc) 4 - Proper use of classes

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Online Market Research Cost Effective Searching Of The Internet And Online Databases

Authors: John F. Lescher

1st Edition

0201489295, 978-0201489293

More Books

Students also viewed these Databases questions

Question

Discuss the process involved in selection.

Answered: 1 week ago

Question

Differentiate tan(7x+9x-2.5)

Answered: 1 week ago

Question

Explain the sources of recruitment.

Answered: 1 week ago

Question

Differentiate sin(5x+2)

Answered: 1 week ago

Question

Compute the derivative f(x)=1/ax+bx

Answered: 1 week ago