Basic CMD Stuff
So you have to get to heaven and the name of the game is "Welcome to Hell"

Another way to play!
How to run the game using AutoIT
Lol, Any Ideas?

Code:
using namespace std;
void cMenu();
void MainMenu();
void oMenu();
void Options();
void pMenu();
int Check1 = 0;
int Check2 = 3;
int Check3 = 5;
int main(int argc, char** argv) {
SetConsoleTitle(TEXT("Welcome to Hello!"));
cMenu();
return 0;
}
void cMenu() {
do {
Check2 = 0;
MainMenu();
switch (Check1) {
case 1:
cout << "Welcome to Hell\n";break;
case 2:
Options();break;
case 3:break;
pMenu();break;
case 4:
cout << "Your secretly in Heaven\n";break;
}
} while (Check1 != 3);
}
void Options(void) {
do {
oMenu();
switch (Check2) {
case 1:
cout << "Heaven or Hell\n";break;
case 2:
cout << "Your already in Hell!?\n";break;while (Check3 != 3);
case 3:
cout << "Your already in Heaven!\n";break;
case 4:
break;default:break;
}
} while (Check2 != 3);
}
void MainMenu(void) {
cout << "Main Menu\n";
cout << endl << "1 - Start game\n" << endl;
cout << endl << "2 - Options\n" << endl;
cout << endl << "3 - Quit\n" << endl;
cout << "Please choose: ";
cin >> Check1;
}
void oMenu(void) {
cout << "Options Menu\n";
cout << endl << "1 - Difficulty\n" << endl;
cout << endl << "2 - Hell\n" << endl;
cout << endl << "3 - Heaven\n" << endl;
cout << "Please choose: ";
cin >> Check2;
}
void pMenu(void) {
cout << "Check Menu\n";
cout << endl << "1 - Difficulty\n" << endl;
cout << endl << "2 - Heaven\n" << endl;
cout << endl << "3 - Quit\n" << endl;
cout << "Please choose: ";
cin >> Check3;
}
Code:
int main() {
char command[50];
strcpy_s(command, "SECRET -l");
system(command);
std::cout << "Welcome to Hell!\n";
std::cout << "Press Enter To Start Game \n";
system("PAUSE");
Sleep(6000);
std::cout << "*Bang* Your in hell\n";
system("PAUSE");
strcpy_s(command, "type Hell.bat\n");
system(command);
system("PAUSE");
return 1;
}
Code:
#include <MsgBoxConstants.au3>
#include <Misc.au3>
MsgBox($MB_OK, "Tutorial", "Hello World!")
Run("CMD.exe")
sleep(1000)
Send("{ENTER}")
sleep(1000)
Send("Pasta2.exe")
Send("{ENTER}")
return(1)
Lol, Any Ideas?