Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<stdlib.h>
- #include<windows.h>
- int main(){
- //Tittle
- main_menu:
- system("cls");
- printf("===========\n Main Menu\n===========\n\n\n");
- //Main menu
- printf("1. Play\n2. Help\n3. Credits\n4. Quit Game\n\n\n"); //Selection
- int mainmenuchoice;
- scanf("%d", &mainmenuchoice); //Scanning
- //Choices (Conditions)
- if(mainmenuchoice == 1){
- goto First_Frame;
- }
- else if(mainmenuchoice == 2){
- goto game_help;
- }
- else if(mainmenuchoice == 3){
- goto credits;
- }
- else if(mainmenuchoice == 4){
- exit(0);
- }
- //Choices
- game_help:
- system("cls");
- printf("To play, you simply will have to choose an action between 1 or 2 (or higher \nsometimes) by typing this number and then confirm with [ENTER].\n\n");
- printf("Press [ENTER] to go back to the main menu.");
- getch();
- goto main_menu;
- credits:
- system("cls");
- printf("Game programmed in C by Wolfiy.\n\n1. Youtube\n2. Twitter\n3. Instagram\n\n9. Main Menu\n\n");
- int website;
- scanf("%d", &website);
- if(website == 1){
- ShellExecute(NULL, "open", "https://www.YouTube.com/DarkWolfiiy", NULL, NULL, SW_SHOWNORMAL);
- goto credits;
- }
- else if(website == 2){
- ShellExecute(NULL, "open", "https://www.Twitter.com/DarkWolfiy", NULL, NULL, SW_SHOWNORMAL);
- goto credits;
- }
- else if(website == 3){
- ShellExecute(NULL, "open", "https://Instagram.com/WolfiyEditor", NULL, NULL, SW_SHOWNORMAL);
- goto credits;
- }
- else if(website == 9){
- goto main_menu;
- }
- getchar();
- //====================================================GAME=================================================================
- //First Frame (1)
- First_Frame:
- system("cls");
- printf("\n\nHey, you, who are you? Why are you here?\n\n\t1. Ah... My head hurt so much... Where am I..?\n\t2. WO-WO-WO-WOW who are YOU? Why did you bring me HERE?\n\n");
- int first_frame_choice;
- scanf("%d", &first_frame_choice);
- if(first_frame_choice == 1){
- goto first_frame_choice_1;
- }
- else if(first_frame_choice == 2){
- goto first_frame_choice_2;
- }
- //first_frame_choice_1
- first_frame_choice_1:
- system("cls");
- printf("\n\nI can't tell it to you. Not now. Not here. Follow me.\n\n");
- goto frame_2_way_1;
- //first_frame_choice_2
- first_frame_choice_2:
- system("cls");
- printf("pssssssh be quiet! They are listening!\n\n");
- goto frame_2_way_2;
- //Second Frame (2)
- frame_2_way_1:
- printf("\t1. Why..?\n\t2. I want explications, and NOW!\n\n");
- int choice_frame_2_way_1;
- scanf("%d", &choice_frame_2_way_1);
- if(choice_frame_2_way_1 == 1){
- goto answer_frame_2_way_1_1;
- }
- else if(choice_frame_2_way_1 == 2){
- goto answer_frame_2_way_1_2;
- }
- frame_2_way_2:
- printf("1. *whispering* What..? Who is listening?\n2. *shouting* LAAAALALAlALALAAAAALALLALLA!!!\n\n");
- int choice_frame_2_way_2;
- scanf("%d", &choice_frame_2_way_2);
- if(choice_frame_2_way_2 == 1){
- goto answer_frame_2_way_2_1;
- }
- else if(choice_frame_2_way_2 == 2){
- goto answer_frame_2_way_2_2;
- }
- //Answers
- answer_frame_2_way_1_1:
- system("cls");
- printf("\n\nI can't explain now. Just follow me. I won't hurt you, and if I would, I could \nnot.\n\n");
- goto frame_3_way_1_1;
- answer_frame_2_way_1_2:
- system("cls");
- printf("Stop shouting! If they find us, they'll kill us!\n\n");
- goto frame_3_way_1_2;
- answer_frame_2_way_2_1:
- system("cls");
- printf("\n\nI can't tell you know, if they find us, we're dead! Just follow me.\n\n");
- goto frame_3_way_2_1;
- answer_frame_2_way_2_2:
- system("cls");
- printf("\n\nNooo! Stop! They are ready to kill us if the find you! If you die here, you're \ndead for real!\n\n");
- goto frame_3_way_2_2;
- //Third Frame (3)
- frame_3_way_1_1:
- printf("\t1. Ummm... Okay...\n\t2. And why should I trust you?\n\n");
- int choice_frame_3_way_1_1;
- scanf("%d", &choice_frame_3_way_1_1);
- if(choice_frame_3_way_1_1 == 1){
- goto answer_frame_3_way_1_1;
- }
- else if(choice_frame_3_way_1_1 == 2){
- goto answer_frame_3_way_1_1_2;
- }
- frame_3_way_1_2:
- printf("\t1. If you say so...\n\t2. But who?!\n\n");
- int choice_frame_3_way_1_2;
- scanf("%d", &choice_frame_3_way_1_2);
- if(choice_frame_3_way_1_2 == 1){
- goto answer_frame_3_way_1_2;
- }
- else if(choice_frame_3_way_1_2 == 2){
- goto answer_frame_3_way_1_2_2;
- }
- frame_3_way_2_1:
- printf("\t1. Okay...\n\t2. Mmmh...k...\n\n");
- int choice_frame_3_way_2_1;
- scanf("%d", &choice_frame_3_way_2_1);
- if(choice_frame_3_way_2_1 == 1){
- goto answer_frame_3_way_2_1;
- }
- else if(choice_frame_3_way_2_1 == 2){
- goto answer_frame_3_way_2_1_2;
- }
- frame_3_way_2_2:
- printf("\t1. Wow. Couldn't you say it before?\n\t2. What do you mean by %cdead for real%c ? o.O\n\n", 34, 34);
- int choice_frame_3_way_2_2;
- scanf("%d", &choice_frame_3_way_2_2);
- if(choice_frame_3_way_2_2 == 1){
- goto answer_frame_3_way_2_2;
- }
- else if(choice_frame_3_way_2_2 == 2){
- goto answer_frame_3_way_2_2_2;
- }
- //Answers
- answer_frame_3_way_1_1:
- system("cls");
- printf("\n\nOkay, so be quiet and keep being close from me. Do NOT make any noise.\n\n");
- goto frame_4_start;
- answer_frame_3_way_1_1_2:
- system("cls");
- printf("\n\nBecause i'm the only one that can help you.\n\n");
- goto frame_4_start;
- answer_frame_3_way_1_2:
- system("cls");
- printf("\n\nK, follow me, be quiet, keep being close.\n\n");
- goto frame_4_start;
- answer_frame_3_way_1_2_2:
- system("cls");
- printf("\n\nFollow me. You'll know everything, but later.\n\n");
- goto frame_4_start;
- answer_frame_3_way_2_1:
- system("cls");
- printf("\n\nTrust me, I'll help you.\n\n");
- goto frame_4_start;
- answer_frame_3_way_2_1_2:
- system("cls");
- printf("\n\nJust trust me. Without me, you're dead, just follow me.\n\n");
- goto frame_4_start;
- answer_frame_3_way_2_2:
- system("cls");
- printf("\n\nYeaaaa sorry, so follow me or um... yea, you see what I mean...\n\n");
- goto frame_4_start;
- answer_frame_3_way_2_2_2:
- system("cls");
- printf("\n\nYou'll understand soon. Just follow me.\n\n");
- goto frame_4_start;
- //Fourth Frame (4)
- frame_4_start:
- printf("1. Well... okay...");
- int starting;
- scanf("%d", &starting);
- if(starting == 1){
- goto frame_5_explications;
- }
- //Fifth Frame (5)
- frame_5_explications:
- printf(" ");
- getchar();
- system("cls");
- printf("\n\n===Later===\n\n\n\n\t\tPress [ENTER] to continue.\n\n");
- getchar();
- system("cls");
- printf("\n\nOkay, so we're finally arrived.\n\n\n\n\t\tPress [ENTER] to continue.\n\n");
- getchar();
- system("cls");
- printf("\n\nJust let me check that we are in security.\n\n\n\n\t\tPress [ENTER] to continue.\n\n");
- getchar();
- system("cls");
- printf("\n\nWell... everything looks okay...\n\n\n\n\t\tPress [ENTER] to continue.\n\n");
- getchar();
- system("cls");
- printf("\n\nJust one more thing and... here we are!\n\n\n\n\t\tPress [ENTER] to continue.\n\n");
- getchar();
- return(0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement