#include <ctime>
#include <iostream>
#include <random>
#include <string>
using namespace std;
int main() {
string userinput;
int userinput1;
int userinput2;
int userinput3;
int userinput4;
int userinput5;
int userinput6;
string PlayerName;
mt19937 RandomGenerator(time(0));
uniform_real_distribution<float> RandomWordGenerator1(0, 100);
int number = RandomWordGenerator1(RandomGenerator);
cout << " Welcome to the Emily dating application\n";
// tell something to the bot
cout << "Start talking with Emily:\n";
cin >> userinput;
if (number <= 20 && number >= 0) {
cout << "Emily: Hey!, how are you doing?\n";
}
else if (number <= 40 && number >= 21) {
cout << "Emily: Yo!,nice to meet you, how are you doing?\n";
} else if (number <= 60 && number >= 41) {
cout << "Emily: Hi,how are you?\n";
} else if (number <= 80 && number >= 61) {
cout << "Emily: Sup!,how are you?\n";
} else if (number <= 100 && number >= 81) {
cout << "Emily: Good day!,how's life?\n";
}
cout << endl;
cout << "1:Good 2:Bad 3:Okey\n";
cin >> userinput1;
cout << endl;
if (userinput1 == 1) {
cout << "Emily: Oh, that's nice to hear!,what do you want to talk about?,oh I almost forgot what is your name?\n";
} else if (userinput1 == 2) {
cout << "Emily: Well I am sorry for you,what do you want to talk about?,oh I almost forgot what is your name?\n";
} else if (userinput1 == 3) {
cout << "Emily: Okey,so what do you want to talk about?,what is your name by the way?\n";
} else {
cout << "Not clear answer,do you even know how to talk?\n";
cout << "GAME OVER!\n";
return 0;
}
cin >> PlayerName;
cout << endl;
cout << "1:School 2:Where are you from? 3:How old are you? 4:Can we have sex? 5:What do you like doing in your free time?\n";
cin >> userinput2;
if (userinput2 == 1) {
cout << "Emily: You know I study in 11th Grade and I am pretty good at "
"school only A's and B's,well it was nice to meat you now bye!\n";
return 0;
} else if (userinput2 == 2) {
cout << "Emily: My name is Emily and I am from Russia\n";
return 0;
} else if (userinput2 == 3) {
cout << "Emily: I am 17 years old,how old are you?\n";
cout << "1.From 1-10 2.From 10-20 3.From 20-30 4.From 30-40 5. 40+\n";
cin >> userinput3;
} else if (userinput2 == 4) {
cout << "Emily: Okey...,you think I am some kind of prostitute!?\n";
cout << "1.Yes 2.No\n";
cin >> userinput4;
} else if (userinput2 == 5) {
cout << "Emily: In my free time I like reading,playing tennis and hanging out with friends\n";
cout << "GAME OVER!\n\n";
return 0;
}
if (userinput3 == 1) {
cout << "Emily: Hey kid you better go play with some toys!\n";
cout << "GAME OVER!\n\n";
return 0;
} else if (userinput3 == 2) {
cout << "Emily: We might make it out someday!\n";
} else if (userinput3 == 3) {
cout << "Emily: You are a little bit too old for me\n";
cout << "GAME OVER!\n\n";
return 0;
} else if (userinput3 == 4) {
cout << "Emily: You are definetly way to old for me\n";
cout << "GAME OVER!\n\n";
return 0;
} else if (userinput3 == 5) {
cout << "Emily: Why don't you go ahead and f**k off,you old \n";
"pedophile!\n";
cout << "GAME OVER!\n\n";
return 0;
}
if (userinput4 == 1) {
cout << "Well maybe we could! :)\n";
cout << "How old are you?\n";
cout << endl;
cout << "1. 0-5 2. 5-15 3. 15-20 4. 20-30 5. 30-40 6. 40+\n";
cin >> userinput5;
}
else if (userinput4 == 2) {
cout << "Emily:I kinda like you!, but you are too young! \n";
cout << "GAME OVER!\n\n";
return 0;
}
if (userinput5 == 1) {
cout << "Emily: You are a lier and I hate liers! :( \n";
return 0;
} else if (userinput5 == 2) {
cout << "Emily: You may be little bit young still,here's my number: "
"634187990\n";
} else if (userinput5 == 3) {
cout << "Emily: Oh!,just perfect,here's my number: 634187990\n";
cout << "THE END\n";
} else if (userinput5 == 4) {
cout << "Emily: Go get yourself a wife and some kids\n";
} else if (userinput5 == 5) {
cout << "Emily: Are you mentaly ill?!\n";
} else if (userinput5 == 6) {
cout << "Emily: I am calling the cops you deserve prison time\n";
cout << "1.Don't I am only joking! 2.Alright then see you later bitch!\n";
cin >> userinput6;
}
return 0;
}