Advertisement
Guest User

PROYECTO FINAL

a guest
Jun 24th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 18.67 KB | None | 0 0
  1. #include <iostream>
  2. #include <fstream>
  3. #include <vector>
  4. #include <ctime>
  5. #include <windows.h>
  6.  
  7. #define limpiar system("cls");
  8.  
  9. using namespace std;
  10.  
  11. struct usuario{
  12.     string usuariog, contrasenyag;
  13.     };
  14.  
  15. int menu(){
  16. cout<<"--------------------"<<endl;
  17. cout<<"       MENU         "<<endl;
  18. cout<<"--------------------"<<endl<<endl;
  19. cout<<"1.Iniciar Sesion"<<endl<<endl;
  20. cout<<"2.Registrarse"<<endl<<endl;
  21. cout<<"3.Mostrar usuarios"<<endl<<endl;
  22. cout<<"4.Eliminar usuario"<<endl<<endl;
  23. cout<<"5.Salir"<<endl<<endl;
  24. int opcio;
  25. cin>>opcio;
  26. return opcio;
  27. }
  28.  
  29. int menu2(){
  30. limpiar;
  31. cout<<"Selecciona minijuego"<<endl<<endl;
  32. cout<<"1.Gotta Catch Em All"<<endl<<endl;
  33. cout<<"2.Adivina el numero"<<endl<<endl;
  34. cout<<"3.Simon"<<endl<<endl;
  35. cout<<"4.Salir"<<endl<<endl;
  36. int opcio2;
  37. cin>>opcio2;
  38. return opcio2;
  39. }
  40.  
  41. void adivinanumero(){
  42.  
  43. srand(time(NULL));
  44.  
  45. int opcion, numeroAleatorio, numeroUsuario, vidas;
  46. float probabilidad;
  47.  
  48. menu:
  49.  
  50.     system("title Adivina el numero");
  51.     system("color 0f");
  52.     limpiar;
  53.     vidas=5;
  54.  
  55.     cout << "Adivina el numero" << endl << endl;
  56.     cout << "1. Facil -> (del 1 al 15)" << endl;
  57.     cout << "2. Normal -> (del 1 al 25)" << endl;
  58.     cout << "3. Dificil -> (del 1 al 50)" << endl;
  59.     cout << "Elige la dificultad (escribe el numero): "; cin >> opcion;
  60.  
  61.     switch(opcion) {
  62.  
  63.      case 1:
  64.         limpiar;
  65.         system("title Dificultad facil. 1-15");
  66.         system("color 0A");
  67.         numeroAleatorio = rand() % 15 + 1;
  68.  
  69.         while (vidas > 0)
  70.         {
  71.             limpiar;
  72.             cout << "Escribe un numero: "; cin >> numeroUsuario;
  73.  
  74.             if (numeroUsuario == numeroAleatorio)
  75.             {
  76.                 limpiar;
  77.                 system("title Has ganado.");
  78.                 cout << "Bien! Has adivinado el numero en la dificultad facil." << endl;
  79.                 cout << "Probabilidades de ganar: 33.3%";
  80.                 Sleep(1000);
  81.                 goto menu;
  82.             }
  83.             if (numeroUsuario > numeroAleatorio)
  84.             {
  85.                 limpiar;
  86.                 cout << "El numero aleatorio es MENOR que tu numero." << endl;
  87.                 vidas--;
  88.                 cout << "Vidas restantes: " << vidas << endl << endl;
  89.                 cout << "Volviendo..." << endl;
  90.                 Sleep(2000);
  91.             }
  92.             if (numeroUsuario < numeroAleatorio)
  93.             {
  94.                 limpiar;
  95.                 cout << "El numero aleatorio es MAYOR que tu numero." << endl;
  96.                 vidas--;
  97.                 cout << "Vidas restantes: " << vidas << endl << endl;
  98.                 cout << "Volviendo..." << endl;
  99.                 Sleep(2000);
  100.             }
  101.         }
  102.  
  103.         limpiar;
  104.         cout << "Has perdido en la dificultad facil!" << endl;
  105.         cout << "Probabilidades de ganar: 33.3%" << endl << endl;
  106.         cout << "El numero aleatorio era " << numeroAleatorio;
  107.         Sleep (2000);
  108.     goto menu;
  109.  
  110.         case 2:
  111.         limpiar;
  112.         system("title Dificultad normal. 1-25");
  113.         system("color 0B");
  114.         numeroAleatorio = rand() % 25 + 1;
  115.  
  116.         while (vidas > 0)
  117.         {
  118.             limpiar;
  119.             cout << "Escribe un numero: "; cin >> numeroUsuario;
  120.  
  121.             if (numeroUsuario == numeroAleatorio)
  122.             {
  123.                 limpiar;
  124.                 system("title Has ganado.");
  125.                 cout << "Muy bien! Has adivinado el numero en la dificultad normal." << endl;
  126.                 cout << "Probabilidades de ganar: 20%";
  127.                 Sleep(2000);
  128.                 goto menu;
  129.  
  130.             }
  131.             if (numeroUsuario > numeroAleatorio)
  132.             {
  133.                 limpiar;
  134.                 cout << "El numero aleatorio es MENOR que tu numero." << endl;
  135.                 vidas--;
  136.                 cout << "Vidas restantes: " << vidas << endl << endl;
  137.                 cout << "Volviendo..." << endl;
  138.                 Sleep(2000);
  139.             }
  140.             if (numeroUsuario < numeroAleatorio)
  141.             {
  142.                 limpiar;
  143.                 cout << "El numero aleatorio es MAYOR que tu numero." << endl;
  144.                 vidas--;
  145.                 cout << "Vidas restantes: " << vidas << endl << endl;
  146.                 cout << "Volviendo..." << endl;
  147.                 Sleep(2000);
  148.             }
  149.         }
  150.  
  151.         limpiar;
  152.         cout << "Has perdido!" << endl;
  153.         cout << "Probabilidades de ganar: 20%" << endl << endl;
  154.         cout << "El numero aleatorio era " << numeroAleatorio;
  155.         Sleep (2000);
  156.         goto menu;
  157.  
  158.          case 3:
  159.         limpiar;
  160.         system("title Dificultad difícil. 1-50");
  161.         system("color 0E");
  162.         numeroAleatorio = rand() % 50 + 1;
  163.  
  164.         while (vidas > 0)
  165.         {
  166.             limpiar;
  167.             cout << "Escribe un numero: "; cin >> numeroUsuario;
  168.  
  169.             if (numeroUsuario == numeroAleatorio)
  170.             {
  171.                 limpiar;
  172.                 system("title Has ganado.");
  173.                 cout << "Felicidades! Has adivinado el numero en la dificultad difícil." << endl;
  174.                 cout << "Probabilidades de ganar: 10%";
  175.                 Sleep (2000);
  176.                 goto menu;
  177.             }
  178.             if (numeroUsuario > numeroAleatorio)
  179.             {
  180.                 limpiar;
  181.                 cout << "El numero aleatorio es MENOR que tu numero." << endl;
  182.                 vidas--;
  183.                 cout << "Vidas restantes: " << vidas << endl << endl;
  184.                 cout << "Volviendo..." << endl;
  185.                 Sleep(2000);
  186.             }
  187.             if (numeroUsuario < numeroAleatorio)
  188.             {
  189.                 limpiar;
  190.                 cout << "El numero aleatorio es MAYOR que tu numero." << endl;
  191.                 vidas--;
  192.                 cout << "Vidas restantes: " << vidas << endl << endl;
  193.                 cout << "Volviendo..." << endl;
  194.                 Sleep(2000);
  195.             }
  196.         }
  197.  
  198.         limpiar;
  199.         cout << "Has perdido :(" << endl;
  200.         cout << "Probabilidades de ganar: 10%" << endl << endl;
  201.         cout << "El numero aleatorio era " << numeroAleatorio;
  202.         Sleep (2000);
  203.         goto menu;
  204.     }
  205. }
  206.  
  207. void simon(){
  208. srand(time(NULL));
  209.  
  210. // Lista de colores:    1f -> azul       2f -> verde       4f -> rojo        6f -> amarillo
  211.  
  212. system ("title Simon");
  213.  
  214. int nivel=1, comenzar, colorAleatorio, continuar=1, resultado=0, resultadoUsuario, iteraciones, n;
  215.  
  216. cout << "El juego consiste en memorizar una secuencia de colores e intentar repetirla." << endl << endl << endl;
  217. cout << "Pulsa 0 cuando estes listo/lista!" << endl << endl;
  218.  
  219. cin >> comenzar;
  220. while (comenzar!=0) {cin >> comenzar;}
  221.  
  222. limpiar;
  223.  
  224. while (continuar != 0 and nivel < 50)
  225. {
  226.     cout << "NIVEL " << nivel;
  227.     Sleep (1500);
  228.     limpiar;
  229.     iteraciones=nivel;
  230.     while (iteraciones>=0)
  231.     {
  232.         colorAleatorio = rand() % 4 + 1;
  233.         if (colorAleatorio == 1) system("color 1f");
  234.         else if (colorAleatorio == 2) system("color 2f");
  235.         else if (colorAleatorio == 3) system("color 4f");
  236.         else system("color 6f");
  237.         resultado = (resultado * 10) + colorAleatorio;
  238.         iteraciones--;
  239.         Sleep (1000);
  240.         system ("color f");
  241.         Sleep (1000);
  242.  
  243.     }
  244.  
  245.     limpiar;
  246.  
  247.     cout << "Azul      -> 1" << endl << "Verde     -> 2" << endl << "Rojo      -> 3" << endl << "Amarillo  -> 4" << endl << endl << endl << "INTRODUCE LA SECUENCIA DE COLORES: ";
  248.     cin >> resultadoUsuario;
  249.  
  250.     if (resultado == resultadoUsuario) {
  251.  
  252.         limpiar;
  253.         cout << "RESPUESTA CORRECTA!" << endl << "Para avanzar de nivel, pulsa 1." << endl << "Para salir, pulsa 0." << endl;
  254.  
  255.         if (nivel == 49) {cout << "ENHORABUENA!!!!! HAS CONSEGUIDO SUPERAR LOS 50 NIVELES";}
  256.                 cin >> continuar;
  257.     }
  258.  
  259.     else
  260.         {
  261.             limpiar;
  262.     cout << "RESPUESTA INCORRECTA :(" << endl << "Para reiniciar la partida, pulsa 1." << endl << "Para salir, pulsa 0." << endl;
  263.     cin >> n;
  264.     if (n==1) nivel=0;
  265.     if (n==0) continuar=0;
  266.     }
  267.     nivel++;
  268.     resultado=0;
  269.     limpiar;
  270. }
  271. }
  272.  
  273. void tipos(){
  274. srand(time(NULL));
  275.  
  276.     system ("title Gotta cath em all");
  277. // fuego gana a planta hielo
  278. // planta gana a tierra roca
  279. // hielo gana a planta tierra
  280. // tierra gana a roca fuego
  281. // roca gana a fuego hielo
  282.  
  283.     string usuario, IA, comenzar;
  284.     int puntosUsuario = 0, puntosIA = 0, tipoIA, continuar=1;
  285.     cout << "INSTRUCCIONES DEL JUEGO"  << endl << endl << endl << "Tienes que escoger un tipo Pokemon, si el tipo de tu rival es mas eficaz, perderas, y viceversa." << endl
  286.     << "El primero que llegue a 3 puntos gana la partida." << endl << endl <<
  287.     "     FUEGO     gana a     PLANTA y  HIELO" << endl << "     PLANTA    gana a     TIERRA y  ROCA" << endl << "     HIELO     gana a     PLANTA y  TIERRA" << endl
  288.     << "     TIERRA    gana a     ROCA   y  FUEGO" << endl << "     ROCA      gana a     FUEGO  y  HIELO";
  289.  
  290.     cout << endl << endl << "PULSA S CUANDO ESTES LISTO/LISTA" << endl;
  291.     cin >> comenzar;
  292.     while (comenzar != "s" and comenzar != "S") cin >> comenzar;
  293.     limpiar;
  294.  
  295.     while (continuar == 1) {
  296.     while (puntosUsuario != 3 and puntosIA != 3){
  297.             cout << "TUS PUNTOS: " << puntosUsuario << endl << "PUNTOS RIVAL: " << puntosIA << endl << endl << "SELECCIONA UN TIPO POKEMON: " << endl << endl << "F --> Fuego"
  298.             << endl << "P --> Planta" << endl << "H --> Hielo" << endl << "T --> Tierra" << endl << "R --> Roca" << endl << endl << "SELECCION: ";
  299.             cin >> usuario;
  300.             limpiar;
  301.             cout << "3"; Sleep (500); limpiar;
  302.             cout << "2"; Sleep (500); limpiar;
  303.             cout << "1"; Sleep (500); limpiar;
  304.             tipoIA = rand() % 5 + 1;
  305.             if (tipoIA == 1) IA = "Fuego";
  306.             else if (tipoIA == 2) IA = "Planta";
  307.             else if (tipoIA == 3) IA = "Hielo";
  308.             else if (tipoIA == 4) IA = "Tierra";
  309.             else IA = "Roca";
  310.  
  311.             if (usuario == "F" or usuario == "f"){
  312.  
  313.                 if (tipoIA == 1) {cout << "EMPATE" << endl << endl << endl << endl << "Tu tipo: Fuego" << endl << "Tipo Rival: " << IA; }
  314.                 if (tipoIA == 2) {cout << "GANAS LA RONDA" << endl << endl << endl << endl << "Tu tipo: Fuego" << endl << "Tipo Rival: " << IA; puntosUsuario++;}
  315.                 if (tipoIA == 3) {cout << "GANAS LA RONDA" << endl << endl << endl << endl << "Tu tipo: Fuego" << endl << "Tipo Rival: " << IA; puntosUsuario++;}
  316.                 if (tipoIA == 4) {cout << "PIERDES LA RONDA" << endl << endl << endl << endl << "Tu tipo: Fuego" << endl << "Tipo Rival: " << IA; puntosIA++;}
  317.                 if (tipoIA == 5) {cout << "PIERDES LA RONDA" << endl << endl << endl << endl << "Tu tipo: Fuego" << endl << "Tipo Rival: " << IA; puntosIA++;}
  318.                 Sleep (3000); limpiar;
  319.             }
  320.  
  321.  
  322.             if (usuario == "P" or usuario == "p"){
  323.  
  324.                 if (tipoIA == 1) {cout << "PIERDES LA RONDA" << endl << endl << endl << endl << "Tu tipo: Planta" << endl << "Tipo Rival: " << IA; puntosIA++;}
  325.                 if (tipoIA == 2) {cout << "EMPATE" << endl << endl << endl << endl << "Tu tipo: Planta" << endl << "Tipo Rival: " << IA; }
  326.                 if (tipoIA == 3) {cout << "PIERDES LA RONDA" << endl << endl << endl << endl << "Tu tipo: Planta" << endl << "Tipo Rival: " << IA; puntosIA++;}
  327.                 if (tipoIA == 4) {cout << "GANAS LA RONDA" << endl << endl << endl << endl << "Tu tipo: Planta" << endl << "Tipo Rival: " << IA; puntosUsuario++;}
  328.                 if (tipoIA == 5) {cout << "GANAS LA RONDA" << endl << endl << endl << endl << "Tu tipo: Planta" << endl << "Tipo Rival: " << IA; puntosUsuario++;}
  329.                 Sleep (3000); limpiar;
  330.             }
  331.  
  332.             if (usuario == "h" or usuario == "H"){
  333.  
  334.                 if (tipoIA == 1) {cout << "PIERDES LA RONDA" << endl << endl << endl << endl << "Tu tipo: Hielo" << endl << "Tipo Rival: " << IA; puntosIA++;}
  335.                 if (tipoIA == 2) {cout << "GANAS LA RONDA" << endl << endl << endl << endl << "Tu tipo: Hielo" << endl << "Tipo Rival: " << IA; puntosUsuario++;}
  336.                 if (tipoIA == 3) {cout << "EMPATE" << endl << endl << endl << endl << "Tu tipo: Hielo" << endl << "Tipo Rival: " << IA; }
  337.                 if (tipoIA == 4) {cout << "GANAS LA RONDA" << endl << endl << endl << endl << "Tu tipo: Hielo" << endl << "Tipo Rival: " << IA; puntosUsuario++;}
  338.                 if (tipoIA == 5) {cout << "PIERDES LA RONDA" << endl << endl << endl << endl << "Tu tipo: Hielo" << endl << "Tipo Rival: " << IA; puntosIA++;}
  339.                 Sleep (3000); limpiar;
  340.             }
  341.  
  342.             if (usuario == "t" or usuario == "T"){
  343.  
  344.                 if (tipoIA == 1) {cout << "GANAS LA RONDA" << endl << endl << endl << endl << "Tu tipo: Tierra" << endl << "Tipo Rival: " << IA; puntosUsuario++;}
  345.                 if (tipoIA == 2) {cout << "PIERDES LA RONDA" << endl << endl << endl << endl << "Tu tipo: Tierra" << endl << "Tipo Rival: " << IA; puntosIA++;}
  346.                 if (tipoIA == 3) {cout << "PIERDES LA RONDA" << endl << endl << endl << endl << "Tu tipo: Tierra" << endl << "Tipo Rival: " << IA; puntosIA++;}
  347.                 if (tipoIA == 4) {cout << "EMPATE" << endl << endl << endl << endl << "Tu tipo: Tierra" << endl << "Tipo Rival: " << IA; }
  348.                 if (tipoIA == 5) {cout << "GANAS LA RONDA" << endl << endl << endl << endl << "Tu tipo: Tierra" << endl << "Tipo Rival: " << IA; puntosUsuario++;}
  349.                 Sleep (3000); limpiar;
  350.             }
  351.  
  352.             if (usuario == "r" or usuario == "R"){
  353.  
  354.                 if (tipoIA == 1) {cout << "GANAS LA RONDA" << endl << endl << endl << endl << "Tu tipo: Roca" << endl << "Tipo Rival: " << IA; puntosUsuario++;}
  355.                 if (tipoIA == 2) {cout << "PIERDES LA RONDA" << endl << endl << endl << endl << "Tu tipo: Roca" << endl << "Tipo Rival: " << IA; puntosIA++;}
  356.                 if (tipoIA == 3) {cout << "GANAS LA RONDA" << endl << endl << endl << endl << "Tu tipo: Roca" << endl << "Tipo Rival: " << IA; puntosUsuario++;}
  357.                 if (tipoIA == 4) {cout << "PIERDES LA RONDA" << endl << endl << endl << endl << "Tu tipo: Roca" << endl << "Tipo Rival: " << IA; puntosIA++;}
  358.                 if (tipoIA == 5) {cout << "EMPATE" << endl << endl << endl << endl << "Tu tipo: Roca" << endl << "Tipo Rival: " << IA;}
  359.                 Sleep (3000); limpiar;
  360.             }
  361.  
  362.             }
  363.  
  364.     if (puntosIA == 3) {cout << "HAS PERDIDO :(" << endl << endl << endl;}
  365.     if (puntosUsuario == 3) {cout << "FELICIDADES, HAS GANADO!" << endl << endl << endl;}
  366.  
  367.     cout << "Para salir, pulsa 0." << endl << "Para volver a jugar, pulsa 1." << endl;
  368.     cin >> continuar;
  369.     if (continuar==1) {puntosUsuario=0; puntosIA=0; limpiar;}
  370.     }
  371. }
  372.  
  373. void iniciosesion(vector<usuario>& u, usuario& ug){
  374. string usuario, contrasenya;
  375. bool trobat=false;
  376. int i=0, error=0;
  377. ifstream fin("usuarios.txt");
  378. cout<<endl;
  379. while(error==0){
  380. cout << "INICIAR SESION" << endl << endl;
  381. cout<<"Usuario: "; cin>>usuario;
  382. cout<<"Contrasenya: "; cin>>contrasenya;
  383. while(!fin.eof()){
  384.     fin>>ug.usuariog>>ug.contrasenyag;
  385.     u.push_back(ug);
  386.     }
  387. while(i<u.size() and !trobat){
  388.     if(usuario==u[i].usuariog and contrasenya==u[i].contrasenyag) trobat=true;
  389.     else i++;
  390.     }
  391.     if(trobat){
  392.                 error=1;
  393.                 int op2=menu2();
  394.                 switch(op2){
  395.                     case 1: limpiar;
  396.                             tipos();
  397.                             break;
  398.                     case 2: limpiar;
  399.                             adivinanumero();
  400.                             break;
  401.                     case 3: limpiar;
  402.                             simon();
  403.                             break;
  404.                     case 4: limpiar;
  405.                             break;
  406.  
  407.                     }
  408.                 }
  409.     else{
  410.         cout<<endl<<"Error"<<endl<<"Usuario no registrado o datos mal introducidos."<<endl;
  411.         Sleep (3000);
  412.         limpiar;
  413.         }
  414. }
  415. }
  416.  
  417. void registrarse(vector<usuario>& u){
  418. usuario nuevo;
  419. ofstream fout("usuarios.txt",ios::app);
  420. cout<<endl;
  421. cout<<"Introduce tus datos"<<endl;
  422. cout<<"Nuevo usuario: "; cin>>nuevo.usuariog;
  423. cout<<"Nueva contrasenya: "; cin>>nuevo.contrasenyag;
  424. u.push_back(nuevo);
  425. for(int i=0;i<u.size();i++){
  426.     fout<<u[i].usuariog<<" "<<u[i].contrasenyag<<endl;
  427.     }
  428. limpiar;
  429. iniciosesion(u,nuevo);
  430. }
  431.  
  432. void mostrarusuarios(vector<usuario>& u){
  433. ifstream fin("usuarios.txt");
  434. usuario ug;
  435. vector<usuario> U;
  436. char volver;
  437. while(!fin.eof()){
  438.     fin>>ug.usuariog>>ug.contrasenyag;
  439.     u.push_back(ug);
  440.     }
  441. for(int i=0;i<u.size()-1;i++){
  442.     cout<<"Usuario: "<<u[i].usuariog<<endl<<endl;
  443.     }
  444. cout<<"Quieres volver al menu? (s/n)";
  445. cin>>volver;
  446. if(volver=='s'){
  447.     limpiar;
  448.     int op=menu();
  449.     switch(op){
  450.         case 1: limpiar;
  451.                 iniciosesion(U,ug);
  452.                 break;
  453.         case 2: limpiar;
  454.                 registrarse(U);
  455.                 break;
  456.         case 3: limpiar;
  457.                 mostrarusuarios(U);
  458.                 break;
  459.         case 4: limpiar;
  460.  
  461.                 break;
  462.         case 5: limpiar;
  463.                 cout<<"Gracias por jugar!";
  464.                 Sleep (3000);
  465.         }
  466.     }
  467. else;
  468. }
  469.  
  470. void eliminarusuario(vector<usuario>& u){
  471. ifstream fin("usuarios.txt");
  472. usuario ug;
  473. vector<usuario> U;
  474. char volver;
  475. int posicion;
  476. while(!fin.eof()){
  477.     fin>>ug.usuariog>>ug.contrasenyag;
  478.     u.push_back(ug);
  479.     }
  480. cout<<"En que posicion se encuentra el usuario que quieres eliminar?: ";
  481. cin>>posicion;
  482. u.erase(u.begin()+posicion);
  483. cout<<"El usuario ha sido eliminado correctamente"<<endl;
  484. ofstream fout("usuarios.txt");
  485. for(int i=0;i<u.size();i++){
  486.     fout<<u[i].usuariog<<" "<<u[i].contrasenyag<<endl;
  487.     }
  488. cout<<"Quieres volver al menu? (s/n)";
  489. cin>>volver;
  490. if(volver=='s'){
  491.     limpiar;
  492.     int op=menu();
  493.     switch(op){
  494.         case 1: limpiar;
  495.                 iniciosesion(U,ug);
  496.                 break;
  497.         case 2: limpiar;
  498.                 registrarse(U);
  499.                 break;
  500.         case 3: limpiar;
  501.                 mostrarusuarios(U);
  502.                 break;
  503.         case 4: limpiar;
  504.                 eliminarusuario(U);
  505.                 break;
  506.         case 5: limpiar;
  507.                 cout<<"Gracias por jugar!";
  508.                 Sleep (3000);
  509.         }
  510.     }
  511. else;
  512. }
  513.  
  514. int main(){
  515. vector<usuario> U;
  516. usuario ug;
  517. bool trobat=false;
  518. int op=menu();
  519. switch(op){
  520.     case 1: limpiar;
  521.             iniciosesion(U,ug);
  522.             break;
  523.     case 2: limpiar;
  524.             registrarse(U);
  525.             break;
  526.     case 3: limpiar;
  527.             mostrarusuarios(U);
  528.             break;
  529.     case 4: limpiar;
  530.             eliminarusuario(U);
  531.             break;
  532.     case 5: limpiar;
  533.             cout<<"Gracias por jugar!";
  534.             Sleep (3000);
  535.     }
  536.  
  537. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement