-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
46 lines (43 loc) · 1.9 KB
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#include <iostream>
#include <conio.h>
#include <iomanip>
#include <windows.h>
#include "menucivilizacion.h"
using namespace std;
int main()
{
//Para tamaño ventana
// 81 x 40 - Cosolas 18
SetConsoleTitle(TEXT("GAME_ID"));
cout << R"(
.--------.--------------------------------------------------.
| ` __)__________________________________________ |
| ) |.-------------------------------------------.| |
|,`._,-|| || |
| || __ __ || |
| || / /|/ | ||,'`. |
| || ( __ ___ _ _ ___ ( | | || `'|
| || | )| )| | )|___) | | ) ||`--'`-|
| || |__/ |__/|| / |__ | |__/ || |
| || --- || |
|,. || _______________________________________ || |
| \`._,|| | AGE OF EMPIRES | || |
|.__`\_|| '------------------' '------------------' ||,-' ,'|
|::::::|| __________________ || ,' ;|
|::::::|| | PROYECTO | ||-._,._|
|:::::_|| '------------------' ||::::::|
|:,-'' ||_____________________o_____________________||::::::|
| ,`-------,----------.-------.------------------'::::::|
| , [1] INICIAR| |::::: [0] SALIR ::::::::::::|
'-'---------'-------------'-------'-------------------------'
)";
char key = ' ';
key = _getch();
if (key == '1') {
system("cls");
MenuCivilizacion c;
}else if (key == '0') {
system("cls");
return 0;
}
}