Advertisement
AgustinMayta

hitoooooo 2 casi final

Jun 21st, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 85.57 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include <iostream>
  3. #include  <conio.h>
  4. using namespace System;
  5. using namespace std;
  6. void DibujaMapa(int m1[43][81])
  7. {
  8.     int x1;
  9.     int y1;
  10.     Console::BackgroundColor = ConsoleColor::Black;
  11.     for (int f = 0; f < 43; f++)
  12.     {
  13.         Console::SetCursorPosition(x1, y1);
  14.         for (int c = 0; c < 81; c++)
  15.         {
  16.             switch (m1[f][c])
  17.             {
  18.             case 1:
  19.                 Console::BackgroundColor = ConsoleColor::DarkRed;
  20.                 if (f == 0 && (c == 1 || c == 19 || c == 37 || c == 55 || c == 73))
  21.                 {
  22.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  23.                     Console::ForegroundColor = ConsoleColor::DarkGray;
  24.                     cout << char(207);
  25.                 }
  26.                 else
  27.                     if (f == 0 && (c == 6 || c == 24 || c == 42 || c == 60 || c == 78))
  28.                     {
  29.                         Console::BackgroundColor = ConsoleColor::DarkGreen;
  30.                         Console::ForegroundColor = ConsoleColor::DarkGray;
  31.                         cout << char(207);
  32.                     }
  33.                     else
  34.                         if (f == 0 && ((c >= 2 && c <= 5) || (c >= 20 && c <= 23) || (c >= 38 && c <= 41) || (c >= 56 && c <= 59) || (c >= 74 && c <= 77)))
  35.                         {
  36.                             Console::BackgroundColor = ConsoleColor::DarkGreen;
  37.                             Console::ForegroundColor = ConsoleColor::DarkGray;
  38.                             cout << char(205);
  39.                         }
  40.                         else
  41.                             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))
  42.                             {
  43.                                 Console::BackgroundColor = ConsoleColor::DarkGreen;
  44.                                 Console::ForegroundColor = ConsoleColor::DarkGray;
  45.                                 cout << char(186);
  46.                             }
  47.                             else
  48.                             {
  49.                                 Console::ForegroundColor = ConsoleColor::DarkGreen;
  50.                                 cout << char(177);
  51.                             }
  52.                 break;
  53.             case 2:
  54.                 Console::BackgroundColor = ConsoleColor::Black;
  55.                 if (f == 5 || f == 13 || f == 21 || f == 29 || f == 37)
  56.                 {
  57.                     Console::ForegroundColor = ConsoleColor::Yellow;
  58.                     cout << "=";
  59.  
  60.                 }
  61.                 else
  62.                     cout << " "; break;
  63.             case 3:
  64.                 Console::BackgroundColor = ConsoleColor::DarkGray;
  65.                 Console::ForegroundColor = ConsoleColor::Gray;
  66.                 cout << char(177); break;
  67.             case 4:
  68.                 Console::BackgroundColor = ConsoleColor::DarkGreen;
  69.                 Console::ForegroundColor = ConsoleColor::DarkGreen;
  70.                 cout << char(176); break;
  71.             case 5:
  72.                 Console::BackgroundColor = ConsoleColor::Blue;
  73.                 Console::ForegroundColor = ConsoleColor::Cyan;
  74.                 cout << char(177); break;
  75.             case 6:
  76.                 Console::BackgroundColor = ConsoleColor::Black;
  77.                 Console::ForegroundColor = ConsoleColor::Black;
  78.                 cout << char(176); break;
  79.             case 7:
  80.                 Console::BackgroundColor = ConsoleColor::DarkGray;
  81.                 Console::ForegroundColor = ConsoleColor::Gray;
  82.                 cout << char(177); break;
  83.             case 8:
  84.                 Console::BackgroundColor = ConsoleColor::Blue;
  85.                 Console::ForegroundColor = ConsoleColor::Cyan;
  86.                 cout << char(177); break;
  87.             case 9:
  88.                 Console::BackgroundColor = ConsoleColor::Red;
  89.                 if ((c == 13 || c == 40 || c == 67) && (f >12 && f<19))
  90.                 {
  91.                     Console::ForegroundColor = ConsoleColor::Black;
  92.                     cout << char(186);
  93.                 }
  94.                 else
  95.                 {
  96.                     Console::ForegroundColor = ConsoleColor::Yellow;
  97.                     cout << char(176);
  98.                 }
  99.                 ; break;
  100.             case 10:
  101.                 Console::BackgroundColor = ConsoleColor::Black;
  102.                 if (f == 32)
  103.                 {
  104.                     Console::ForegroundColor = ConsoleColor::White;
  105.                     cout << "=";
  106.                 }
  107.                 else
  108.                     cout << " "; break;
  109.             case 11:
  110.                 Console::BackgroundColor = ConsoleColor::Black;
  111.                 Console::ForegroundColor = ConsoleColor::Black;
  112.                 cout << char(219); break;
  113.             case 12:
  114.                 Console::BackgroundColor = ConsoleColor::Red;
  115.                 Console::ForegroundColor = ConsoleColor::Yellow;
  116.                 cout << char(176);
  117.                 ; break;
  118.             }
  119.         }
  120.         y1++;
  121.     }
  122. }
  123. void Movimiento1(int m1[43][81])
  124. {
  125.     int tecla;
  126.     int rx = 42;
  127.     int ry = 41;
  128.     while (1)
  129.     {
  130.         if (kbhit())
  131.         {
  132.             tecla = getch();
  133.             if (tecla == 224)
  134.             {
  135.                 switch (m1[ry][rx])
  136.                 {
  137.                 case 2:
  138.                     Console::SetCursorPosition(rx, ry);
  139.                     Console::BackgroundColor = ConsoleColor::Black;
  140.                     cout << "   ";
  141.                     Console::SetCursorPosition(rx, ry + 1);
  142.                     Console::BackgroundColor = ConsoleColor::Black;
  143.                     cout << "   ";
  144.                     if (ry == 5 || ry == 13 || ry == 21 || ry == 29 || ry == 37)
  145.                     {
  146.                         Console::ForegroundColor = ConsoleColor::Yellow;
  147.                         Console::SetCursorPosition(rx, ry);
  148.                         cout << "===";
  149.                         Console::ForegroundColor = ConsoleColor::Yellow;
  150.                         Console::SetCursorPosition(rx, ry+1);
  151.                         cout << "   ";
  152.                     }                  
  153.                     break;
  154.                 case 3:
  155.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  156.                     Console::ForegroundColor = ConsoleColor::Gray;
  157.                     Console::SetCursorPosition(rx, ry);
  158.                     cout << char(177) << char(177) << char(177);
  159.                     Console::SetCursorPosition(rx, ry + 1);
  160.                     cout << char(177) << char(177) << char(177); break;
  161.                 case 4:
  162.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  163.                     Console::SetCursorPosition(rx, ry);
  164.                     cout << "   ";
  165.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  166.                     Console::SetCursorPosition(rx, ry + 1);
  167.                     cout << "   ";
  168.                     break;
  169.                 }
  170.                 tecla = _getch();
  171.                 switch (tecla)
  172.                 {
  173.                 case 77:if ((m1[ry][rx + 3] == 6 || m1[ry][rx + 3] == 2 || m1[ry][rx + 3] == 4 || m1[ry][rx + 3] == 3) && rx<78)rx += 3; break;
  174.                 case 75:if ((m1[ry][rx - 3] == 6 || m1[ry][rx - 3] == 2 || m1[ry][rx - 3] == 4 || m1[ry][rx - 3] == 3) && rx>0)rx -= 3; break;
  175.                 case 72:if ((m1[ry - 2][rx] == 6 || m1[ry - 2][rx] == 2 || m1[ry - 2][rx] == 4 || m1[ry - 2][rx] == 3) && ry>0)ry -= 2; break;
  176.                 case 80:if ((m1[ry + 2][rx] == 6 || m1[ry + 2][rx] == 2 || m1[ry + 2][rx] == 4 || m1[ry + 2][rx] == 3) && ry<41)ry += 2; break;
  177.                 }
  178.                 switch (m1[ry][rx])
  179.                 {
  180.                 case 2:
  181.                     Console::SetCursorPosition(rx, ry);
  182.                     Console::BackgroundColor = ConsoleColor::Black;
  183.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  184.                     cout << (char)192 << (char)219 << (char)217;
  185.                     Console::SetCursorPosition(rx, ry + 1);
  186.                     Console::BackgroundColor = ConsoleColor::Black;
  187.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  188.                     cout << (char)218 << (char)223 << (char)191;
  189.                    
  190.                     break;
  191.                 case 3:
  192.                     Console::SetCursorPosition(rx, ry);
  193.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  194.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  195.                     cout << (char)192 << (char)219 << (char)217;
  196.                     Console::SetCursorPosition(rx, ry + 1);
  197.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  198.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  199.                     cout << (char)218 << (char)223 << (char)191;
  200.                     break;
  201.                 case 4:
  202.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  203.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  204.                     Console::SetCursorPosition(rx, ry);
  205.                     cout << (char)192 << (char)219 << (char)217;
  206.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  207.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  208.                     Console::SetCursorPosition(rx, ry + 1);
  209.                     cout << (char)218 << (char)223 << (char)191;
  210.                     break;
  211.                 }
  212.             }
  213.  
  214.         }
  215.     }
  216.  
  217. }
  218. void Movimiento2(int m1[43][81])
  219. {
  220.     int tecla;
  221.     int rx = 42;
  222.     int ry = 41;
  223.     while (1)
  224.     {
  225.         if (kbhit())
  226.         {
  227.             tecla = getch();
  228.             if (tecla == 224)
  229.             {
  230.                 switch (m1[ry][rx])
  231.                 {
  232.                 case 2:
  233.                     Console::SetCursorPosition(rx, ry);
  234.                     Console::BackgroundColor = ConsoleColor::Black;
  235.                     cout << "   ";
  236.                     Console::SetCursorPosition(rx, ry + 1);
  237.                     Console::BackgroundColor = ConsoleColor::Black;
  238.                     cout << "   ";
  239.  
  240.                     break;
  241.                 case 3:
  242.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  243.                     Console::ForegroundColor = ConsoleColor::Gray;
  244.                     Console::SetCursorPosition(rx, ry);
  245.                     cout << char(177) << char(177) << char(177);
  246.                     Console::SetCursorPosition(rx, ry + 1);
  247.                     cout << char(177) << char(177) << char(177);
  248.                     break;
  249.                 case 4:
  250.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  251.                     Console::SetCursorPosition(rx, ry);
  252.                     cout << "   ";
  253.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  254.                     Console::SetCursorPosition(rx, ry + 1);
  255.                     cout << "   ";
  256.                     break;
  257.                 case 5:
  258.                     Console::BackgroundColor = ConsoleColor::Blue;
  259.                     Console::SetCursorPosition(rx, ry);
  260.                     cout << "   ";
  261.                     Console::BackgroundColor = ConsoleColor::Blue;
  262.                     Console::SetCursorPosition(rx, ry + 1);
  263.                     cout << "   ";
  264.                     break;
  265.                 case 10:
  266.                     Console::SetCursorPosition(rx, ry);
  267.                     Console::BackgroundColor = ConsoleColor::Black;
  268.                     cout << "   ";
  269.                     Console::SetCursorPosition(rx, ry + 1);
  270.                     Console::BackgroundColor = ConsoleColor::Black;
  271.                     cout << "   ";
  272.                     break;
  273.                 }
  274.                 tecla = _getch();
  275.                 switch (tecla)
  276.                 {
  277.                 case 77:if ((m1[ry][rx + 3] == 2 || m1[ry][rx + 3] == 5 || m1[ry][rx + 3] == 4 || m1[ry][rx + 3] == 3 || m1[ry][rx + 3] == 10) && rx<78)rx += 3; break;
  278.                 case 75:if ((m1[ry][rx - 3] == 2 || m1[ry][rx - 3] == 5 || m1[ry][rx - 3] == 4 || m1[ry][rx - 3] == 3 || m1[ry][rx - 3] == 10) && rx>0)rx -= 3; break;
  279.                 case 72:if ((m1[ry - 2][rx] == 2 || m1[ry - 2][rx] == 5 || m1[ry - 2][rx] == 4 || m1[ry - 2][rx] == 3 || m1[ry - 2][rx] == 10) && ry>0)ry -= 2; break;
  280.                 case 80:if ((m1[ry + 2][rx] == 2 || m1[ry + 2][rx] == 5 || m1[ry + 2][rx] == 4 || m1[ry + 2][rx] == 3 || m1[ry + 2][rx] == 10) && ry<41)ry += 2; break;
  281.                 }
  282.                 switch (m1[ry][rx])
  283.                 {
  284.                 case 2:
  285.                     Console::SetCursorPosition(rx, ry);
  286.                     Console::BackgroundColor = ConsoleColor::Black;
  287.                     cout << (char)192 << (char)219 << (char)217;
  288.                     Console::SetCursorPosition(rx, ry + 1);
  289.                     Console::BackgroundColor = ConsoleColor::Black;
  290.                     cout << (char)218 << (char)223 << (char)191;
  291.  
  292.                     break;
  293.                 case 3:
  294.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  295.                     Console::SetCursorPosition(rx, ry);
  296.                     cout << (char)192 << (char)219 << (char)217;
  297.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  298.                     Console::SetCursorPosition(rx, ry + 1);
  299.                     cout << (char)218 << (char)223 << (char)191;
  300.                     break;
  301.                 case 4:
  302.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  303.                     Console::SetCursorPosition(rx, ry);
  304.                     cout << (char)192 << (char)219 << (char)217;
  305.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  306.                     Console::SetCursorPosition(rx, ry + 1);
  307.                     cout << (char)218 << (char)223 << (char)191;
  308.                     ; break;
  309.                 case 5:
  310.                     Console::BackgroundColor = ConsoleColor::Blue;
  311.                     Console::SetCursorPosition(rx, ry);
  312.                     cout << (char)192 << (char)219 << (char)217;
  313.                     Console::BackgroundColor = ConsoleColor::Blue;
  314.                     Console::SetCursorPosition(rx, ry + 1);
  315.                     cout << (char)218 << (char)223 << (char)191;
  316.                     break;
  317.                 case 10:
  318.                     Console::SetCursorPosition(rx, ry);
  319.                     Console::BackgroundColor = ConsoleColor::Black;
  320.                     cout << (char)192 << (char)219 << (char)217;
  321.                     Console::SetCursorPosition(rx, ry + 1);
  322.                     Console::BackgroundColor = ConsoleColor::Black;
  323.                     cout << (char)218 << (char)223 << (char)191;
  324.                     break;
  325.                 }
  326.             }
  327.  
  328.         }
  329.     }
  330.  
  331. }
  332. void Movimiento3(int m1[43][81])
  333. {
  334.     int tecla;
  335.     int rx = 42;
  336.     int ry = 41;
  337.     while (1)
  338.     {
  339.         if (kbhit())
  340.         {
  341.             tecla = getch();
  342.             if (tecla == 224)
  343.             {
  344.                 switch (m1[ry][rx])
  345.                 {
  346.                 case 2:
  347.                     Console::SetCursorPosition(rx, ry);
  348.                     Console::BackgroundColor = ConsoleColor::Black;
  349.                     cout << "   ";
  350.                     Console::SetCursorPosition(rx, ry + 1);
  351.                     Console::BackgroundColor = ConsoleColor::Black;
  352.                     cout << "   ";
  353.  
  354.                     break;
  355.                 case 3:
  356.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  357.                     Console::ForegroundColor = ConsoleColor::Gray;
  358.                     Console::SetCursorPosition(rx, ry);
  359.                     cout << char(177) << char(177) << char(177);
  360.                     Console::SetCursorPosition(rx, ry + 1);
  361.                     cout << char(177) << char(177) << char(177); break;
  362.                 case 4:
  363.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  364.                     Console::SetCursorPosition(rx, ry);
  365.                     cout << "   ";
  366.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  367.                     Console::SetCursorPosition(rx, ry + 1);
  368.                     cout << "   ";
  369.                 }
  370.                 tecla = _getch();
  371.                 switch (tecla)
  372.                 {
  373.                 case 77:if ((m1[ry][rx + 3] == 6 || m1[ry][rx + 3] == 2 || m1[ry][rx + 3] == 4 || m1[ry][rx + 3] == 3) && rx<78)rx += 3; break;
  374.                 case 75:if ((m1[ry][rx - 3] == 6 || m1[ry][rx - 3] == 2 || m1[ry][rx - 3] == 4 || m1[ry][rx - 3] == 3) && rx>0)rx -= 3; break;
  375.                 case 72:if ((m1[ry - 2][rx] == 6 || m1[ry - 2][rx] == 2 || m1[ry - 2][rx] == 4 || m1[ry - 2][rx] == 3) && ry>0)ry -= 2; break;
  376.                 case 80:if ((m1[ry + 2][rx] == 6 || m1[ry + 2][rx] == 2 || m1[ry + 2][rx] == 4 || m1[ry + 2][rx] == 3) && ry<41)ry += 2; break;
  377.                 }
  378.                 switch (m1[ry][rx])
  379.                 {
  380.                 case 2:
  381.                     Console::SetCursorPosition(rx, ry);
  382.                     Console::BackgroundColor = ConsoleColor::Black;
  383.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  384.                     cout << (char)192 << (char)219 << (char)217;
  385.                     Console::SetCursorPosition(rx, ry + 1);
  386.                     Console::BackgroundColor = ConsoleColor::Black;
  387.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  388.                     cout << (char)218 << (char)223 << (char)191;
  389.                     break;
  390.                 case 3:
  391.                     Console::SetCursorPosition(rx, ry);
  392.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  393.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  394.                     cout << (char)192 << (char)219 << (char)217;
  395.                     Console::SetCursorPosition(rx, ry + 1);
  396.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  397.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  398.                     cout << (char)218 << (char)223 << (char)191;
  399.                     break;
  400.                 case 4:
  401.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  402.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  403.                     Console::SetCursorPosition(rx, ry);
  404.                     cout << (char)192 << (char)219 << (char)217;
  405.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  406.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  407.                     Console::SetCursorPosition(rx, ry + 1);
  408.                     cout << (char)218 << (char)223 << (char)191;
  409.                     break;
  410.                 }
  411.             }
  412.  
  413.         }
  414.     }
  415.  
  416. }
  417. void Movimiento4(int m1[43][81])
  418. {
  419.     int tecla;
  420.     int rx = 42;
  421.     int ry = 41;
  422.     while (1)
  423.     {
  424.         if (kbhit())
  425.         {
  426.             tecla = getch();
  427.             if (tecla == 224)
  428.             {
  429.                 switch (m1[ry][rx])
  430.                 {
  431.                 case 2:
  432.                     Console::SetCursorPosition(rx, ry);
  433.                     Console::BackgroundColor = ConsoleColor::Black;
  434.                     cout << "   ";
  435.                     Console::SetCursorPosition(rx, ry + 1);
  436.                     Console::BackgroundColor = ConsoleColor::Black;
  437.                     cout << "   ";
  438.  
  439.                     break;
  440.                 case 3:
  441.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  442.                     Console::ForegroundColor = ConsoleColor::Gray;
  443.                     Console::SetCursorPosition(rx, ry);
  444.                     cout << char(177) << char(177) << char(177);
  445.                     Console::SetCursorPosition(rx, ry + 1);
  446.                     cout << char(177) << char(177) << char(177); break;
  447.                 case 4:
  448.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  449.                     Console::SetCursorPosition(rx, ry);
  450.                     cout << "   ";
  451.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  452.                     Console::SetCursorPosition(rx, ry + 1);
  453.                     cout << "   ";
  454.                 }
  455.                 tecla = _getch();
  456.                 switch (tecla)
  457.                 {
  458.                 case 77:if ((m1[ry][rx + 3] == 6 || m1[ry][rx + 3] == 2 || m1[ry][rx + 3] == 4 || m1[ry][rx + 3] == 3) && rx<75)rx += 3; break;
  459.                 case 75:if ((m1[ry][rx - 3] == 6 || m1[ry][rx - 3] == 2 || m1[ry][rx - 3] == 4 || m1[ry][rx - 3] == 3) && rx>0)rx -= 3; break;
  460.                 case 72:if ((m1[ry - 2][rx] == 6 || m1[ry - 2][rx] == 2 || m1[ry - 2][rx] == 4 || m1[ry - 2][rx] == 3) && ry>0)ry -= 2; break;
  461.                 case 80:if ((m1[ry + 2][rx] == 6 || m1[ry + 2][rx] == 2 || m1[ry + 2][rx] == 4 || m1[ry + 2][rx] == 3) && ry<41)ry += 2; break;
  462.                 }
  463.                 switch (m1[ry][rx])
  464.                 {
  465.                 case 2:
  466.                     Console::SetCursorPosition(rx, ry);
  467.                     Console::BackgroundColor = ConsoleColor::Black;
  468.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  469.                     cout << (char)192 << (char)219 << (char)217;
  470.                     Console::SetCursorPosition(rx, ry + 1);
  471.                     Console::BackgroundColor = ConsoleColor::Black;
  472.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  473.                     cout << (char)218 << (char)223 << (char)191;
  474.                     break;
  475.                 case 3:
  476.                     Console::SetCursorPosition(rx, ry);
  477.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  478.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  479.                     cout << (char)192 << (char)219 << (char)217;
  480.                     Console::SetCursorPosition(rx, ry + 1);
  481.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  482.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  483.                     cout << (char)218 << (char)223 << (char)191;
  484.                     break;
  485.                 case 4:
  486.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  487.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  488.                     Console::SetCursorPosition(rx, ry);
  489.                     cout << (char)192 << (char)219 << (char)217;
  490.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  491.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  492.                     Console::SetCursorPosition(rx, ry + 1);
  493.                     cout << (char)218 << (char)223 << (char)191;
  494.                     break;
  495.                 }
  496.             }
  497.  
  498.         }
  499.     }
  500.  
  501. }
  502. void Movimiento5(int m1[43][81])
  503. {
  504.     int tecla;
  505.     int rx = 42;
  506.     int ry = 41;
  507.     while (1)
  508.     {
  509.         if (kbhit())
  510.         {
  511.             tecla = getch();
  512.             if (tecla == 224)
  513.             {
  514.                 switch (m1[ry][rx])
  515.                 {
  516.                 case 2:
  517.                     Console::SetCursorPosition(rx, ry);
  518.                     Console::BackgroundColor = ConsoleColor::Black;
  519.                     cout << "   ";
  520.                     Console::SetCursorPosition(rx, ry + 1);
  521.                     Console::BackgroundColor = ConsoleColor::Black;
  522.                     cout << "   ";
  523.  
  524.                     break;
  525.                 case 3:
  526.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  527.                     Console::ForegroundColor = ConsoleColor::Gray;
  528.                     Console::SetCursorPosition(rx, ry);
  529.                     cout << char(177) << char(177) << char(177);
  530.                     Console::SetCursorPosition(rx, ry + 1);
  531.                     cout << char(177) << char(177) << char(177); break;
  532.                 case 4:
  533.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  534.                     Console::SetCursorPosition(rx, ry);
  535.                     cout << "   ";
  536.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  537.                     Console::SetCursorPosition(rx, ry + 1);
  538.                     cout << "   ";
  539.                 }
  540.                 tecla = _getch();
  541.                 switch (tecla)
  542.                 {
  543.                 case 77:if ((m1[ry][rx + 3] == 6 || m1[ry][rx + 3] == 2 || m1[ry][rx + 3] == 4 || m1[ry][rx + 3] == 3) && rx<75)rx += 3; break;
  544.                 case 75:if ((m1[ry][rx - 3] == 6 || m1[ry][rx - 3] == 2 || m1[ry][rx - 3] == 4 || m1[ry][rx - 3] == 3) && rx>0)rx -= 3; break;
  545.                 case 72:if ((m1[ry - 2][rx] == 6 || m1[ry - 2][rx] == 2 || m1[ry - 2][rx] == 4 || m1[ry - 2][rx] == 3) && ry>0)ry -= 2; break;
  546.                 case 80:if ((m1[ry + 2][rx] == 6 || m1[ry + 2][rx] == 2 || m1[ry + 2][rx] == 4 || m1[ry + 2][rx] == 3) && ry<41)ry += 2; break;
  547.                 }
  548.                 switch (m1[ry][rx])
  549.                 {
  550.                 case 2:
  551.                     Console::SetCursorPosition(rx, ry);
  552.                     Console::BackgroundColor = ConsoleColor::Black;
  553.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  554.                     cout << (char)192 << (char)219 << (char)217;
  555.                     Console::SetCursorPosition(rx, ry + 1);
  556.                     Console::BackgroundColor = ConsoleColor::Black;
  557.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  558.                     cout << (char)218 << (char)223 << (char)191;
  559.                     break;
  560.                 case 3:
  561.                     Console::SetCursorPosition(rx, ry);
  562.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  563.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  564.                     cout << (char)192 << (char)219 << (char)217;
  565.                     Console::SetCursorPosition(rx, ry + 1);
  566.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  567.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  568.                     cout << (char)218 << (char)223 << (char)191;
  569.                     break;
  570.                 case 4:
  571.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  572.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  573.                     Console::SetCursorPosition(rx, ry);
  574.                     cout << (char)192 << (char)219 << (char)217;
  575.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  576.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  577.                     Console::SetCursorPosition(rx, ry + 1);
  578.                     cout << (char)218 << (char)223 << (char)191;
  579.                     break;
  580.                 }
  581.             }
  582.  
  583.         }
  584.     }
  585.  
  586. }
  587. void Movimiento6(int m1[43][81])
  588. {
  589.     int tecla;
  590.     int rx = 42;
  591.     int ry = 41;
  592.     while (1)
  593.     {
  594.         if (kbhit())
  595.         {
  596.             tecla = getch();
  597.             if (tecla == 224)
  598.             {
  599.                 switch (m1[ry][rx])
  600.                 {
  601.                 case 2:
  602.                     Console::SetCursorPosition(rx, ry);
  603.                     Console::BackgroundColor = ConsoleColor::Black;
  604.                     cout << "   ";
  605.                     Console::SetCursorPosition(rx, ry + 1);
  606.                     Console::BackgroundColor = ConsoleColor::Black;
  607.                     cout << "   ";
  608.  
  609.                     break;
  610.                 case 3:
  611.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  612.                     Console::ForegroundColor = ConsoleColor::Gray;
  613.                     Console::SetCursorPosition(rx, ry);
  614.                     cout << char(177) << char(177) << char(177);
  615.                     Console::SetCursorPosition(rx, ry + 1);
  616.                     cout << char(177) << char(177) << char(177); break;
  617.                 case 4:
  618.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  619.                     Console::SetCursorPosition(rx, ry);
  620.                     cout << "   ";
  621.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  622.                     Console::SetCursorPosition(rx, ry + 1);
  623.                     cout << "   ";
  624.                 }
  625.                 tecla = _getch();
  626.                 switch (tecla)
  627.                 {
  628.                 case 77:if ((m1[ry][rx + 3] == 6 || m1[ry][rx + 3] == 2 || m1[ry][rx + 3] == 4 || m1[ry][rx + 3] == 3) && rx<75)rx += 3; break;
  629.                 case 75:if ((m1[ry][rx - 3] == 6 || m1[ry][rx - 3] == 2 || m1[ry][rx - 3] == 4 || m1[ry][rx - 3] == 3) && rx>0)rx -= 3; break;
  630.                 case 72:if ((m1[ry - 2][rx] == 6 || m1[ry - 2][rx] == 2 || m1[ry - 2][rx] == 4 || m1[ry - 2][rx] == 3) && ry>0)ry -= 2; break;
  631.                 case 80:if ((m1[ry + 2][rx] == 6 || m1[ry + 2][rx] == 2 || m1[ry + 2][rx] == 4 || m1[ry + 2][rx] == 3) && ry<41)ry += 2; break;
  632.                 }
  633.                 switch (m1[ry][rx])
  634.                 {
  635.                 case 2:
  636.                     Console::SetCursorPosition(rx, ry);
  637.                     Console::BackgroundColor = ConsoleColor::Black;
  638.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  639.                     cout << (char)192 << (char)219 << (char)217;
  640.                     Console::SetCursorPosition(rx, ry + 1);
  641.                     Console::BackgroundColor = ConsoleColor::Black;
  642.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  643.                     cout << (char)218 << (char)223 << (char)191;
  644.                     break;
  645.                 case 3:
  646.                     Console::SetCursorPosition(rx, ry);
  647.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  648.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  649.                     cout << (char)192 << (char)219 << (char)217;
  650.                     Console::SetCursorPosition(rx, ry + 1);
  651.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  652.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  653.                     cout << (char)218 << (char)223 << (char)191;
  654.                     break;
  655.                 case 4:
  656.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  657.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  658.                     Console::SetCursorPosition(rx, ry);
  659.                     cout << (char)192 << (char)219 << (char)217;
  660.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  661.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  662.                     Console::SetCursorPosition(rx, ry + 1);
  663.                     cout << (char)218 << (char)223 << (char)191;
  664.                     break;
  665.                 }
  666.             }
  667.  
  668.         }
  669.     }
  670.  
  671. }
  672. int main()
  673. {
  674.     int tecla;
  675.     Console::WindowHeight = 43;
  676.     Console::WindowWidth = 81;
  677.     int Map1[43][81] =
  678.     {
  679.         //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
  680.         { 1,1,1,1,1,1,1  ,1,1,1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,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,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,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 },       // 14
  698.                                                                                                                                                                                                                //0       3      6      9     12     15     18     21     24     27     30     33     36     39     42     45     48     51     54     57     60     63     66     69     72     75                                 
  699.         { 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,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,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 },       // 15
  700.         { 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,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,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 },       // 16
  701.         { 4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,1,1,1 ,1,1,1 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,1,1,1 ,1,1,1 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,1,1,1 ,1,1,1 ,4,4,4 ,4,4,4 ,4,4,4 },       // 17
  702.         { 4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,1,1,1 ,1,1,1 ,4,4,4 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 ,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,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 },       // 11
  715.         { 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,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,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 },       // 12
  716.         { 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,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,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 },       // 13
  717.         { 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,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,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 },       // 14
  718.                                                                                                                                                                                                                //0       3      6      9     12     15     18     21     24     27     30     33     36     39     42     45     48     51     54     57     60     63     66     69     72     75                   
  719.         { 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,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 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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,2 ,2,2,2 ,2,2,2 },       // 24
  731.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },       // 25
  732.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },       // 26
  733.     };
  734.     int Map2[43][81] =
  735.     {
  736.         //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
  737.         { 1,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,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         
  738.         { 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         
  739.         { 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         
  740.  
  741.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 3
  742.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 4  
  743.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 5  
  744.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 6
  745.  
  746.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 7  
  747.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 8
  748.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 9  
  749.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 10
  750.  
  751.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 11
  752.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 12
  753.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 13
  754.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 14
  755.  
  756.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 15
  757.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 16
  758.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 17
  759.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 18
  760.  
  761.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 19
  762.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 20
  763.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 21    
  764.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 22    
  765.                                                                                                                                                                                                                                                                                       //0           3         6         9         12        15        18       21         24        27        30       33         36        39        42       45         48        51        54       57      60           63        66       69         72        75
  766.         { 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    ,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    ,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 },   // 23    
  767.         { 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    ,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    ,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    
  768.         { 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,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,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 },   // 25  
  769.         { 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,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,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 },   // 26    
  770.  
  771.         { 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,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,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 },   // 27    
  772.         { 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,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,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 },   // 28
  773.         { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,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
  774.         { 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,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,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 },   // 30
  775.  
  776.         { 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,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,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 },   // 31
  777.         { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,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
  778.         { 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,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,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 },   // 33
  779.         { 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,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,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 },   // 34
  780.                                                                                                                                                                                                                                                                                       //0           3         6         9         12        15        18       21         24        27        30       33         36        39        42       45         48        51        54       57      60           63        66       69         72        75
  781.         { 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,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,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 },   // 35
  782.         { 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,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,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 },   // 36
  783.         { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,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
  784.         { 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,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,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 },   // 38  
  785.  
  786.         { 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,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,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 },   // 39      
  787.         { 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,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,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 },   // 40    
  788.         { 3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,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      
  789.         { 3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,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          
  790.     };
  791.     int Map3[43][81] =
  792.     {
  793.         //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
  794.         { 1,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,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  
  795.         { 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  
  796.         { 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  
  797.  
  798.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 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,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },     // 21
  821.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },     // 22
  822.                                                                                                                                                                                                              //0         3      6      9     12     15     18     21     24     27     30     33     36     39     42     45     48     51     54     57     60     63     66     69     72     75           
  823.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,4,4,4 ,4,4,4 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,4,4,4 ,4,4,4 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },     // 23
  824.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,4,4,4 ,4,4,4 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,4,4,4 ,4,4,4 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },     // 24
  825.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5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,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },      // 39
  844.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },      // 40
  845.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,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
  846.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,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
  847.  
  848.     };
  849.     int Map4[43][81] =
  850.     {
  851.         //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
  852.         { 1,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,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5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 },      // 19
  877.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 },      // 20
  878.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },      // 21
  879.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },      // 22
  880.                                                                                                                                                                                                               //0        3      6      9     12     15     18     21     24     27     30     33     36     39     42     45     48     51     54     57     60     63     66     69     72     75
  881.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5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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,3,3 ,3,3,3 },      // 41
  904.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,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
  905.     };
  906.     int Map5[43][81] =
  907.     {
  908.         //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
  909.         { 1,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,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  
  910.         { 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  
  911.         { 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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,9,9 },     // 11
  924.         { 9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,1,1,1 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,1,1,1 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,1,1,1 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 },     // 12
  925.         { 9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 },     // 13
  926.         { 9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 },     // 14
  927.                                                                                                                                                                                                              //0         3      6      9     12     15     18     21     24     27     30     33     36     39     42     45     48     51     54     57     60     63     66     69     72     75           
  928.         { 9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 },     // 15
  929.         { 9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9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9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 },     // 29
  946.         { 9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 },     // 30
  947.                                                                                                                                                                                                              //0         3      6      9     12     15     18     21     24     27     30     33     36     39     42     45     48     51     54     57     60     63     66     69     72     75           
  948.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },     // 33
  949.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },     // 34
  950.         { 9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,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,3,3,3 },    // 42
  962.     };
  963.     int Map6[43][81] =
  964.     {
  965.         //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
  966.         { 1,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,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
  967.         { 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
  968.         { 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
  969.                                                                                                                                                                                                                                                                                  //0            3         6         9        12        15        18        21        24        27        30        33        36        39        42        45        48        51        54        57        60        63        66        69        72        75            
  970.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 3
  971.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 4
  972.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 5
  973.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 6
  974.  
  975.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 7
  976.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 8
  977.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 9
  978.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 10
  979.  
  980.         { 1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1     ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,3,3,3    ,3,3,3    ,3,3,3 },   // 11
  981.         { 1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1     ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,3,3,3    ,3,3,3    ,3,3,3 },   // 12
  982.         { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,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 },   // 13
  983.         { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,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
  984.  
  985.         { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,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
  986.         { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,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
  987.         { 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 },   // 17
  988.         { 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 },   // 18
  989.  
  990.         { 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
  991.         { 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
  992.         { 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
  993.         { 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
  994.                                                                                                                                                                                                                                                                                              //0            3         6         9         12        15       18        21        24        27        30        33        36        39        42        45        48        51        54        57        60        63        66         69        72        75                                                                                                                                                                                                                                                       
  995.         { 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 },   // 23
  996.         { 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 },   // 24
  997.         { 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 },   // 25
  998.         { 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 },   // 26
  999.  
  1000.         { 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
  1001.         { 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
  1002.         { 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 },   // 29
  1003.         { 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 },   // 30
  1004.  
  1005.         { 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
  1006.         { 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
  1007.         { 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 },   // 31
  1008.         { 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 },   // 32
  1009.                                                                                                                                                                                                                                                                                              //0            3         6         9         12        15       18        21        24        27        30        33        36        39        42        45        48        51        54        57        60        63        66         69        72        75
  1010.         { 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 },   // 35
  1011.         { 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 },   // 36
  1012.         { 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
  1013.         { 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
  1014.  
  1015.         { 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
  1016.         { 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
  1017.         { 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
  1018.         { 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
  1019.     };
  1020.     DibujaMapa(Map1);
  1021.     Movimiento1(Map1);
  1022.     _getch();
  1023.     /*Console::Clear();
  1024.     DibujaMapa(Map2);
  1025.     _getch();
  1026.     Console::Clear();
  1027.     DibujaMapa(Map3);
  1028.     _getch();
  1029.     Console::Clear();
  1030.     DibujaMapa(Map4);
  1031.     _getch();
  1032.     Console::Clear();
  1033.     DibujaMapa(Map5);
  1034.     _getch();
  1035.     Console::Clear();
  1036.     DibujaMapa(Map6);
  1037.     _getch();
  1038.     Console::Clear();*/
  1039.     return 0;
  1040. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement