Tobee_RPG/src/Main.cpp

30 lines
942 B
C++
Raw Permalink Normal View History

2021-08-12 18:05:34 +00:00
/* 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;
2021-10-30 20:48:46 +00:00
#include "RPG.h"
// makes a function called PrgEnd
void PrgEnd();
2021-08-12 18:05:34 +00:00
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;
}
2021-10-30 20:48:46 +00:00
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
}