12345678910111213141516171819202122232425262728293031323334353637383940414243444546
#include <iostream> #include <Windows.h> #include <Game.h> using namespace std; int menu_choose; int main() { menu: system("cls"); SetConsoleTitle("Menu"); cout << "[======] [] [] [======] [====] [====] [====] " << endl; cout << " [] [] [] [] [] [] [] [] [] []" << endl; cout << " [] [] [] ------------ [] [] [] [] [] " << endl; cout << " [] [] [] | | [====] [====] [] [====] " << endl; cout << " [] [] [] [] ------------ [] [] [] [] [] " << endl; cout << " [] [] [] [] [] [] [] [====]" << endl << endl << endl; cout << "*************" << endl; cout << "*1.New Game *" << endl; cout << "*************" << endl; cout << "*2.Load Game*" << endl; cout << "*************" << endl; cout << "*3.Exit *" << endl; cout << "*************" << endl; cin >> menu_choose; switch (menu_choose) { case 1: Game_INIT(); break; case 2: cout << "Sorry, no save/load system." << endl; return 1; break; case 3: system("cls"); return 1; break; default: cout << "Oops! Something went wrong, restarting" << endl; goto menu; break; } }