#include #include #include #include //for sleep_timer #include #include #include "zclass.h" //for main to mention the header file using namespace std; int main() { contender player; //health, power contender boss; boss.bossh(); //actually lost contact... review cout << "Radio: We've lost contact from the lower division.\n"; paws(1500); cout << "Radio: Word can't get out that Patient Zero escaped.\n"; paws(1500); cout << "Urghuhhh\n"; paws(2000); cout << "Radio: Its with you? Go ahead and take it out\n"; paws(1500); cout << "Enter 'a' to attack.\n"; string attack; cin >> attack; if (attack == "cheat"){ player.buff(); boss.lose(); paws(2000); cout << "Radio: You may be next on the list. Good work.\n"; } else if (attack == "a"){ player.lose(); cout << "Radio: He's invincible?! Hey buddy?\n"; paws(2000); cout << "Radio: Uh oh...\n"; paws(1500); cout << "Radio: Looks like we're gonna go nuclear...\n"; paws(2000); } else { paws(1500); cout << "You're unarmed? What did we hire you for?!\n"; paws(1500); return EXIT_FAILURE; } return EXIT_SUCCESS; } void paws(int n) { this_thread::sleep_for(chrono::milliseconds(n)); }