Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
c-_game/CombatEnding.cpp
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
33 lines (27 sloc)
921 Bytes
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
#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; | |
} |