Exemplo n.º 1
0
void init_new_game(player_data &loaded){

        char opt;
        cout << "Would You like to run the tutorial? " << endl;
        cin >> opt;
        
        if(opt == 'y'){
            run_tutorial();
            loaded.TH.newgame();
        }
        if(opt == 'n'){
            loaded.TH.newgame();
        }
    
    cout << "Beginning Game " << endl;
    gameloop(loaded);
}
Exemplo n.º 2
0
void scenario_run_menu(){
    
    int input;
    
    do{
        cout << "===== This is The Scenario Menu ===== " << endl;
        cout << "1.) Run Tutorial" << endl;
        cout << "2.) Print Game Screen " << endl;
        cout << "3.) Return To Main Menu " << endl;
        cout << endl;
        cout << "Menu Input: ";
        cin >> input;
        cout << endl;
        
        if(input == 1){
            run_tutorial();
        }
        else if(input == 2){
            print_game_screen(current);
        }
        else if(input == 3){

        }
        else if(input == 4){

        }else{
            cout << " An Incorrect input has occurred (Press 5 to return to main menu or try again)" << endl;
        }

        
        
    }while(input != 3);
    
    cout << "Returning to Main Menu " << endl << endl;
    
};