Skip to content
Permalink
Browse files
Create CombatEnding.cpp
  • Loading branch information
marekp committed May 28, 2020
1 parent 0cf1bad commit dd0900911b2a44a96b58eadf26405112b4787587
Showing 1 changed file with 33 additions and 0 deletions.
@@ -0,0 +1,33 @@
#include <iostream>
#include <vector>
#include <string>
#include <ncurses.h>
#include "Finish.cpp"
#pragma once
using namespace std;

int combatEnding(){

cout << "You Manage to Defeat the enemy and see the aura that was shrouding them disappear and fly away in the distance." << endl;
sleep(2);
cout << "You decide to search the persons body for anything \nYou find a not on the body. It seems to be some type of coordinate." << endl;
sleep(2);
cout << "Maybe this can can be some type of clue, but you have nothing else to go on." << endl;
sleep(2);
cout << "You can only hope this location would be the place youll be able to find the answers you need..." << endl;
sleep(3);
string choice;

cout<< "Would you like to see the credits for this game(Y/N)?: ";
cin>>choice;

if (choice == "y" || choice == "Y"){
finish();
}
else{
exit(0);
}


return 0;
}

0 comments on commit dd09009

Please sign in to comment.