Tobee_RPG/src/Main.cpp

30 lines
942 B
C++

/* This code has no license so you can do whatever you want with it.
made by M-C-O-B 2021
*/
#include <iostream>
using namespace std;
#include "RPG.h"
// makes a function called PrgEnd
void PrgEnd();
int main(){
cout << "Tobi was walking home from his long ass walk" << endl;
cout << "Then FROM OUTTA NOWHERE HE GOT JUMPED BY SOME ASSHOLE\n" << endl;
cout << "To play just type a number then hit enter" << endl;
cout << "Oh yeah if you type a letter the game fuckin breaks, enjoy\n" << endl;
RPG();
cout << "Happy Birthday Tobi\n";
PrgEnd();
return 0;
}
void PrgEnd(){
string Name; // this makes a string called name
cout << "To exit the program please type your name: ";
cin >> Name; // this gets what you typed
cout << "Thanks for playing: " << Name << endl;// this displays what you type
}