Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |