#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main()
{
    srand((unsigned)time(0));
    int level = 1;
    string name;
    int ans;
    int options;
    int math;
    int pickup;
    
    cout << "Accepted the text adventure - by Warren\n";
    cout << "Replacing the famed Justin Long is... (Type your name)\n";
    cin >> name;
    cout << "" << name << " is a student that screwed around in high school,\n";
    cout << "and now you worry about getting into college.\n";
    cin.get();
    cin.get();
    cout << "To start as a freshman at South Harmon Institute of Technology\n";
    cout << "you must level up to level 2 and save ten thousand in the bank.\n";
    cin.get();
    cout << "Let's get some money first.\n";
    cout << "To earn money you have a few options:\n";
    cin.get();
    cout << "1. Sell fake IDs to students.\n";
    cout << "2. Mow lawns for parties you have not been invited to.\n";
    cout << "3. Sell your computer.\n";
    cin >> ans;
    if (ans == 1)
    {
            cout << "You start taking photos in an empty class room during 8th period.\n";
            cin.get();
            cout << "Schrader runs in to warn you about the assistant principle.\n";
            cin.get();
            cout << "'Every afternoon he comes in here to deface a women's fitness magizine'\n";
            cout << "pants Schrader. The bell rings to singnal the end of 8th period.\n";
            cin.get();
            cout << "Your options are limited in this short time:\n";
            cin.get();
            cout << "1. Jump out the windows to hide.\n";
            cout << "2. Hide behind Schrader and pin it on him.\n";
            cout << "3. Pretend to be the Glee Club.\n";
            cin >> options;
            if (options == 1)
            {
                        cout << "All students dive out the windows...\n";
                        cin.get();
                        cout << "And fall to their deaths, because you forgot that you were on the third floor.\n";
                        cin.get();
                        cout << "Your father says, 'Justin Long was a better Bartleby than you.'\n";
                        cout << "You need to rewatch the movie or get a life.\n";
                        goto end;
                        }
            if (options == 2)
            {
                        cout << "Schrader's mass is not big enough for all the students to hide behind.\n";
                        cin.get();
                        cout << "You get caught and lose your best friend.\n";
                        cout << "You lose.\n";
                        goto end;
                        }
            if (options == 3)
            {
                        cout << "You lose your dignity, but keep your personal freedom.\n";
                        cin.get();
                        cout << "You make 500 on each ID and print 20 for the students.\n";
                        cout << "How much money did you make?\n";
                        cin >> math;
                        if (math == 10000)
                        {
                                 cout << "You leveled up and made the money you need.\n";
                                 cin.get();
                                 goto leveldos;
                        
                        }
                         else
                        {
                             cout << "Learn how to type and then consider playing again.\n";
                             goto end;
                        }
            }
            else
            {
                cout << "" << name << ", you really need to learn how to read.\n";
                goto end;
                }
    if (ans == 2)
    {
            cout << "You start mowing and see Monica with her friends.\n";
            cin.get();
            cout << "What would you like to say to her?\n";
            cout << "1.Baby you and me is going on a date.\n";
            cout << "2. Can I get your phone number, I lost mine.\n";
            cout << "3. Have fun being hot.\n";
            cin >> pickup;
            if (pickup == 1)
            {
                       cout << "Robert Downey Jr. beats you to death. You are out.\n";
                       goto end;
                       }
            if (pickup == 2)
            {
                       cout << "She writes her phone number on a dollar bill...\n";
                       cin.get();
                       cout << "And puts it into a vending machine.\n";
                       cin.get();
                       cout << "You have lost the girl of your dreams.\n";
                       cout << "You gain 400 pounds and watch soap operas all the time.\n";
                       cin.get();
                       cout << "This disrupts the forming of your college, so you have lost.\n";
                       goto end;
                       }
            if (pickup == 3)
            {
                       cout << "She does not hear you and you continue with your crappy job.\n";
                       cin.get();
                       cout << "You find 10000 dollars worth of crack in a swingset and make the money you need.\n";
                       cin.get();
                       goto leveldos;
                       }
    }
    if (ans == 3)
    {
            cout << "You have sold your computer for a pitiful amount of money.\n";
            cin.get();
            cout << "You cannot continue your university building progress without it.\n";
            cout << "This means you lose.\n";
            goto end;
            }
leveldos:
         
         
end:
    cin.get();
    cin.get();
    return 0;
}}

