Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <iostream>
- #include <conio.h>
- using namespace System;
- using namespace std;
- struct posctt
- {
- int x;
- int y;
- int delx;
- int dely;
- int maxrx;
- int minrx;
- int maxry;
- int minry;
- };
- void Timer(int & timersleep, int sleep_n, int & timer, int* vidas, int & rx, int & ry, int nv)
- {
- timersleep += sleep_n;
- if (timersleep == 400)
- {
- timersleep = 0;
- timer--;
- }
- if (timer == 0)
- {
- vidas[nv]--;
- rx = 42;
- ry = 41;
- timer = 180;
- }
- }
- void func_Cuevas(int *cueva, int n, int*exitmovement, int & rx, int & ry, int * sumacueva)
- {
- if (ry == 1)
- {
- switch (rx)
- {
- case 2:case 3: case 4:
- cueva[0] = 1;
- rx = 42;
- ry = 41; break;
- case 20:case 21:case 23:
- cueva[1] = 1;
- rx = 42;
- ry = 41; break;
- case 38:case 39:case 40:
- cueva[2] = 1;
- rx = 42;
- ry = 41; break;
- case 56:case 57:case 58:
- cueva[3] = 1;
- rx = 42;
- ry = 41; break;
- case 74:case 75:case 76:
- cueva[4] = 1;
- rx = 42;
- ry = 41; break;
- }
- }
- sumacueva[n] = cueva[0] + cueva[1] + cueva[2] + cueva[3] + cueva[4];
- if (sumacueva[n] == 5)
- exitmovement[n] = 0;
- }
- void Carritonegro(posctt*enemigo, int n, int &rx, int &ry, int * vidas, int nv)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
- cout << char(219) << char(220) << char(219);
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
- cout << char(223) << char(32) << char(223);
- /*--------------------------------------------------*/
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
- cout << " ";
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
- cout << " ";
- /*--------------------------------------------------*/
- if (enemigo[n].x >= 76)enemigo[n].x = 0;
- enemigo[n].x = enemigo[n].x + enemigo[n].delx;
- /*--------------------------------------------------*/
- Console::ForegroundColor = ConsoleColor::Red;
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
- cout << char(219) << char(220) << char(219);
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
- cout << char(223) << char(32) << char(223);
- /*--------------------------------------------------*/
- if (rx >= enemigo[n].x&& rx <= enemigo[n].x + 4 && enemigo[n].y == ry)
- {
- Console::SetCursorPosition(rx, ry);
- cout << " ";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " ";
- rx = 42;
- ry = 41;
- vidas[nv]--;
- }
- }
- void CarritoAmarillo(posctt*enemigo, int n, int &rx, int &ry, int * vidas, int nv)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
- cout << char(219) << char(220) << char(219);
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
- cout << char(223) << char(32) << char(223);;
- /*--------------------------------------------------*/
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
- Console::ForegroundColor = ConsoleColor::Yellow;
- cout << "===";
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
- cout << " ";
- /*--------------------------------------------------*/
- if (enemigo[n].x <= 2)enemigo[n].x = 79;
- enemigo[n].x = enemigo[n].x + enemigo[n].delx;
- /*--------------------------------------------------*/
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
- cout << char(219) << char(220) << char(219);
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
- cout << char(223) << char(32) << char(223);
- /*--------------------------------------------------*/
- if (rx >= enemigo[n].x&& rx <= enemigo[n].x + 4 && enemigo[n].y == ry)
- {
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(rx, ry);
- cout << "===";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " ";
- rx = 42;
- ry = 41;
- vidas[nv]--;
- }
- }
- void CarritoAmarillo2(posctt*enemigo, int n, int &rx, int &ry, int * vidas, int nv) //no pinta amarillas
- {
- Console::BackgroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
- cout << char(219) << char(220) << char(219);
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
- cout << char(223) << char(32) << char(223);
- /*--------------------------------------------------*/
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
- cout << " ";
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
- cout << " ";
- /*--------------------------------------------------*/
- if (enemigo[n].x <= 2)enemigo[n].x = 79;
- enemigo[n].x = enemigo[n].x + enemigo[n].delx;
- /*--------------------------------------------------*/
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
- cout << char(219) << char(220) << char(219);
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
- cout << char(223) << char(32) << char(223);
- /*--------------------------------------------------*/
- if (rx >= enemigo[n].x&& rx <= enemigo[n].x + 4 && enemigo[n].y == ry)
- {
- Console::SetCursorPosition(rx, ry);
- cout << " ";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " ";
- rx = 42;
- ry = 41;
- vidas[nv]--;
- }
- } //no pinta amarillas
- void CarritoAmarillo2exception(posctt*enemigo, int n, int &rx, int &ry, int * vidas, int nv)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
- cout << char(219) << char(220) << char(219);
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
- cout << char(223) << char(32) << char(223);
- /*--------------------------------------------------*/
- Console::ForegroundColor = ConsoleColor::White;
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
- cout << " ";
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
- cout << "===";
- /*--------------------------------------------------*/
- if (enemigo[n].x <= 2)enemigo[n].x = 79;
- enemigo[n].x = enemigo[n].x + enemigo[n].delx;
- /*--------------------------------------------------*/
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
- cout << char(219) << char(220) << char(219);
- Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
- cout << char(223) << char(32) << char(223);
- /*--------------------------------------------------*/
- if (rx >= enemigo[n].x&& rx <= enemigo[n].x + 4 && enemigo[n].y == ry)
- {
- Console::SetCursorPosition(rx, ry);
- cout << " ";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " ";
- rx = 42;
- ry = 41;
- vidas[nv]--;
- }
- }
- void Troncozd(posctt*tronco, int n, int &rx, int & ry, int m1[43][81], int* vidas, int nv)
- {
- Console::ForegroundColor = ConsoleColor::DarkYellow;
- Console::SetCursorPosition(tronco[n].x, tronco[n].y);
- cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
- Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
- cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
- /*--------------------------------------------------*/
- Console::BackgroundColor = ConsoleColor::Blue;
- Console::ForegroundColor = ConsoleColor::Cyan;
- Console::SetCursorPosition(tronco[n].x, tronco[n].y);
- cout << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177);
- Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
- cout << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177);
- /*--------------------------------------------------*/
- if (tronco[n].x >= 68)tronco[n].x = 1;
- tronco[n].x = tronco[n].x + tronco[n].delx;
- /*--------------------------------------------------*/
- Console::ForegroundColor = ConsoleColor::DarkCyan;
- Console::SetCursorPosition(tronco[n].x, tronco[n].y);
- cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
- Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
- cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
- /*--------------------------------------------------*/
- if (m1[ry][rx] == 5)
- {
- if (ry == tronco[n].y)
- {
- Console::BackgroundColor = ConsoleColor::Blue;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191;
- rx++;
- if (!((rx >= tronco[n].x) && (rx <= tronco[n].x + 12)))
- {
- Console::BackgroundColor = ConsoleColor::Blue;
- Console::ForegroundColor = ConsoleColor::Cyan;
- Console::SetCursorPosition(rx, ry);
- cout << (char)177 << (char)177 << (char)177;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)177 << (char)177 << (char)177;
- rx = 42;
- ry = 41;
- vidas[nv]--;
- }
- }
- }
- }
- void Troncodz(posctt*tronco, int n, int &rx, int & ry, int m1[43][81], int* vidas, int nv)
- {
- Console::ForegroundColor = ConsoleColor::DarkYellow;
- Console::SetCursorPosition(tronco[n].x, tronco[n].y);
- cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
- Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
- cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
- /*--------------------------------------------------*/
- Console::BackgroundColor = ConsoleColor::Blue;
- Console::ForegroundColor = ConsoleColor::Cyan;
- Console::SetCursorPosition(tronco[n].x, tronco[n].y);
- cout << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177);
- Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
- cout << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177);
- /*--------------------------------------------------*/
- if (tronco[n].x <= 1)tronco[n].x = 68;
- tronco[n].x = tronco[n].x + tronco[n].delx;
- /*--------------------------------------------------*/
- Console::ForegroundColor = ConsoleColor::DarkCyan;
- Console::SetCursorPosition(tronco[n].x, tronco[n].y);
- cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
- Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
- cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
- /*--------------------------------------------------*/
- if (m1[ry][rx] == 5)
- {
- if (ry == tronco[n].y)
- {
- Console::BackgroundColor = ConsoleColor::Blue;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191;
- rx--;
- if (!((rx >= tronco[n].x) && (rx <= tronco[n].x + 12)))
- {
- Console::BackgroundColor = ConsoleColor::Blue;
- Console::ForegroundColor = ConsoleColor::Cyan;
- Console::SetCursorPosition(rx, ry);
- cout << (char)177 << (char)177 << (char)177;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)177 << (char)177 << (char)177;
- rx = 42;
- ry = 41;
- vidas[nv]--;
- }
- }
- }
- }
- void Troncolavazd(posctt*tronco, int n, int &rx, int & ry, int m1[][81], int *vidas, int nv)
- {
- if ((tronco[n].x == 41 || tronco[n].x == 68 || tronco[n].x == 14) && (tronco[n].y == 13 || tronco[n].y == 18 || tronco[n].y == 14 || tronco[n].y == 15 || tronco[n].y == 16 || tronco[n].y == 17))
- {
- Console::BackgroundColor = ConsoleColor::Red;
- Console::SetCursorPosition(tronco[n].x - 3, tronco[n].y);
- Console::ForegroundColor = ConsoleColor::Yellow;
- cout << char(176) << char(176);
- Console::ForegroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(tronco[n].x - 1, tronco[n].y);
- cout << char(186);
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(tronco[n].x - 3, tronco[n].y + 1);
- cout << char(176) << char(176);
- Console::ForegroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(tronco[n].x - 1, tronco[n].y + 1);
- cout << char(186);
- }
- /*--------------------------------------------------*/
- Console::ForegroundColor = ConsoleColor::DarkGray;
- Console::SetCursorPosition(tronco[n].x, tronco[n].y);
- cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
- Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
- cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
- /*--------------------------------------------------*/
- Console::BackgroundColor = ConsoleColor::Red;
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(tronco[n].x, tronco[n].y);
- cout << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176);
- Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
- cout << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176);
- /*--------------------------------------------------*/
- if (tronco[n].x >= 69)tronco[n].x = 0;
- tronco[n].x = tronco[n].x + tronco[n].delx;
- /*--------------------------------------------------*/
- Console::ForegroundColor = ConsoleColor::DarkGray;
- Console::SetCursorPosition(tronco[n].x, tronco[n].y);
- cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
- Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
- cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
- if (m1[ry][rx] == 9)
- {
- if (ry == tronco[n].y)
- {
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191;
- rx++;
- if (!((rx >= tronco[n].x) && (rx <= tronco[n].x + 12)))
- {
- Console::BackgroundColor = ConsoleColor::Red;
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(rx, ry);
- cout << (char)177 << (char)177 << (char)177;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)177 << (char)177 << (char)177;
- rx = 42;
- ry = 41;
- vidas[nv]--;
- }
- }
- }
- }
- void Troncolavadz(posctt*tronco, int n, int &rx, int & ry, int m1[][81], int *vidas, int nv)
- {
- if ((tronco[n].x == 0 || tronco[n].x == 27 || tronco[n].x == 54) && (tronco[n].y == 13 || tronco[n].y == 18 || tronco[n].y == 14 || tronco[n].y == 15 || tronco[n].y == 16 || tronco[n].y == 17))
- {
- Console::BackgroundColor = ConsoleColor::Red;
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(tronco[n].x + 12, tronco[n].y);
- cout << char(176);
- Console::ForegroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(tronco[n].x + 13, tronco[n].y);
- cout << char(186);
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(tronco[n].x + 14, tronco[n].y);
- cout << char(176);
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(tronco[n].x + 12, tronco[n].y + 1);
- cout << char(176);
- Console::ForegroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(tronco[n].x + 13, tronco[n].y + 1);
- cout << char(186);
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(tronco[n].x + 14, tronco[n].y + 1);
- cout << char(176);
- }
- /*--------------------------------------------------*/
- Console::ForegroundColor = ConsoleColor::DarkGray;
- Console::SetCursorPosition(tronco[n].x, tronco[n].y);
- cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
- Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
- cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
- /*--------------------------------------------------*/
- Console::BackgroundColor = ConsoleColor::Red;
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(tronco[n].x, tronco[n].y);
- cout << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176);
- Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
- cout << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176);
- /*--------------------------------------------------*/
- if (tronco[n].x <= 0)tronco[n].x = 69;
- tronco[n].x = tronco[n].x + tronco[n].delx;
- /*--------------------------------------------------*/
- Console::ForegroundColor = ConsoleColor::DarkGray;
- Console::SetCursorPosition(tronco[n].x, tronco[n].y);
- cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
- Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
- cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
- if (m1[ry][rx] == 9)
- {
- if (ry == tronco[n].y)
- {
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191;
- rx--;
- if (!((rx >= tronco[n].x) && (rx <= tronco[n].x + 12)))
- {
- Console::BackgroundColor = ConsoleColor::Red;
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(rx, ry);
- cout << (char)177 << (char)177 << (char)177;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)177 << (char)177 << (char)177;
- rx = 42;
- ry = 41;
- vidas[nv]--;
- }
- }
- }
- }
- void objeto_rebotador(posctt*rebo_obs, int n, int& rx, int& ry, int *vidas, int nv)
- {
- Console::BackgroundColor = ConsoleColor::DarkRed;
- Console::SetCursorPosition(rebo_obs[n].x, rebo_obs[n].y);
- cout << char(219) << char(219) << char(219);
- Console::SetCursorPosition(rebo_obs[n].x, rebo_obs[n].y + 1);
- cout << char(219) << char(219) << char(219);
- /*--------------------------------------------------*/
- Console::BackgroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(rebo_obs[n].x, rebo_obs[n].y);
- cout << " ";
- Console::SetCursorPosition(rebo_obs[n].x, rebo_obs[n].y + 1);
- cout << " ";
- /*--------------------------------------------------*/
- if (rebo_obs[n].y == rebo_obs[n].minry)rebo_obs[n].dely = 1;
- if (rebo_obs[n].y == rebo_obs[n].maxry)rebo_obs[n].dely = -1;
- rebo_obs[n].y = rebo_obs[n].y + rebo_obs[n].dely;
- /*--------------------------------------------------*/
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(rebo_obs[n].x, rebo_obs[n].y);
- cout << char(219) << char(220) << char(219);
- Console::SetCursorPosition(rebo_obs[n].x, rebo_obs[n].y + 1);
- cout << char(223) << char(32) << char(223);
- /*--------------------------------------------------*/
- if (ry >= rebo_obs[n].y - 1 && ry <= rebo_obs[n].y + 2 && rx >= rebo_obs[n].x - 1 && rx <= rebo_obs[n].x + 1)
- {
- rx = 0;
- ry = 41;
- vidas[nv]--;
- }
- }
- void Flecha(posctt*flecha, int n, int & rx, int & ry, int *vidas, int nv)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(flecha[n].x, flecha[n].y);
- cout << char(186);
- Console::SetCursorPosition(flecha[n].x, flecha[n].y + 1);
- cout << char(186);
- Console::SetCursorPosition(flecha[n].x, flecha[n].y + 2);
- cout << char(86);
- /*--------------------------------------------------*/
- Console::SetCursorPosition(flecha[n].x, flecha[n].y);
- cout << char(32);
- Console::SetCursorPosition(flecha[n].x, flecha[n].y + 1);
- cout << char(32);
- Console::SetCursorPosition(flecha[n].x, flecha[n].y + 2);
- cout << char(32);
- /*--------------------------------------------------*/
- if (flecha[n].y == flecha[n].minry)flecha[n].dely = 1;
- if (flecha[n].y == flecha[n].maxry)flecha[n].y = flecha[n].minry;
- flecha[n].y = flecha[n].y + flecha[n].dely;
- /*--------------------------------------------------*/
- Console::SetCursorPosition(flecha[n].x, flecha[n].y);
- cout << char(186);
- Console::SetCursorPosition(flecha[n].x, flecha[n].y + 1);
- cout << char(186);
- Console::SetCursorPosition(flecha[n].x, flecha[n].y + 2);
- cout << char(86);
- /*--------------------------------------------------*/
- if (ry >= flecha[n].y - 1 && ry <= flecha[n].y + 2 && rx >= flecha[n].x - 1 && rx <= flecha[n].x + 1)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(rx, ry);
- cout << " ";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " ";
- rx = 42;
- ry = 41;
- vidas[nv]--;
- }
- }
- void enemigo_rebotador(posctt*enemigo_rebot, int n, int & rx, int & ry, int * vidas, int nv)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(enemigo_rebot[n].x, enemigo_rebot[n].y);
- cout << " ";
- /*--------------------------------------------------*/
- Console::SetCursorPosition(enemigo_rebot[n].x, enemigo_rebot[n].y);
- cout << " ";
- /*--------------------------------------------------*/
- if (enemigo_rebot[n].x == enemigo_rebot[n].minrx&&enemigo_rebot[n].y == enemigo_rebot[n].minry)
- {
- enemigo_rebot[n].dely = +1;
- enemigo_rebot[n].delx = 0;
- }
- if (enemigo_rebot[n].x == enemigo_rebot[n].minrx&&enemigo_rebot[n].y == enemigo_rebot[n].maxry)
- {
- enemigo_rebot[n].dely = 0;
- enemigo_rebot[n].delx = +1;
- }
- if (enemigo_rebot[n].x == enemigo_rebot[n].maxrx&&enemigo_rebot[n].y == enemigo_rebot[n].maxry)
- {
- enemigo_rebot[n].dely = -1;
- enemigo_rebot[n].delx = 0;
- }
- if (enemigo_rebot[n].x == enemigo_rebot[n].maxrx&&enemigo_rebot[n].y == enemigo_rebot[n].minry)
- {
- enemigo_rebot[n].dely = 0;
- enemigo_rebot[n].delx = -1;
- }
- enemigo_rebot[n].x = enemigo_rebot[n].x + enemigo_rebot[n].delx;
- enemigo_rebot[n].y = enemigo_rebot[n].y + enemigo_rebot[n].dely;
- /*--------------------------------------------------*/
- Console::SetCursorPosition(enemigo_rebot[n].x, enemigo_rebot[n].y);
- cout << "*";
- /*--------------------------------------------------*/
- Console::SetCursorPosition(enemigo_rebot[n].x, enemigo_rebot[n].y);
- cout << "*";
- /*--------------------------------------------------*/
- if (ry >= enemigo_rebot[n].y - 1 && ry <= enemigo_rebot[n].y + 1 && rx >= enemigo_rebot[n].x - 1 && rx <= enemigo_rebot[n].x)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(rx, ry);
- cout << " ";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " ";
- rx = 42;
- ry = 41;
- vidas[nv]--;
- }
- }
- void enemigo_mapa8(posctt*enemigo_rebot, int n, int & rx, int & ry, int * vidas, int nv)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(enemigo_rebot[n].x, enemigo_rebot[n].y);
- cout << char(32) << char(32) << char(32);
- Console::SetCursorPosition(enemigo_rebot[n].x, enemigo_rebot[n].y + 1);
- cout << char(32) << char(32) << char(32);
- /*--------------------------------------------------*/
- if (enemigo_rebot[n].x == enemigo_rebot[n].minrx&&enemigo_rebot[n].y == enemigo_rebot[n].minry)
- {
- enemigo_rebot[n].dely = +2;
- enemigo_rebot[n].delx = 0;
- }
- if (enemigo_rebot[n].x == enemigo_rebot[n].minrx&&enemigo_rebot[n].y == enemigo_rebot[n].maxry)
- {
- enemigo_rebot[n].dely = 0;
- enemigo_rebot[n].delx = +3;
- }
- if (enemigo_rebot[n].x == enemigo_rebot[n].maxrx&&enemigo_rebot[n].y == enemigo_rebot[n].maxry)
- {
- enemigo_rebot[n].dely = -2;
- enemigo_rebot[n].delx = 0;
- }
- if (enemigo_rebot[n].x == enemigo_rebot[n].maxrx&&enemigo_rebot[n].y == enemigo_rebot[n].minry)
- {
- enemigo_rebot[n].dely = 0;
- enemigo_rebot[n].delx = -3;
- }
- enemigo_rebot[n].x = enemigo_rebot[n].x + enemigo_rebot[n].delx;
- enemigo_rebot[n].y = enemigo_rebot[n].y + enemigo_rebot[n].dely;
- /*--------------------------------------------------*/
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(enemigo_rebot[n].x, enemigo_rebot[n].y);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(enemigo_rebot[n].x, enemigo_rebot[n].y + 1);
- cout << char(177) << char(177) << char(177);
- /*--------------------------------------------------*/
- if (ry >= enemigo_rebot[n].y && ry <= enemigo_rebot[n].y + 1 && rx >= enemigo_rebot[n].x && rx <= enemigo_rebot[n].x + 3)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(rx, ry);
- cout << " ";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " ";
- rx = 42;
- ry = 41;
- vidas[nv]--;
- }
- }
- void DibujaMapa(int m1[43][81])
- {
- int x1;
- int y1;
- /*--------------------------------------------------*/
- Console::BackgroundColor = ConsoleColor::Black;
- for (int f = 0; f < 43; f++)
- {
- Console::SetCursorPosition(x1, y1);
- for (int c = 0; c < 81; c++)
- {
- switch (m1[f][c])
- {
- case 1:
- Console::BackgroundColor = ConsoleColor::DarkRed;
- if (f == 0 && (c == 1 || c == 19 || c == 37 || c == 55 || c == 73 || c == 6 || c == 24 || c == 42 || c == 60 || c == 78))
- {
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::DarkGray;
- cout << char(207);
- }
- else
- if (f == 0 && ((c >= 2 && c <= 5) || (c >= 20 && c <= 23) || (c >= 38 && c <= 41) || (c >= 56 && c <= 59) || (c >= 74 && c <= 77)))
- {
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::DarkGray;
- cout << char(205);
- }
- else
- if ((f == 1 || f == 2) && (c == 1 || c == 19 || c == 37 || c == 55 || c == 73 || c == 6 || c == 24 || c == 42 || c == 60 || c == 78))
- {
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::DarkGray;
- cout << char(186);
- }
- else
- {
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- cout << char(177);
- } break;
- /*--------------------------------------------------*/
- case 2:
- Console::BackgroundColor = ConsoleColor::Black;
- if (f == 5 || f == 13 || f == 21 || f == 29 || f == 37)
- {
- Console::ForegroundColor = ConsoleColor::Yellow;
- cout << "=";
- }
- else
- cout << " "; break;
- /*--------------------------------------------------*/
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::Gray;
- cout << char(177); break;
- /*--------------------------------------------------*/
- case 4:
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- cout << char(176); break;
- /*--------------------------------------------------*/
- case 5:
- Console::BackgroundColor = ConsoleColor::Blue;
- Console::ForegroundColor = ConsoleColor::Cyan;
- cout << char(177); break;
- /*--------------------------------------------------*/
- case 6:
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::Black;
- cout << char(176); break;
- /*--------------------------------------------------*/
- case 7:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- cout << char(177); break;
- /*--------------------------------------------------*/
- case 8:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- cout << char(177); break;
- /*--------------------------------------------------*/
- case 9:
- Console::BackgroundColor = ConsoleColor::Red;
- Console::ForegroundColor = ConsoleColor::Yellow;
- cout << char(176); break;
- /*--------------------------------------------------*/
- case 10:
- Console::BackgroundColor = ConsoleColor::Black;
- if (f == 32)
- {
- Console::ForegroundColor = ConsoleColor::White;
- cout << "=";
- }
- else
- cout << " "; break;
- /*--------------------------------------------------*/
- case 11:
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::Black;
- cout << char(219); break;
- /*--------------------------------------------------*/
- case 12:
- Console::BackgroundColor = ConsoleColor::Red;
- Console::ForegroundColor = ConsoleColor::Yellow;
- cout << char(176); break;
- /*--------------------------------------------------*/
- case 13:
- Console::BackgroundColor = ConsoleColor::Red;
- if ((c == 13 || c == 40 || c == 67) && (f > 12 && f < 19))
- {
- Console::ForegroundColor = ConsoleColor::Black;
- cout << char(186);
- }
- else
- {
- Console::ForegroundColor = ConsoleColor::Yellow;
- cout << char(176);
- } break;
- /*--------------------------------------------------*/
- case 14:
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::Black;
- cout << char(219); break; break;
- case 15:
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::White;
- cout << char(177); break;
- case 16:
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- cout << char(177); break;
- }
- }
- y1++;
- }
- }
- void Loser_Banner(int m1[43][81])
- {
- Console::ForegroundColor = ConsoleColor::White;
- Console::SetCursorPosition(30, 23);
- cout << "-Continuar?";
- Console::SetCursorPosition(30, 25);
- cout << "-Si(S)";
- Console::SetCursorPosition(30, 26);
- cout << "-No(N)";
- }
- void Winner_Banner(int m1[43][81])
- {
- Console::ForegroundColor = ConsoleColor::White;
- Console::SetCursorPosition(30, 23);
- cout << "-Continuar?";
- Console::SetCursorPosition(30, 25);
- cout << "-Si(S)";
- Console::SetCursorPosition(30, 26);
- cout << "-No(N)";
- }
- void Screen_Inicio(int m1[43][81])
- {
- Console::SetCursorPosition(0, 1);
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- cout << char(207) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(207);
- Console::SetCursorPosition(12, 25);
- Console::ForegroundColor = ConsoleColor::White;
- Console::SetCursorPosition(12, 25);
- cout << "Integrantes : ";
- Console::SetCursorPosition(14, 26);
- cout << "- Sebastian Alessndro Bravo Trettenero";
- Console::SetCursorPosition(14, 27);
- cout << "- Agustin Alejandro Sanchez Maita ";
- Console::SetCursorPosition(12, 29);
- cout << "Profesor : ";
- Console::SetCursorPosition(14, 30);
- cout << "- William Bravo Garcia";
- Console::SetCursorPosition(12, 32);
- cout << "Carrera : ";
- Console::SetCursorPosition(14, 33);
- cout << "- Ingenieria de Software";
- Console::SetCursorPosition(54, 28);
- cout << "Seccion:";
- Console::SetCursorPosition(56, 29);
- cout << "- WX1A";
- Console::SetCursorPosition(54, 31);
- cout << "Curso : ";
- Console::SetCursorPosition(56, 32);
- cout << "- Programacion I";
- Console::SetCursorPosition(43, 36);
- cout << "2018 - I";
- Console::SetCursorPosition(27, 39);
- cout << "Presione cualquier tecla para continuar .";
- Console::SetCursorPosition(0, 41);
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- cout << char(207) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(207);
- }
- void Instrucciones(int m1[43][81])
- {
- Console::SetCursorPosition(0, 1);
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- cout << char(207) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(207);
- Console::ForegroundColor = ConsoleColor::White;
- Console::SetCursorPosition(3, 3);
- cout << "Instrucciones : ";
- Console::SetCursorPosition(4, 6);
- cout << "Utilice las Teclas Direccionales del";
- Console::SetCursorPosition(4, 7);
- cout << "teclado para poder dezplazarse (Flecha arriba)";
- Console::SetCursorPosition(4, 8);
- cout << "en la direccion deseada. (Flecha izquierda)(Flecha abajo)(Flecha derecha)";
- Console::SetCursorPosition(4, 11);
- cout << "Cada nivel presenta un bonus ,";
- Console::SetCursorPosition(4, 12);
- cout << "cogelo para obtener una " << char(201) << char(205) << char(187);
- Console::SetCursorPosition(4, 13);
- cout << "vida extra. " << char(200) << char(205) << char(188);
- Console::SetCursorPosition(4, 16);
- cout << "Para pasar de nivel , coloca tu";
- Console::SetCursorPosition(4, 17);
- cout << "rana en cada cueva que se " << char(207) << char(205) << char(205) << char(207);
- Console::SetCursorPosition(4, 18);
- cout << "encuentra en la parte " << char(186) << char(32) << char(32) << char(186);
- Console::SetCursorPosition(4, 19);
- cout << "superior del escenario. " << char(186) << char(32) << char(32) << char(186);
- Console::SetCursorPosition(4, 22);
- cout << "Si colisionas con cualquier objeto";
- Console::SetCursorPosition(4, 23);
- cout << "que se mueva ,excepto los troncos ";
- Console::SetCursorPosition(55, 23);
- cout << char(219) << char(220) << char(219) << char(32) << char(32) << char(32) << char(186) << " *";
- Console::SetCursorPosition(55, 24);
- cout << char(223) << char(32) << char(223) << char(32) << char(32) << char(32) << char(186);
- Console::SetCursorPosition(58, 24);
- cout << char(32) << char(32) << char(32) << char(86);
- Console::SetCursorPosition(4, 24);
- cout << ",perderas una vida.";
- Console::SetCursorPosition(4, 27);
- cout << "Si caes al agua o lava, perderas";
- Console::SetCursorPosition(4, 28);
- cout << "de una a dos vidas";
- Console::BackgroundColor = ConsoleColor::Blue;
- Console::ForegroundColor = ConsoleColor::Cyan;
- Console::SetCursorPosition(58, 28);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(58, 29);
- cout << char(177) << char(177) << char(177);
- Console::BackgroundColor = ConsoleColor::Red;
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(63, 28);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(63, 29);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(4, 29);
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::White;
- cout << "respectivamente.";
- Console::SetCursorPosition(27, 39);
- cout << "Presione cualquier tecla para continuar .";
- Console::SetCursorPosition(0, 41);
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- cout << char(207) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(207);
- }
- void Movimiento1(int m1[43][81], int *exitmovement, int *SumaCueva, int*vidas, int & Puntaje)
- {
- posctt * enemigo = new posctt[15];
- Random x;
- int txtx = 82, txty = 16;
- int timer = 180, timersleep = 0;
- int *cueva = new int[5];
- int bonus_x = 78, bonus_y = 17;
- int tecla;
- int rx = 42;
- int ry = 41;
- /*--------------------------------------------------*/
- enemigo[0].x = x.Next(0, 79);
- enemigo[0].y = 3;
- enemigo[0].delx = 2;
- enemigo[1].x = x.Next(0, 79);
- enemigo[1].y = 7;
- enemigo[1].delx = 1;
- enemigo[2].x = x.Next(0, 79);
- enemigo[2].y = 11;
- enemigo[2].delx = 2;
- enemigo[3].x = x.Next(0, 79);
- enemigo[3].y = 15;
- enemigo[3].delx = 2;
- enemigo[4].x = x.Next(0, 79);
- enemigo[4].y = 19;
- enemigo[4].delx = 1;
- enemigo[5].x = x.Next(0, 79);
- enemigo[5].y = 23;
- enemigo[5].delx = 2;
- enemigo[6].x = x.Next(0, 79);
- enemigo[6].y = 27;
- enemigo[6].delx = 1;
- enemigo[7].x = x.Next(0, 79);
- enemigo[7].y = 31;
- enemigo[7].delx = 2;
- enemigo[8].x = x.Next(0, 79);
- enemigo[8].y = 35;
- enemigo[8].delx = 1;
- enemigo[9].x = x.Next(0, 79);
- enemigo[9].y = 39;
- enemigo[9].delx = 2;
- /*------------------------------*/
- enemigo[10].x = x.Next(0, 79);
- enemigo[10].y = 5;
- enemigo[10].delx = -2;
- enemigo[11].x = x.Next(0, 79);
- enemigo[11].y = 13;
- enemigo[11].delx = -1;
- enemigo[12].x = x.Next(0, 79);
- enemigo[12].y = 21;
- enemigo[12].delx = -2;
- enemigo[13].x = x.Next(0, 79);
- enemigo[13].y = 29;
- enemigo[13].delx = -1;
- enemigo[14].x = x.Next(0, 79);
- enemigo[14].y = 37;
- enemigo[14].delx = -2;
- /*--------------------------------------------------*/
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(bonus_x, bonus_y);
- cout << char(201) << char(205) << char(187);
- Console::SetCursorPosition(bonus_x, bonus_y + 1);
- cout << char(200) << char(205) << char(188);
- while (exitmovement[0])
- {
- switch (m1[ry][rx])
- {
- case 3:
- Console::SetCursorPosition(rx, ry);
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- cout << (char)218 << (char)223 << (char)191;
- break;
- }
- if (kbhit())
- {
- tecla = _getch();
- if (tecla == 224)
- {
- switch (m1[ry][rx])
- {
- case 2:
- Console::BackgroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(rx, ry);
- cout << " ";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " ";
- if (ry == 5 || ry == 13 || ry == 21 || ry == 29 || ry == 37)
- {
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(rx, ry);
- cout << "===";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " ";
- }
- break;
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::Gray;
- Console::SetCursorPosition(rx, ry);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(rx, ry + 1);
- cout << char(177) << char(177) << char(177); break;
- case 4:
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(rx, ry);
- cout << " ";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " "; break;
- }
- tecla = _getch();
- switch (tecla)
- {
- case 77:if ((m1[ry][rx + 3] != 1) && rx < 78)rx += 3; break;
- case 75:if ((m1[ry][rx - 3] != 1) && rx > 0)rx -= 3; break;
- case 72:if ((m1[ry - 2][rx] != 1) && ry > 0)ry -= 2; break;
- case 80:if ((m1[ry + 2][rx] != 1) && ry < 41)ry += 2; break;
- }
- switch (m1[ry][rx])
- {
- case 2:
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 4:
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 6:
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- }
- }
- }
- /*--------------------------------------------------*/
- _sleep(40);
- Timer(timersleep, 20, timer, vidas, rx, ry, 0);
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(txtx, txty);
- cout << "Vidas: ";
- Console::SetCursorPosition(txtx, txty + 1);
- cout << vidas[0];
- Console::SetCursorPosition(txtx, txty + 3);
- cout << "Time: ";
- Console::SetCursorPosition(txtx, txty + 4);
- cout << timer;
- Console::SetCursorPosition(txtx, txty + 6);
- cout << "Puntaje: ";
- Console::SetCursorPosition(txtx, txty + 7);
- cout << Puntaje;
- for (int i = 0; i < 10; i++)
- {
- Carritonegro(enemigo, i, rx, ry, vidas, 0);
- }
- for (int i = 10; i < 15; i++)
- {
- CarritoAmarillo(enemigo, i, rx, ry, vidas, 0);
- }
- /*--------------------------------------------------*/
- func_Cuevas(cueva, 0, exitmovement, rx, ry, SumaCueva);
- if (rx == bonus_x&&ry == bonus_y)
- {
- vidas[0]++;
- bonus_x = bonus_x - 9;
- Puntaje += 100;
- }
- if (vidas[0] == 0)
- {
- exitmovement[0] = 0;
- }
- }
- Console::BackgroundColor = ConsoleColor::Black;
- }
- void Movimiento2(int m1[43][81], int *exitmovement, int *SumaCueva, int*vidas, int & Puntaje)
- {
- posctt * tronco = new posctt[11];
- posctt * enemigo = new posctt[8];
- Random x;
- int txtx = 82, txty = 17;
- int timer = 180, timersleep = 0;
- int *cueva = new int[5];
- int bonus_x = 0, bonus_y = 23;
- int tecla;
- int rx = 42;
- int ry = 41;
- /*--------------------------------------------------*/
- tronco[0].x = x.Next(0, 70);
- tronco[0].y = 3;
- tronco[0].delx = 1;
- tronco[1].x = x.Next(0, 70);
- tronco[1].y = 7;
- tronco[1].delx = 1;
- tronco[2].x = x.Next(0, 70);
- tronco[2].y = 11;
- tronco[2].delx = 1;
- tronco[3].x = x.Next(0, 70);
- tronco[3].y = 15;
- tronco[3].delx = 1;
- tronco[4].x = x.Next(0, 70);
- tronco[4].y = 19;
- tronco[4].delx = 1;
- /*-------------------------*/
- tronco[5].x = x.Next(0, 70);
- tronco[5].y = 5;
- tronco[5].delx = -1;
- tronco[6].x = x.Next(0, 70);
- tronco[6].y = 9;
- tronco[6].delx = -1;
- tronco[7].x = x.Next(0, 70);
- tronco[7].y = 13;
- tronco[7].delx = -1;
- tronco[8].x = x.Next(0, 70);
- tronco[8].y = 17;
- tronco[8].delx = -1;
- tronco[9].x = x.Next(0, 70);
- tronco[9].y = 21;
- tronco[9].delx = -1;
- /*------------------------------*//*------------------------------*/
- enemigo[0].x = x.Next(0, 79);
- enemigo[0].y = 25;
- enemigo[0].delx = 3;
- enemigo[1].x = x.Next(0, 79);
- enemigo[1].y = 29;
- enemigo[1].delx = 2;
- enemigo[2].x = x.Next(0, 79);
- enemigo[2].y = 33;
- enemigo[2].delx = 2;
- enemigo[3].x = x.Next(0, 79);
- enemigo[3].y = 37;
- enemigo[3].delx = 3;
- /*------------------------------*/
- enemigo[4].x = x.Next(0, 79);
- enemigo[4].y = 27;
- enemigo[4].delx = -3;
- enemigo[5].x = x.Next(0, 79);
- enemigo[5].y = 31;
- enemigo[5].delx = -2;
- enemigo[6].x = x.Next(0, 79);
- enemigo[6].y = 35;
- enemigo[6].delx = -1;
- enemigo[7].x = x.Next(0, 79);
- enemigo[7].y = 39;
- enemigo[7].delx = -2;
- /*--------------------------------------------------*/
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(bonus_x, bonus_y);
- cout << char(201) << char(205) << char(187);
- Console::SetCursorPosition(bonus_x, bonus_y + 1);
- cout << char(200) << char(205) << char(188);
- while (exitmovement[1])
- {
- switch (m1[ry][rx])
- {
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- }
- if (kbhit())
- {
- tecla = _getch();
- if (tecla == 224)
- {
- switch (m1[ry][rx])
- {
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::Gray;
- Console::SetCursorPosition(rx, ry);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(rx, ry + 1);
- cout << char(177) << char(177) << char(177); break;
- case 4:
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(rx, ry);
- cout << " ";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " "; break;
- case 5:
- Console::BackgroundColor = ConsoleColor::Blue;
- Console::ForegroundColor = ConsoleColor::Cyan;
- Console::SetCursorPosition(rx, ry);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(rx, ry + 1);
- cout << char(177) << char(177) << char(177); break;
- case 10:
- Console::SetCursorPosition(rx, ry);
- Console::BackgroundColor = ConsoleColor::Black;
- cout << " ";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " ";
- if (ry == 31)
- {
- Console::ForegroundColor = ConsoleColor::White;
- Console::SetCursorPosition(rx, ry);
- cout << " ";
- Console::SetCursorPosition(rx, ry + 1);
- cout << "===";
- } break;
- }
- tecla = _getch();
- switch (tecla)
- {
- case 72:if ((m1[ry - 2][rx] != 1) && ry > 0)ry -= 2; break;
- case 75:if ((m1[ry][rx - 3] != 1) && rx > 0)rx -= 3; break;
- case 77:if ((m1[ry][rx + 3] != 1) && rx < 78)rx += 3; break;
- case 80:if ((m1[ry + 2][rx] != 1) && ry < 41)ry += 2; break;
- }
- switch (m1[ry][rx])
- {
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 4:
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 5:
- Console::BackgroundColor = ConsoleColor::Blue;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 10:
- Console::SetCursorPosition(rx, ry);
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 8:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- }
- }
- }
- /*--------------------------------------------------*/
- _sleep(20);
- Timer(timersleep, 20, timer, vidas, rx, ry, 1);
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(txtx, txty);
- cout << "Vidas: ";
- Console::SetCursorPosition(txtx, txty + 1);
- cout << vidas[1];
- Console::SetCursorPosition(txtx, txty + 3);
- cout << "Time: ";
- Console::SetCursorPosition(txtx, txty + 4);
- cout << timer;
- Console::SetCursorPosition(txtx, txty + 6);
- cout << "Puntaje: ";
- Console::SetCursorPosition(txtx, txty + 7);
- cout << Puntaje;
- Troncozd(tronco, 1, rx, ry, m1, vidas, 1);
- Troncozd(tronco, 2, rx, ry, m1, vidas, 1);
- Troncozd(tronco, 3, rx, ry, m1, vidas, 1);
- Troncozd(tronco, 4, rx, ry, m1, vidas, 1);
- /*----------*/
- Troncodz(tronco, 5, rx, ry, m1, vidas, 1);
- Troncodz(tronco, 6, rx, ry, m1, vidas, 1);
- Troncodz(tronco, 7, rx, ry, m1, vidas, 1);
- Troncodz(tronco, 8, rx, ry, m1, vidas, 1);
- Troncodz(tronco, 9, rx, ry, m1, vidas, 1);
- /*----------*//*----------*/
- Carritonegro(enemigo, 0, rx, ry, vidas, 1);
- Carritonegro(enemigo, 1, rx, ry, vidas, 1);
- Carritonegro(enemigo, 2, rx, ry, vidas, 1);
- Carritonegro(enemigo, 3, rx, ry, vidas, 1);
- /*----------*/
- CarritoAmarillo2(enemigo, 4, rx, ry, vidas, 1);
- CarritoAmarillo2exception(enemigo, 5, rx, ry, vidas, 1);
- CarritoAmarillo2(enemigo, 6, rx, ry, vidas, 1);
- CarritoAmarillo2(enemigo, 7, rx, ry, vidas, 1);
- /*--------------------------------------------------*/
- func_Cuevas(cueva, 1, exitmovement, rx, ry, SumaCueva);
- if (rx == bonus_x&&ry == bonus_y)
- {
- vidas[1]++;
- bonus_x = bonus_x - 9;
- Puntaje += 100;
- }
- if (vidas[1] == 0)
- {
- exitmovement[1] = 0;
- }
- }
- Console::BackgroundColor = ConsoleColor::Black;
- }
- void Movimiento3(int m1[43][81], int *exitmovement, int *SumaCueva, int*vidas, int & Puntaje)
- {
- posctt * tronco = new posctt[16];
- Random x;
- int txtx = 82, txty = 17;
- int timer = 180, timersleep = 0;
- int *cueva = new int[5];
- int bonus_x = 6, bonus_y = 13;
- int tecla;
- int rx = 42;
- int ry = 41;
- /*--------------------------------------------------*/
- tronco[1].x = x.Next(0, 70);
- tronco[1].y = 7;
- tronco[1].delx = 1;
- tronco[2].x = x.Next(0, 70);
- tronco[2].y = 11;
- tronco[2].delx = 1;
- tronco[3].x = x.Next(0, 32);
- tronco[3].y = 17;
- tronco[3].delx = 1;
- tronco[4].x = x.Next(0, 32);
- tronco[4].y = 21;
- tronco[4].delx = 1;
- tronco[5].x = x.Next(0, 70);
- tronco[5].y = 27;
- tronco[5].delx = 1;
- tronco[6].x = x.Next(0, 70);
- tronco[6].y = 33;
- tronco[6].delx = 1;
- tronco[7].x = x.Next(0, 70);
- tronco[7].y = 37;
- tronco[7].delx = 1;
- /*-------------------------*/
- tronco[8].x = x.Next(0, 32);
- tronco[8].y = 5;
- tronco[8].delx = -1;
- tronco[9].x = x.Next(0, 32);
- tronco[9].y = 9;
- tronco[9].delx = -1;
- tronco[10].x = x.Next(0, 70);
- tronco[10].y = 15;
- tronco[10].delx = -1;
- tronco[11].x = x.Next(0, 70);
- tronco[11].y = 19;
- tronco[11].delx = -1;
- tronco[12].x = x.Next(0, 70);
- tronco[12].y = 25;
- tronco[12].delx = -1;
- tronco[13].x = x.Next(0, 70);
- tronco[13].y = 29;
- tronco[13].delx = -1;
- tronco[14].x = x.Next(0, 70);
- tronco[14].y = 35;
- tronco[14].delx = -1;
- tronco[15].x = x.Next(0, 70);
- tronco[15].y = 39;
- tronco[15].delx = -1;
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::White;
- Console::SetCursorPosition(bonus_x, bonus_y);
- cout << char(201) << char(205) << char(187);
- Console::SetCursorPosition(bonus_x, bonus_y + 1);
- cout << char(200) << char(205) << char(188);
- /*--------------------------------------------------*/
- while (exitmovement[2])
- {
- switch (m1[ry][rx])
- {
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- }
- if (kbhit())
- {
- tecla = _getch();
- if (tecla == 224)
- {
- switch (m1[ry][rx])
- {
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::Gray;
- Console::SetCursorPosition(rx, ry);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(rx, ry + 1);
- cout << char(177) << char(177) << char(177); break;
- case 4:
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(rx, ry);
- cout << " ";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " "; break;
- case 5:
- Console::BackgroundColor = ConsoleColor::Blue;
- Console::ForegroundColor = ConsoleColor::Cyan;
- Console::SetCursorPosition(rx, ry);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(rx, ry + 1);
- cout << char(177) << char(177) << char(177); break;
- }
- tecla = _getch();
- switch (tecla)
- {
- case 72:if ((m1[ry - 2][rx] != 1) && ry > 0)ry -= 2; break;
- case 75:if ((m1[ry][rx - 3] != 1) && rx > 0)rx -= 3; break;
- case 77:if ((m1[ry][rx + 3] != 1) && rx < 78)rx += 3; break;
- case 80:if ((m1[ry + 2][rx] != 1) && ry < 41)ry += 2; break;
- }
- switch (m1[ry][rx])
- {
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 4:
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 5:
- Console::BackgroundColor = ConsoleColor::Blue;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 8:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- }
- }
- }
- /*--------------------------------------------------*/
- _sleep(50);
- Timer(timersleep, 50, timer, vidas, rx, ry, 2);
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(txtx, txty);
- cout << "Vidas: ";
- Console::SetCursorPosition(txtx, txty + 1);
- cout << vidas[2];
- Console::SetCursorPosition(txtx, txty + 3);
- cout << "Time: ";
- Console::SetCursorPosition(txtx, txty + 4);
- cout << timer;
- Console::SetCursorPosition(txtx, txty + 6);
- cout << "Puntaje: ";
- Console::SetCursorPosition(txtx, txty + 7);
- cout << Puntaje;
- for (int i = 1; i < 8; i++)
- {
- Troncozd(tronco, i, rx, ry, m1, vidas, 2);
- }
- for (int i = 8; i < 16; i++)
- {
- Troncodz(tronco, i, rx, ry, m1, vidas, 2);
- }
- /*--------------------------------------------------*/
- func_Cuevas(cueva, 2, exitmovement, rx, ry, SumaCueva);
- if (rx == bonus_x&&ry == bonus_y)
- {
- vidas[2]++;
- bonus_x = bonus_x - 9;
- Puntaje += 100;
- }
- if (vidas[2] == 0)
- {
- exitmovement[2] = 0;
- }
- }
- Console::BackgroundColor = ConsoleColor::Black;
- }
- void Movimiento4(int m1[43][81], int *exitmovement, int *SumaCueva, int*vidas, int & Puntaje)
- {
- posctt * tronco = new posctt[14];
- Random x;
- int *cueva = new int[5];
- int txtx = 82, txty = 17;
- int timer = 180, timersleep = 0;
- int bonus_x = 78, bonus_y = 13;
- int tecla;
- int rx = 42;
- int ry = 41;
- /*--------------------------------------------------*/
- tronco[0].x = x.Next(0, 32);
- tronco[0].y = 7;
- tronco[0].delx = 1;
- tronco[1].x = x.Next(0, 32);
- tronco[1].y = 11;
- tronco[1].delx = 1;
- tronco[2].x = x.Next(0, 70);
- tronco[2].y = 15;
- tronco[2].delx = 1;
- tronco[3].x = x.Next(0, 70);
- tronco[3].y = 23;
- tronco[3].delx = 1;
- tronco[4].x = x.Next(0, 70);
- tronco[4].y = 27;
- tronco[4].delx = 1;
- tronco[5].x = x.Next(0, 70);
- tronco[5].y = 35;
- tronco[5].delx = 1;
- tronco[6].x = x.Next(0, 70);
- tronco[6].y = 39;
- tronco[6].delx = 1;
- /*-------------------------*/
- tronco[7].x = x.Next(0, 32);
- tronco[7].y = 5;
- tronco[7].delx = -1;
- tronco[8].x = x.Next(0, 70);
- tronco[8].y = 9;
- tronco[8].delx = -1;
- tronco[9].x = x.Next(0, 70);
- tronco[9].y = 17;
- tronco[9].delx = -1;
- tronco[10].x = x.Next(0, 70);
- tronco[10].y = 21;
- tronco[10].delx = -1;
- tronco[11].x = x.Next(0, 70);
- tronco[11].y = 29;
- tronco[11].delx = -1;
- tronco[12].x = x.Next(0, 70);
- tronco[12].y = 33;
- tronco[12].delx = -1;
- tronco[13].x = x.Next(0, 32);
- tronco[13].y = 37;
- tronco[13].delx = -1;
- /*--------------------------------------------------*/
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(bonus_x, bonus_y);
- cout << char(201) << char(205) << char(187);
- Console::SetCursorPosition(bonus_x, bonus_y + 1);
- cout << char(200) << char(205) << char(188);
- while (exitmovement[3])
- {
- switch (m1[ry][rx])
- {
- case 3:
- Console::SetCursorPosition(rx, ry);
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- }
- if (kbhit())
- {
- tecla = _getch();
- if (tecla == 224)
- {
- switch (m1[ry][rx])
- {
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::Gray;
- Console::SetCursorPosition(rx, ry);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(rx, ry + 1);
- cout << char(177) << char(177) << char(177); break;
- case 4:
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(rx, ry);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(rx, ry + 1);
- cout << char(177) << char(177) << char(177); break;
- case 5:
- Console::BackgroundColor = ConsoleColor::Blue;
- Console::ForegroundColor = ConsoleColor::Cyan;
- Console::SetCursorPosition(rx, ry);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(rx, ry + 1);
- cout << char(177) << char(177) << char(177); break;
- }
- tecla = _getch();
- switch (tecla)
- {
- case 72:if ((m1[ry - 2][rx] != 1) && ry > 0)ry -= 2; break;
- case 75:if ((m1[ry][rx - 3] != 1) && rx > 0)rx -= 3; break;
- case 77:if ((m1[ry][rx + 3] != 1) && rx < 78)rx += 3; break;
- case 80:if ((m1[ry + 2][rx] != 1) && ry < 41)ry += 2; break;
- }
- switch (m1[ry][rx])
- {
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 5:
- Console::BackgroundColor = ConsoleColor::Blue;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 8:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 4:
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- }
- }
- }
- _sleep(50);
- Timer(timersleep, 50, timer, vidas, rx, ry, 3);
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(txtx, txty);
- cout << "Vidas: ";
- Console::SetCursorPosition(txtx, txty + 1);
- cout << vidas[3];
- Console::SetCursorPosition(txtx, txty + 3);
- cout << "Time: ";
- Console::SetCursorPosition(txtx, txty + 4);
- cout << timer;
- Console::SetCursorPosition(txtx, txty + 6);
- cout << "Puntaje: ";
- Console::SetCursorPosition(txtx, txty + 7);
- cout << Puntaje;
- for (int i = 0; i < 7; i++)
- {
- Troncozd(tronco, i, rx, ry, m1, vidas, 3);
- }
- for (int i = 07; i < 14; i++)
- {
- Troncodz(tronco, i, rx, ry, m1, vidas, 3);
- }
- /*--------------------------------------------------*/
- func_Cuevas(cueva, 3, exitmovement, rx, ry, SumaCueva);
- if (rx == bonus_x&&ry == bonus_y)
- {
- vidas[3]++;
- bonus_x = bonus_x - 20;
- Puntaje += 100;
- }
- if (vidas[3] == 0)
- {
- exitmovement[3] = 0;
- }
- }
- Console::BackgroundColor = ConsoleColor::Black;
- }
- void Movimiento5(int m1[43][81], int *exitmovement, int *SumaCueva, int*vidas, int & Puntaje)
- {
- posctt * tronco = new posctt[16];
- Random x;
- int *cueva = new int[5];
- int txtx = 82, txty = 17;
- int timer = 180, timersleep = 0;
- int bonus_x = 78, bonus_y = 19;
- int tecla;
- int rx = 42;
- int ry = 41;
- /*--------------------------------------------------*/
- tronco[1].x = x.Next(0, 70);
- tronco[1].y = 7;
- tronco[1].delx = 1;
- tronco[2].x = x.Next(0, 70);
- tronco[2].y = 13;
- tronco[2].delx = 1;
- tronco[3].x = x.Next(0, 32);
- tronco[3].y = 17;
- tronco[3].delx = 1;
- tronco[4].x = x.Next(0, 70);
- tronco[4].y = 23;
- tronco[4].delx = 1;
- tronco[5].x = x.Next(0, 32);
- tronco[5].y = 27;
- tronco[5].delx = 1;
- tronco[6].x = x.Next(0, 70);
- tronco[6].y = 33;
- tronco[6].delx = 1;
- tronco[7].x = x.Next(0, 70);
- tronco[7].y = 37;
- tronco[7].delx = 1;
- /*-------------------------*/
- tronco[8].x = x.Next(0, 70);
- tronco[8].y = 5;
- tronco[8].delx = -1;
- tronco[9].x = x.Next(0, 32);
- tronco[9].y = 9;
- tronco[9].delx = -1;
- tronco[10].x = x.Next(0, 70);
- tronco[10].y = 15;
- tronco[10].delx = -1;
- tronco[11].x = x.Next(0, 32);
- tronco[11].y = 21;
- tronco[11].delx = -1;
- tronco[12].x = x.Next(0, 70);
- tronco[12].y = 25;
- tronco[12].delx = -1;
- tronco[13].x = x.Next(0, 70);
- tronco[13].y = 29;
- tronco[13].delx = -1;
- tronco[14].x = x.Next(0, 70);
- tronco[14].y = 35;
- tronco[14].delx = -1;
- tronco[15].x = x.Next(0, 70);
- tronco[15].y = 39;
- tronco[15].delx = -1;
- /*--------------------------------------------------*/
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::Red;
- Console::SetCursorPosition(bonus_x, bonus_y);
- cout << char(201) << char(205) << char(187);
- Console::SetCursorPosition(bonus_x, bonus_y + 1);
- cout << char(200) << char(205) << char(188);
- while (exitmovement[4])
- {
- switch (m1[ry][rx])
- {
- case 3:
- Console::SetCursorPosition(rx, ry);
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 4:
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(rx, ry);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(rx, ry + 1);
- cout << char(177) << char(177) << char(177); break;
- }
- if (kbhit())
- {
- tecla = _getch();
- if (tecla == 224)
- {
- switch (m1[ry][rx])
- {
- case 13:
- Console::BackgroundColor = ConsoleColor::Red;
- if ((ry == 14 || ry == 16 || ry == 18) && (rx == 10 || rx == 39 || rx == 66))
- {
- Console::ForegroundColor = ConsoleColor::Black;
- cout << char(186);
- }
- else
- {
- Console::ForegroundColor = ConsoleColor::Yellow;
- cout << char(176);
- }
- ; break;
- case 9:
- Console::BackgroundColor = ConsoleColor::Red;
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(rx, ry);
- cout << (char)176 << (char)176 << (char)176;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)176 << (char)176 << (char)176; break;
- case 4:
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::Gray;
- Console::SetCursorPosition(rx, ry);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(rx, ry + 1);
- cout << char(177) << char(177) << char(177); break;
- }
- tecla = _getch();
- switch (tecla)
- {
- case 72:if ((m1[ry - 2][rx] != 1) && (m1[ry - 2][rx] != 13) && ry > 0)ry -= 2; break;
- case 75:if ((m1[ry][rx - 3] != 1) && (m1[ry][rx - 3] != 13) && rx > 0)rx -= 3; break;
- case 77:if ((m1[ry][rx + 3] != 1) && (m1[ry][rx + 3] != 13) && rx < 78)rx += 3; break;
- case 80:if ((m1[ry + 2][rx] != 1) && (m1[ry + 2][rx] != 13) && ry < 41)ry += 2; break;
- }
- switch (m1[ry][rx])
- {
- case 13:
- Console::BackgroundColor = ConsoleColor::Red;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191;
- if ((ry == 13 || ry == 15 || ry == 17) && (rx == 12 || rx == 39 || rx == 66))
- {
- Console::BackgroundColor = ConsoleColor::Red;
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(rx, ry);
- cout << char(176);
- Console::ForegroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(rx + 1, ry);
- cout << char(186);
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(rx + 2, ry);
- cout << char(176);
- Console::SetCursorPosition(rx, ry + 1);
- cout << char(176);
- Console::ForegroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(rx + 1, ry + 1);
- cout << char(186);
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(rx + 2, ry + 1);
- cout << char(176);
- } break;
- case 9:
- Console::BackgroundColor = ConsoleColor::Red;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 7:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- }
- }
- }
- /*--------------------------------------------------*/
- _sleep(50);
- Timer(timersleep, 50, timer, vidas, rx, ry, 4);
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(txtx, txty);
- cout << "Vidas: ";
- Console::SetCursorPosition(txtx, txty + 1);
- cout << vidas[4];
- Console::SetCursorPosition(txtx, txty + 3);
- cout << "Time: ";
- Console::SetCursorPosition(txtx, txty + 4);
- cout << timer;
- Console::SetCursorPosition(txtx, txty + 6);
- cout << "Puntaje: ";
- Console::SetCursorPosition(txtx, txty + 7);
- cout << Puntaje;
- for (int i = 1; i < 8; i++)
- {
- Troncolavazd(tronco, i, rx, ry, m1, vidas, 4);
- }
- for (int i = 8; i < 16; i++)
- {
- Troncolavadz(tronco, i, rx, ry, m1, vidas, 4);
- }
- /*--------------------------------------------------*/
- func_Cuevas(cueva, 4, exitmovement, rx, ry, SumaCueva);
- ;
- if (rx == bonus_x&&ry == bonus_y)
- {
- vidas[4]++;
- bonus_x = bonus_x - 9;
- Puntaje += 100;
- }
- if (vidas[4] == 0)
- {
- exitmovement[4] = 0;
- }
- }
- Console::BackgroundColor = ConsoleColor::Black;
- }
- void Movimiento6(int m1[43][81], int *exitmovement, int *SumaCueva, int*vidas, int & Puntaje)
- {
- posctt * tronco = new posctt[6];
- posctt * rebo_obs = new posctt[20];
- Random x;
- int *cueva = new int[5];
- int txtx = 82, txty = 17;
- int timer = 180, timersleep = 0;
- int bonus_x = 78, bonus_y = 11;
- int tecla;
- int rx = 0;
- int ry = 41;
- /*--------------------------------------------------*/
- rebo_obs[0].x = 18;
- rebo_obs[0].y = x.Next(13, 19);
- rebo_obs[0].minry = 13;
- rebo_obs[0].maxry = 19;
- rebo_obs[0].dely = 1;
- rebo_obs[1].x = 30;
- rebo_obs[1].y = x.Next(13, 19);
- rebo_obs[1].minry = 13;
- rebo_obs[1].maxry = 19;
- rebo_obs[1].dely = 1;
- rebo_obs[2].x = 42;
- rebo_obs[2].y = x.Next(13, 19);
- rebo_obs[2].minry = 13;
- rebo_obs[2].maxry = 19;
- rebo_obs[2].dely = 1;
- rebo_obs[3].x = 54;
- rebo_obs[3].y = x.Next(13, 19);
- rebo_obs[3].minry = 13;
- rebo_obs[3].maxry = 19;
- rebo_obs[3].dely = 1;
- /*-------------------------*/
- rebo_obs[4].x = 24;
- rebo_obs[4].y = x.Next(23, 29);
- rebo_obs[4].minry = 23;
- rebo_obs[4].maxry = 29;
- rebo_obs[4].dely = 1;
- rebo_obs[5].x = 36;
- rebo_obs[5].y = x.Next(23, 29);
- rebo_obs[5].minry = 23;
- rebo_obs[5].maxry = 29;
- rebo_obs[5].dely = 1;
- rebo_obs[6].x = 48;
- rebo_obs[6].y = x.Next(23, 29);
- rebo_obs[6].minry = 23;
- rebo_obs[6].maxry = 29;
- rebo_obs[6].dely = 1;
- rebo_obs[7].x = 60;
- rebo_obs[7].y = x.Next(23, 29);
- rebo_obs[7].minry = 23;
- rebo_obs[7].maxry = 29;
- rebo_obs[7].dely = 1;
- /*-------------------------*/
- rebo_obs[8].x = 18;
- rebo_obs[8].y = x.Next(33, 39);
- rebo_obs[8].minry = 33;
- rebo_obs[8].maxry = 39;
- rebo_obs[8].dely = 1;
- rebo_obs[9].x = 30;
- rebo_obs[9].y = x.Next(33, 39);
- rebo_obs[9].minry = 33;
- rebo_obs[9].maxry = 39;
- rebo_obs[9].dely = 1;
- rebo_obs[10].x = 42;
- rebo_obs[10].y = x.Next(33, 39);
- rebo_obs[10].minry = 33;
- rebo_obs[10].maxry = 39;
- rebo_obs[10].dely = 1;
- rebo_obs[11].x = 54;
- rebo_obs[11].y = x.Next(33, 39);
- rebo_obs[11].minry = 33;
- rebo_obs[11].maxry = 39;
- rebo_obs[11].dely = 1;
- /*-------------------------*//*-------------------------*/
- tronco[1].x = x.Next(0, 70);
- tronco[1].y = 7;
- tronco[1].delx = 1;
- /*-------------------------*/
- tronco[2].x = x.Next(0, 32);
- tronco[2].y = 5;
- tronco[2].delx = -1;
- tronco[3].x = x.Next(0, 70);
- tronco[3].y = 9;
- tronco[3].delx = -1;
- tronco[4].x = tronco[2].x + 36;
- tronco[4].y = 5;
- tronco[4].delx = -1;
- /*--------------------------------------------------*/
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::Red;
- Console::SetCursorPosition(bonus_x, bonus_y);
- cout << char(201) << char(205) << char(187);
- Console::SetCursorPosition(bonus_x, bonus_y + 1);
- cout << char(200) << char(205) << char(188);
- while (exitmovement[5])
- {
- switch (m1[ry][rx])
- {
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- }
- if (kbhit())
- {
- tecla = _getch();
- if (tecla == 224)
- {
- switch (m1[ry][rx])
- {
- case 11:
- Console::SetCursorPosition(rx, ry);
- Console::BackgroundColor = ConsoleColor::Black;
- cout << " ";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " "; break;
- case 9:
- Console::BackgroundColor = ConsoleColor::Red;
- Console::ForegroundColor = ConsoleColor::Yellow;
- Console::SetCursorPosition(rx, ry);
- cout << (char)176 << (char)176 << (char)176;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)176 << (char)176 << (char)176; break;
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::Gray;
- Console::SetCursorPosition(rx, ry);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(rx, ry + 1);
- cout << char(177) << char(177) << char(177); break;
- case 7:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- }
- tecla = _getch();
- switch (tecla)
- {
- case 72:if ((m1[ry - 2][rx] != 1) && ry > 0)ry -= 2; break;
- case 75:if ((m1[ry][rx - 3] != 1) && rx > 0)rx -= 3; break;
- case 77:if ((m1[ry][rx + 3] != 1) && rx < 78)rx += 3; break;
- case 80:if ((m1[ry + 2][rx] != 1) && ry < 41)ry += 2; break;
- }
- switch (m1[ry][rx])
- {
- case 11:
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 9:
- Console::BackgroundColor = ConsoleColor::Red;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- }
- }
- }
- /*--------------------------------------------------*/
- _sleep(50);
- Timer(timersleep, 50, timer, vidas, rx, ry, 5);
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(txtx, txty);
- cout << "Vidas: ";
- Console::SetCursorPosition(txtx, txty + 1);
- cout << vidas[5];
- Console::SetCursorPosition(txtx, txty + 3);
- cout << "Time: ";
- Console::SetCursorPosition(txtx, txty + 4);
- cout << timer;
- Console::SetCursorPosition(txtx, txty + 6);
- cout << "Puntaje: ";
- Console::SetCursorPosition(txtx, txty + 7);
- cout << Puntaje;
- for (int i = 0; i < 12; i++)
- {
- objeto_rebotador(rebo_obs, i, rx, ry, vidas, 5);
- }
- /*-------------------------*//*-------------------------*/
- Troncolavazd(tronco, 1, rx, ry, m1, vidas, 5);
- Troncolavadz(tronco, 2, rx, ry, m1, vidas, 5);
- Troncolavadz(tronco, 3, rx, ry, m1, vidas, 5);
- Troncolavadz(tronco, 4, rx, ry, m1, vidas, 5);
- /*--------------------------------------------------*/
- func_Cuevas(cueva, 5, exitmovement, rx, ry, SumaCueva);
- if (rx == bonus_x&&ry == bonus_y)
- {
- vidas[5]++;
- bonus_x = bonus_x - 9;
- Puntaje += 100;
- }
- if (vidas[5] == 0)
- {
- exitmovement[5] = 0;
- }
- }
- Console::BackgroundColor = ConsoleColor::Black;
- }
- void Movimiento7(int m1[43][81], int *exitmovement, int *SumaCueva, int*vidas, int & Puntaje)
- {
- posctt * flecha = new posctt[31];
- posctt * enem_rebot = new posctt[19];
- Random x;
- int txtx = 82, txty = 17;
- int timer = 180, timersleep = 0;
- int *cueva = new int[5];
- int bonus_x = 78, bonus_y = 17;
- int tecla;
- int rx = 42;
- int ry = 41;
- enem_rebot[0].x = 51;
- enem_rebot[0].y = 3;
- enem_rebot[0].minry = 3;
- enem_rebot[0].maxry = x.Next(21, 41);
- enem_rebot[0].minrx = enem_rebot[0].x;
- enem_rebot[0].maxrx = 81;
- enem_rebot[0].dely = 1;
- enem_rebot[0].delx = 0;
- enem_rebot[1].x = 53;
- enem_rebot[1].y = 3;
- enem_rebot[1].minry = 7;
- enem_rebot[1].maxry = x.Next(21, 41);
- enem_rebot[1].minrx = enem_rebot[1].x;
- enem_rebot[1].maxrx = 81;
- enem_rebot[1].dely = 1;
- enem_rebot[1].delx = 0;
- enem_rebot[2].x = 55;
- enem_rebot[2].y = 3;
- enem_rebot[2].minry = 11;
- enem_rebot[2].maxry = x.Next(21, 41);
- enem_rebot[2].minrx = enem_rebot[2].x;
- enem_rebot[2].maxrx = 81;
- enem_rebot[2].dely = 1;
- enem_rebot[2].delx = 0;
- enem_rebot[3].x = 57;
- enem_rebot[3].y = 3;
- enem_rebot[3].minry = 5;
- enem_rebot[3].maxry = x.Next(21, 41);
- enem_rebot[3].minrx = enem_rebot[3].x;
- enem_rebot[3].maxrx = 81;
- enem_rebot[3].dely = 1;
- enem_rebot[3].delx = 0;
- enem_rebot[4].x = 59;
- enem_rebot[4].y = 3;
- enem_rebot[4].minry = 3;
- enem_rebot[4].maxry = x.Next(21, 41);
- enem_rebot[4].minrx = enem_rebot[4].x;
- enem_rebot[4].maxrx = 81;
- enem_rebot[4].dely = 1;
- enem_rebot[4].delx = 0;
- enem_rebot[5].x = 61;
- enem_rebot[5].y = 3;
- enem_rebot[5].minry = 8;
- enem_rebot[5].maxry = x.Next(21, 41);
- enem_rebot[5].minrx = enem_rebot[5].x;
- enem_rebot[5].maxrx = 81;
- enem_rebot[5].dely = 1;
- enem_rebot[5].delx = 0;
- enem_rebot[6].x = 63;
- enem_rebot[6].y = 3;
- enem_rebot[6].minry = 7;
- enem_rebot[6].maxry = x.Next(21, 41);
- enem_rebot[6].minrx = enem_rebot[6].x;
- enem_rebot[6].maxrx = 81;
- enem_rebot[6].dely = 1;
- enem_rebot[6].delx = 0;
- enem_rebot[7].x = 65;
- enem_rebot[7].y = 3;
- enem_rebot[7].minry = 19;
- enem_rebot[7].maxry = x.Next(21, 41);
- enem_rebot[7].minrx = enem_rebot[7].x;
- enem_rebot[7].maxrx = 81;
- enem_rebot[7].dely = 1;
- enem_rebot[7].delx = 0;
- enem_rebot[8].x = 67;
- enem_rebot[8].y = 3;
- enem_rebot[8].minry = 20;
- enem_rebot[8].maxry = x.Next(21, 41);
- enem_rebot[8].minrx = enem_rebot[8].x;
- enem_rebot[8].maxrx = 81;
- enem_rebot[8].dely = 1;
- enem_rebot[8].delx = 0;
- enem_rebot[9].x = 69;
- enem_rebot[9].y = 3;
- enem_rebot[9].minry = 5;
- enem_rebot[9].maxry = x.Next(21, 41);
- enem_rebot[9].minrx = enem_rebot[9].x;
- enem_rebot[9].maxrx = 81;
- enem_rebot[9].dely = 1;
- enem_rebot[9].delx = 0;
- enem_rebot[10].x = 71;
- enem_rebot[10].y = 3;
- enem_rebot[10].minry = x.Next(3, 21);
- enem_rebot[10].maxry = x.Next(21, 41);
- enem_rebot[10].minrx = enem_rebot[10].x;
- enem_rebot[10].maxrx = 81;
- enem_rebot[10].dely = 1;
- enem_rebot[10].delx = 0;
- enem_rebot[11].x = 73;
- enem_rebot[11].y = 3;
- enem_rebot[11].minry = x.Next(3, 21);
- enem_rebot[11].maxry = x.Next(21, 41);
- enem_rebot[11].minrx = enem_rebot[11].x;
- enem_rebot[11].maxrx = 81;
- enem_rebot[11].dely = 1;
- enem_rebot[11].delx = 0;
- enem_rebot[12].x = 75;
- enem_rebot[12].y = 3;
- enem_rebot[12].minry = x.Next(3, 21);
- enem_rebot[12].maxry = x.Next(21, 41);
- enem_rebot[12].minrx = enem_rebot[12].x;
- enem_rebot[12].maxrx = 81;
- enem_rebot[12].dely = 1;
- enem_rebot[12].delx = 0;
- enem_rebot[13].x = 51;
- enem_rebot[13].y = 3;
- enem_rebot[13].minry = 3;
- enem_rebot[13].maxry = 15;
- enem_rebot[13].minrx = enem_rebot[13].x;
- enem_rebot[13].maxrx = 81;
- enem_rebot[13].dely = 1;
- enem_rebot[13].delx = 0;
- enem_rebot[14].x = 51;
- enem_rebot[14].y = 3;
- enem_rebot[14].minry = 3;
- enem_rebot[14].maxry = 27;
- enem_rebot[14].minrx = enem_rebot[14].x;
- enem_rebot[14].maxrx = 81;
- enem_rebot[14].dely = 1;
- enem_rebot[14].delx = 0;
- enem_rebot[15].x = 51;
- enem_rebot[15].y = 3;
- enem_rebot[15].minry = 3;
- enem_rebot[15].maxry = 39;
- enem_rebot[15].minrx = enem_rebot[15].x;
- enem_rebot[15].maxrx = 81;
- enem_rebot[15].dely = 1;
- enem_rebot[15].delx = 0;
- enem_rebot[16].x = 55;
- enem_rebot[16].y = 3;
- enem_rebot[16].minry = 3;
- enem_rebot[16].maxry = 15;
- enem_rebot[16].minrx = enem_rebot[16].x;
- enem_rebot[16].maxrx = enem_rebot[16].x + 7;
- enem_rebot[16].dely = 1;
- enem_rebot[16].delx = 0;
- enem_rebot[17].x = 59;
- enem_rebot[17].y = 3;
- enem_rebot[17].minry = 3;
- enem_rebot[17].maxry = 27;
- enem_rebot[17].minrx = enem_rebot[17].x;
- enem_rebot[17].maxrx = enem_rebot[17].x + 7;
- enem_rebot[17].dely = 1;
- enem_rebot[17].delx = 0;
- enem_rebot[18].x = 67;
- enem_rebot[18].y = 3;
- enem_rebot[18].minry = 3;
- enem_rebot[18].maxry = 39;
- enem_rebot[18].minrx = enem_rebot[18].x;
- enem_rebot[18].maxrx = enem_rebot[18].x + 7;
- enem_rebot[18].dely = 1;
- enem_rebot[18].delx = 0;
- /*--------------------------------------------------*/
- flecha[0].x = 2;
- flecha[0].y = x.Next(3, 36);
- flecha[0].minry = 3;
- flecha[0].maxry = 38;
- flecha[0].dely = 1;
- flecha[1].x = 4;
- flecha[1].y = x.Next(3, 36);
- flecha[1].minry = 3;
- flecha[1].maxry = 38;
- flecha[1].dely = 1;
- flecha[2].x = 6;
- flecha[2].y = x.Next(3, 36);
- flecha[2].minry = 3;
- flecha[2].maxry = 38;
- flecha[2].dely = 1;
- flecha[3].x = 8;
- flecha[3].y = x.Next(3, 36);
- flecha[3].minry = 3;
- flecha[3].maxry = 38;
- flecha[3].dely = 1;
- flecha[4].x = 10;
- flecha[4].y = x.Next(3, 36);
- flecha[4].minry = 3;
- flecha[4].maxry = 38;
- flecha[4].dely = 1;
- flecha[5].x = 12;
- flecha[5].y = x.Next(3, 36);
- flecha[5].minry = 3;
- flecha[5].maxry = 38;
- flecha[5].dely = 1;
- flecha[6].x = 14;
- flecha[6].y = x.Next(3, 36);
- flecha[6].minry = 3;
- flecha[6].maxry = 38;
- flecha[6].dely = 1;
- flecha[7].x = 16;
- flecha[7].y = x.Next(3, 36);
- flecha[7].minry = 3;
- flecha[7].maxry = 38;
- flecha[7].dely = 1;
- flecha[8].x = 18;
- flecha[8].y = x.Next(3, 36);
- flecha[8].minry = 3;
- flecha[8].maxry = 38;
- flecha[8].dely = 1;
- flecha[9].x = 20;
- flecha[9].y = x.Next(3, 36);
- flecha[9].minry = 3;
- flecha[9].maxry = 38;
- flecha[9].dely = 1;
- flecha[10].x = 22;
- flecha[10].y = x.Next(3, 36);
- flecha[10].minry = 3;
- flecha[10].maxry = 38;
- flecha[10].dely = 1;
- flecha[11].x = 24;
- flecha[11].y = x.Next(3, 36);
- flecha[11].minry = 3;
- flecha[11].maxry = 38;
- flecha[11].dely = 1;
- flecha[12].x = 26;
- flecha[12].y = x.Next(3, 36);
- flecha[12].minry = 3;
- flecha[12].maxry = 38;
- flecha[12].dely = 1;
- flecha[13].x = 28;
- flecha[13].y = x.Next(3, 36);
- flecha[13].minry = 3;
- flecha[13].maxry = 38;
- flecha[13].dely = 1;
- flecha[14].x = 30;
- flecha[14].y = x.Next(3, 36);
- flecha[14].minry = 3;
- flecha[14].maxry = 38;
- flecha[14].dely = 1;
- flecha[15].x = 32;
- flecha[15].y = x.Next(3, 36);
- flecha[15].minry = 3;
- flecha[15].maxry = 38;
- flecha[15].dely = 1;
- flecha[16].x = 34;
- flecha[16].y = x.Next(3, 36);
- flecha[16].minry = 3;
- flecha[16].maxry = 38;
- flecha[16].dely = 1;
- flecha[17].x = 36;
- flecha[17].y = x.Next(3, 36);
- flecha[17].minry = 3;
- flecha[17].maxry = 38;
- flecha[17].dely = 1;
- flecha[18].x = 38;
- flecha[18].y = x.Next(3, 36);
- flecha[18].minry = 3;
- flecha[18].maxry = 38;
- flecha[18].dely = 1;
- flecha[19].x = 40;
- flecha[19].y = x.Next(3, 36);
- flecha[19].minry = 3;
- flecha[19].maxry = 38;
- flecha[19].dely = 1;
- flecha[20].x = 42;
- flecha[20].y = x.Next(3, 36);
- flecha[20].minry = 3;
- flecha[20].maxry = 38;
- flecha[20].dely = 1;
- flecha[21].x = 30;
- flecha[21].y = x.Next(3, 36);
- flecha[21].minry = 3;
- flecha[21].maxry = 38;
- flecha[21].dely = 1;
- flecha[22].x = 30;
- flecha[22].y = x.Next(3, 36);
- flecha[22].minry = 3;
- flecha[22].maxry = 38;
- flecha[22].dely = 1;
- flecha[23].x = 0;
- flecha[23].y = x.Next(3, 36);
- flecha[23].minry = 3;
- flecha[23].maxry = 38;
- flecha[23].dely = 1;
- flecha[24].x = 32;
- flecha[24].y = x.Next(3, 36);
- flecha[24].minry = 3;
- flecha[24].maxry = 38;
- flecha[24].dely = 1;
- flecha[25].x = 34;
- flecha[25].y = x.Next(3, 36);
- flecha[25].minry = 3;
- flecha[25].maxry = 38;
- flecha[25].dely = 1;
- flecha[26].x = 36;
- flecha[26].y = x.Next(3, 36);
- flecha[26].minry = 3;
- flecha[26].maxry = 38;
- flecha[26].dely = 1;
- flecha[27].x = 38;
- flecha[27].y = x.Next(3, 36);
- flecha[27].minry = 3;
- flecha[27].maxry = 38;
- flecha[27].dely = 1;
- flecha[28].x = 40;
- flecha[28].y = x.Next(3, 36);
- flecha[28].minry = 3;
- flecha[28].maxry = 38;
- flecha[28].dely = 1;
- flecha[29].x = 42;
- flecha[29].y = x.Next(3, 36);
- flecha[29].minry = 3;
- flecha[29].maxry = 38;
- flecha[29].dely = 1;
- flecha[30].x = 44;
- flecha[30].y = x.Next(3, 36);
- flecha[30].minry = 3;
- flecha[30].maxry = 38;
- flecha[30].dely = 1;
- /*--------------------------------------------------*/
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(bonus_x, bonus_y);
- cout << char(201) << char(205) << char(187);
- Console::SetCursorPosition(bonus_x, bonus_y + 1);
- cout << char(200) << char(205) << char(188);
- while (exitmovement[6])
- {
- switch (m1[ry][rx])
- {
- case 3:
- Console::SetCursorPosition(rx, ry);
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- }
- if (kbhit())
- {
- tecla = _getch();
- if (tecla == 224)
- {
- switch (m1[ry][rx])
- {
- case 14:
- Console::SetCursorPosition(rx, ry);
- Console::BackgroundColor = ConsoleColor::Black;
- cout << " ";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " "; break;
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::Gray;
- Console::SetCursorPosition(rx, ry);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(rx, ry + 1);
- cout << char(177) << char(177) << char(177); break;
- case 4:
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(rx, ry);
- cout << " ";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " "; break;
- }
- tecla = _getch();
- switch (tecla)
- {
- case 77:if ((m1[ry][rx + 3] != 1) && rx < 78)rx += 3; break;
- case 75:if ((m1[ry][rx - 3] != 1) && rx > 0)rx -= 3; break;
- case 72:if ((m1[ry - 2][rx] != 1) && ry > 0)ry -= 2; break;
- case 80:if ((m1[ry + 2][rx] != 1) && ry < 41)ry += 2; break;
- }
- switch (m1[ry][rx])
- {
- case 14:
- Console::SetCursorPosition(rx, ry);
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 3:
- Console::SetCursorPosition(rx, ry);
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 4:
- Console::BackgroundColor = ConsoleColor::DarkGreen;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 6:
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- }
- }
- }
- /*--------------------------------------------------*/
- _sleep(50);
- Timer(timersleep, 50, timer, vidas, rx, ry, 6);
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(txtx, txty);
- cout << "Vidas: ";
- Console::SetCursorPosition(txtx, txty + 1);
- cout << vidas[6];
- Console::SetCursorPosition(txtx, txty + 3);
- cout << "Time: ";
- Console::SetCursorPosition(txtx, txty + 4);
- cout << timer;
- Console::SetCursorPosition(txtx, txty + 6);
- cout << "Puntaje: ";
- Console::SetCursorPosition(txtx, txty + 7);
- cout << Puntaje;
- for (int i = 0; i < 31; i++)
- {
- Flecha(flecha, i, rx, ry, vidas, 6);
- }
- for (int i = 0; i < 19; i++)
- {
- enemigo_rebotador(enem_rebot, i, rx, ry, vidas, 6);
- }
- func_Cuevas(cueva, 6, exitmovement, rx, ry, SumaCueva);
- if (rx == bonus_x&&ry == bonus_y)
- {
- vidas[6]++;
- bonus_x = bonus_x - 9;
- Puntaje += 100;
- }
- if (vidas[6] == 0)
- {
- exitmovement[6] = 0;
- }
- }
- Console::BackgroundColor = ConsoleColor::Black;
- }
- void Movimiento8(int m1[43][81], int *exitmovement, int *SumaCueva, int*vidas, int & Puntaje)
- {
- posctt * enemigos = new posctt[18];
- Random x;
- int *cueva = new int[5];
- int txtx = 82, txty = 17;
- int timer = 180, timersleep = 0;
- int bonus_x = 39, bonus_y = 21;
- int tecla;
- int rx = 42;
- int ry = 41;
- /*--------------------------------------------------*/
- enemigos[0].x = 0;
- enemigos[0].y = 3;
- enemigos[0].minry = 3;
- enemigos[0].maxry = 39;
- enemigos[0].minrx = enemigos[0].x;
- enemigos[0].maxrx = 78;
- enemigos[0].dely = 2;
- enemigos[0].delx = 0;
- enemigos[1].x = 3;
- enemigos[1].y = 5;
- enemigos[1].minry = 5;
- enemigos[1].maxry = 37;
- enemigos[1].minrx = enemigos[1].x;
- enemigos[1].maxrx = 75;
- enemigos[1].dely = 2;
- enemigos[1].delx = 0;
- enemigos[2].x = 6;
- enemigos[2].y = 7;
- enemigos[2].minry = 7;
- enemigos[2].maxry = 35;
- enemigos[2].minrx = enemigos[2].x;
- enemigos[2].maxrx = 72;
- enemigos[2].dely = 2;
- enemigos[2].delx = 0;
- enemigos[3].x = 9;
- enemigos[3].y = 9;
- enemigos[3].minry = 9;
- enemigos[3].maxry = 33;
- enemigos[3].minrx = enemigos[3].x;
- enemigos[3].maxrx = 69;
- enemigos[3].dely = 2;
- enemigos[3].delx = 0;
- enemigos[4].x = 12;
- enemigos[4].y = 11;
- enemigos[4].minry = 11;
- enemigos[4].maxry = 31;
- enemigos[4].minrx = enemigos[4].x;
- enemigos[4].maxrx = 66;
- enemigos[4].dely = 2;
- enemigos[4].delx = 0;
- enemigos[5].x = 15;
- enemigos[5].y = 13;
- enemigos[5].minry = 13;
- enemigos[5].maxry = 29;
- enemigos[5].minrx = enemigos[5].x;
- enemigos[5].maxrx = 63;
- enemigos[5].dely = 2;
- enemigos[5].delx = 0;
- enemigos[6].x = 18;
- enemigos[6].y = 15;
- enemigos[6].minry = 15;
- enemigos[6].maxry = 27;
- enemigos[6].minrx = enemigos[6].x;
- enemigos[6].maxrx = 60;
- enemigos[6].dely = 2;
- enemigos[6].delx = 0;
- enemigos[7].x = 21;
- enemigos[7].y = 17;
- enemigos[7].minry = 17;
- enemigos[7].maxry = 25;
- enemigos[7].minrx = enemigos[7].x;
- enemigos[7].maxrx = 57;
- enemigos[7].dely = 2;
- enemigos[7].delx = 0;
- enemigos[8].x = 24;
- enemigos[8].y = 19;
- enemigos[8].minry = 19;
- enemigos[8].maxry = 23;
- enemigos[8].minrx = enemigos[8].x;
- enemigos[8].maxrx = 54;
- enemigos[8].dely = 2;
- enemigos[8].delx = 0;
- /*--------------------------------------------------*/
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(bonus_x, bonus_y);
- cout << char(201) << char(205) << char(187);
- Console::SetCursorPosition(bonus_x, bonus_y + 1);
- cout << char(200) << char(205) << char(188);
- while (exitmovement[7])
- {
- switch (m1[ry][rx])
- {
- case 3:
- Console::SetCursorPosition(rx, ry);
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191;
- break;
- }
- if (kbhit())
- {
- tecla = _getch();
- if (tecla == 224)
- {
- switch (m1[ry][rx])
- {
- case 15:
- Console::BackgroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(rx, ry);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(rx, ry + 1);
- cout << char(177) << char(177) << char(177);
- break;
- case 14:
- Console::BackgroundColor = ConsoleColor::Black;
- Console::SetCursorPosition(rx, ry);
- cout << " ";
- Console::SetCursorPosition(rx, ry + 1);
- cout << " "; break;
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::Gray;
- Console::SetCursorPosition(rx, ry);
- cout << char(177) << char(177) << char(177);
- Console::SetCursorPosition(rx, ry + 1);
- cout << char(177) << char(177) << char(177);
- break;
- }
- tecla = _getch();
- switch (tecla)
- {
- case 77:if ((m1[ry][rx + 3] != 1) && rx < 78)rx += 3; break;
- case 75:if ((m1[ry][rx - 3] != 1) && rx > 0)rx -= 3; break;
- case 72:if ((m1[ry - 2][rx] != 1) && ry > 0)ry -= 2; break;
- case 80:if ((m1[ry + 2][rx] != 1) && ry < 41)ry += 2; break;
- }
- switch (m1[ry][rx])
- {
- case 14:
- Console::SetCursorPosition(rx, ry);
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 3:
- Console::BackgroundColor = ConsoleColor::DarkGray;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 6:
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191; break;
- case 15:
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkMagenta;
- Console::SetCursorPosition(rx, ry);
- cout << (char)192 << (char)219 << (char)217;
- Console::SetCursorPosition(rx, ry + 1);
- cout << (char)218 << (char)223 << (char)191;
- break;
- }
- }
- }
- /*--------------------------------------------------*/
- _sleep(30);
- Timer(timersleep, 30, timer, vidas, rx, ry, 7);
- Console::BackgroundColor = ConsoleColor::Black;
- Console::ForegroundColor = ConsoleColor::DarkGreen;
- Console::SetCursorPosition(txtx, txty);
- cout << "Vidas: ";
- Console::SetCursorPosition(txtx, txty + 1);
- cout << vidas[7];
- Console::SetCursorPosition(txtx, txty + 3);
- cout << "Time: ";
- Console::SetCursorPosition(txtx, txty + 4);
- cout << timer;
- Console::SetCursorPosition(txtx, txty + 6);
- cout << "Puntaje: ";
- Console::SetCursorPosition(txtx, txty + 7);
- cout << Puntaje;
- /*--------------------------------------------------*//*------------------------------------------------------------------------------------------------------------------------------------------------------*//*------------------------------------------------------------------------------------------------------------------------------------------------------*//*------------------------------------------------------------------------------------------------------------------------------------------------------*/
- int Map1[43][81] =
- {
- //0 5 6 9 13 17 18 23 24 27 31 35 36 41 42 45 49 53 54 59 60 63 67 71 72 77
- { 1,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1 }, // 0
- { 1,1,6,6,6,6,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,6,6,6,6,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,6,6,6,6,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,6,6,6,6,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,6,6,6,6,1,1,1 }, // 1
- { 1,1,6,6,6,6,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,6,6,6,6,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,6,6,6,6,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,6,6,6,6,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,6,6,6,6,1,1,1 }, // 2
- { 2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,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 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 }, // 24
- { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 }, // 25
- { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 }, // 26
- { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 },// 27
- { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 },// 28
- { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 }, // 29
- { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 },// 30
- { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 },// 31
- { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 }, // 32
- { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 },// 33
- { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 },// 34
- { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 }, // 35
- { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 }, // 36
- { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 }, // 37
- { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 }, // 38
- { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 }, // 39
- { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 }, // 40
- { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 }, // 41
- { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 }, // 42
- };
- /*------------------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3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 }, // 41
- { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 }, // 42
- };
- /*------------------------------------------------------------------------------------------------------------------------------------------------------*/
- int Map4[43][81] =
- {
- //0 5 6 9 13 17 18 23 24 27 31 35 36 41 42 45 49 53 54 59 60 63 67 71 72 77
- { 1,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1 }, // 0
- { 1,1,8,8,8,8,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,8,8,8,8,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,8,8,8,8,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,8,8,8,8,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,8,8,8,8,1,1,1 }, // 1
- { 1,1,8,8,8,8,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,8,8,8,8,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,8,8,8,8,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,8,8,8,8,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,8,8,8,8,1,1,1 }, // 2
-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,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 }, // 42
- };
- /*------------------------------------------------------------------------------------------------------------------------------------------------------*/
- int Map6[43][81] =
- {
- //0 5 6 9 13 17 18 23 24 27 31 35 36 41 42 45 49 53 54 59 60 63 67 71 72 77
- { 1,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1 }, // 0
- { 1,1,7,7,7,7,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,7,7,7,7,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,7,7,7,7,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,7,7,7,7,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,7,7,7,7,1,1,1 }, // 1
- { 1,1,7,7,7,7,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,7,7,7,7,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,7,7,7,7,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,7,7,7,7,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,7,7,7,7,1,1,1 }, // 2
- { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },
- { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3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11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 13
- { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 14
- { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 15
- { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 16
- { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 17
- { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 18
- { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 25
- { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 26
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 23
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 24
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 19
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 20
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 21
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 22
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 27
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 28
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 33
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 34
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 29
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 }, // 30
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 }, // 31
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 }, // 32
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 }, // 35
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 }, // 36
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 }, // 37
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 }, // 38
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 }, // 39
- { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 }, // 40
- { 3,3,3 ,3,3,3 ,3,3,3 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 }, // 41
- { 3,3,3 ,3,3,3 ,3,3,3 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 }, // 42
- };
- /*------------------------------------------------------------------------------------------------------------------------------------------------------*/
- int Map7[43][81] =
- {
- //0 6 9 13 17 18 23 24 27 31 35 36 41 42 45 49 53 54 59 60 63 67 71 72 77/*------------------------------------------------------------------------------------------------------------------------------------------------------*/
- int Map8[43][81] =
- {
- //0 5 6 9 13 17 18 23 24 27 31 35 36 41 42 45 49 53 54 59 60 63 67 71 72 77
- { 1,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,1,1,1,1,1,1,1 },
- { 1,1,6,6,6,6,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,6,6,6,6,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,6,6,6,6,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,6,6,6,6,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,6,6,6,6,1,1,1 },
- { 1,1,6,6,6,6,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,6,6,6,6,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,6,6,6,6,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,6,6,6,6,1 ,1,1,1,1,1,1,1,1,1,1,1,1 ,1,6,6,6,6,1,1,1 },
- { 14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 },
- { 14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- //0 3 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
- { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },
- { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },
- };
- /*------------------------------------------------------------------------------------------------------------------------------------------------------*/
- //DibujaMapa(Map1);
- //Movimiento1(Map1, Exitmove, SumaCueva, Vidas, Puntaje);
- //_getch();
- //Console::Clear();
- //DibujaMapa(Map2);
- //Movimiento2(Map2, Exitmove, SumaCueva, Vidas, Puntaje);
- //_getch();
- //Console::Clear();
- //DibujaMapa(Map3);
- //Movimiento3(Map3, Exitmove, SumaCueva, Vidas, Puntaje);
- //_getch();
- /*Console::Clear();
- DibujaMapa(Map4);
- Movimiento4(Map4, Exitmove, SumaCueva, Vidas, Puntaje);
- _getch();*/
- //Console::Clear();
- //DibujaMapa(Map5);
- //Movimiento5(Map5, Exitmove, SumaCueva, Vidas, Puntaje);
- //_getch();
- //Console::Clear();
- //DibujaMapa(Map6);
- //Movimiento6(Map6, Exitmove, SumaCueva, Vidas, Puntaje);
- //_getch();
- //Console::Clear();
- /*DibujaMapa(Map7);
- Movimiento7(Map7, Exitmove, SumaCueva, Vidas, Puntaje);
- _getch();
- Console::Clear();*/
- /*DibujaMapa(Map8);
- Movimiento8(Map8, Exitmove, SumaCueva, Vidas, Puntaje);
- _getch();
- Console::Clear();*/
- DibujaMapa(ScreenInicio);
- Screen_Inicio(ScreenInicio);
- _getch();
- Console::Clear();
- /*-------------------------*/
- DibujaMapa(FondoNegro);
- Instrucciones(FondoNegro);
- _getch();
- Console::Clear();
- /*-------------------------*/
- DibujaMapa(Map1);
- Movimiento1(Map1, Exitmove, SumaCueva, Vidas, Puntaje);
- _getch();
- Console::Clear();
- if (SumaCueva[0] == 5)
- {
- DibujaMapa(Map2);
- Movimiento2(Map2, Exitmove, SumaCueva, Vidas, Puntaje);
- _getch();
- Console::Clear();
- if (SumaCueva[1] == 5)
- {
- DibujaMapa(Map4);
- Movimiento4(Map4, Exitmove, SumaCueva, Vidas, Puntaje);
- _getch();
- Console::Clear();
- if (SumaCueva[3] == 5)
- {
- DibujaMapa(Map3);
- Movimiento3(Map3, Exitmove, SumaCueva, Vidas, Puntaje);
- _getch();
- Console::Clear();
- if (SumaCueva[2] == 5)
- {
- DibujaMapa(Map5);
- Movimiento5(Map5, Exitmove, SumaCueva, Vidas, Puntaje);
- _getch();
- Console::Clear();
- if (SumaCueva[4] == 5)
- {
- DibujaMapa(Map6);
- Movimiento6(Map6, Exitmove, SumaCueva, Vidas, Puntaje);
- _getch();
- Console::Clear();
- if (SumaCueva[5] == 5)
- {
- DibujaMapa(Map7);
- Movimiento7(Map7, Exitmove, SumaCueva, Vidas, Puntaje);
- _getch();
- Console::Clear();
- if (SumaCueva[6] == 5)
- {
- DibujaMapa(Map8);
- Movimiento8(Map8, Exitmove, SumaCueva, Vidas, Puntaje);
- _getch();
- if (SumaCueva[7] == 5)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- DibujaMapa(BannerWin);
- Winner_Banner(BannerWin);
- _getch();
- Console::Clear();
- }
- }
- else
- {
- if (Vidas[6] == 0)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- DibujaMapa(BannerLose);
- Loser_Banner(BannerLose);
- _getch();
- Console::Clear();
- }
- }
- }
- else
- {
- if (Vidas[5] == 0)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- DibujaMapa(BannerLose);
- Loser_Banner(BannerLose);
- _getch();
- Console::Clear();
- }
- }
- }
- else
- {
- if (Vidas[4] == 0)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- DibujaMapa(BannerLose);
- Loser_Banner(BannerLose);
- _getch();
- Console::Clear();
- }
- }
- }
- else
- {
- if (Vidas[2] == 0)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- DibujaMapa(BannerLose);
- Loser_Banner(BannerLose);
- _getch();
- Console::Clear();
- }
- }
- }
- else
- {
- if (Vidas[3] == 0)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- DibujaMapa(BannerLose);
- Loser_Banner(BannerLose);
- _getch();
- Console::Clear();
- }
- }
- }
- else
- {
- if (Vidas[1] == 0)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- DibujaMapa(BannerLose);
- Loser_Banner(BannerLose);
- _getch();
- Console::Clear();
- }
- }
- }
- else
- {
- if (Vidas[0] == 0)
- {
- Console::BackgroundColor = ConsoleColor::Black;
- DibujaMapa(BannerLose);
- Loser_Banner(BannerLose);
- _getch();
- Console::Clear();
- }
- }
- Console::Clear();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment