Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // i got bored and made this for fun looool
- #include <iostream>
- #include <string>
- //#include <vector>
- // not done with it ok!?!?!/
- using namespace std;
- bool gameYES; // says yes to the game
- bool gameNO; // says no
- bool logWRONG; // incorrect ha
- bool logCORRECT; // we good
- int main() {
- char letters[] = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i',
- 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r',
- 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' };
- string user;
- string pass;
- string gameYESst;
- string gameNOst;
- cout << " LOG CONSOLE " << endl;
- cout << " Made by Aiden Yi " << endl;
- cout << "Username : ";
- cin >> user;
- cout << "Password : ";
- cin >> pass;
- cout << "Logging in" << endl;
- if(user == "aiden" && pass == "yi"){
- logCORRECT = true;
- } else {
- logWRONG = true;
- }
- if(logCORRECT == true){
- cout << "Welcome " << user << "!" << endl;
- cout << "Wana play a game? [Y/N] : " << endl;
- cin >> gameYESst;
- if(gameYESst == "Y" || gameYESst == "y"){
- cout << "Alright you chose : " << gameYESst << endl;
- cout << "Lets load up the game now" << endl;
- cout << "This game is about choosing a random letter!! YOU ONLY HAVE ONE CHANCE!!!!" << endl;
- } else {
- cout << "Either you chose N/n or some other number character :: ERROR 404" << endl;
- }
- } else if(logWRONG == true){
- cout << "oh poop its wrong!!!!!" << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement