Advertisement
Guest User

Untitled

a guest
Oct 7th, 2019
198
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. enum Move: String {
  2.    
  3.     //a pawn
  4.     case a1N = "a1N"
  5.     case a1B = "a1B"
  6.     case a1R = "a1R"
  7.     case a1Q = "a1Q"
  8.     case a2 = "a2"
  9.     case a3 = "a3"
  10.     case a4 = "a4"
  11.     case a5 = "a5"
  12.     case a6 = "a6"
  13.     case a7 = "a7"
  14.     case a8N = "a8N"
  15.     case a8B = "a8B"
  16.     case a8R = "a8R"
  17.     case a8Q = "a8Q"
  18.     case axb1N = "axb1N"
  19.     case axb1B = "axb1B"
  20.     case axb1R = "axb1R"
  21.     case axb1Q = "axb1Q"
  22.     case axb2 = "axb2"
  23.     case axb3 = "axb3"
  24.     case axb4 = "axb4"
  25.     case axb5 = "axb5"
  26.     case axb6 = "axb6"
  27.     case axb7 = "axb7"
  28.     case axb8N = "axb8N"
  29.     case axb8B = "axb8B"
  30.     case axb8R = "axb8R"
  31.     case axb8Q = "axb8Q"
  32.     case a1NCheck = "a1N+"
  33.     case a1BCheck = "a1B+"
  34.     case a1RCheck = "a1R+"
  35.     case a1QCheck = "a1Q+"
  36.     case a2Check = "a2+"
  37.     case a3Check = "a3+"
  38.     case a4Check = "a4+"
  39.     case a5Check = "a5+"
  40.     case a6Check = "a6+"
  41.     case a7Check = "a7+"
  42.     case a8NCheck = "a8N+"
  43.     case a8BCheck = "a8B+"
  44.     case a8RCheck = "a8R+"
  45.     case a8QCheck = "a8Q+"
  46.     case axb1NCheck = "axb1N+"
  47.     case axb1BCheck = "axb1B+"
  48.     case axb1RCheck = "axb1R+"
  49.     case axb1QCheck = "axb1Q+"
  50.     case axb2Check = "axb2+"
  51.     case axb3Check = "axb3+"
  52.     case axb4Check = "axb4+"
  53.     case axb5Check = "axb5+"
  54.     case axb6Check = "axb6+"
  55.     case axb7Check = "axb7+"
  56.     case axb8NCheck = "axb8N+"
  57.     case axb8BCheck = "axb8B+"
  58.     case axb8RCheck = "axb8R+"
  59.     case axb8QCheck = "axb8Q+"
  60.     case a1NCheckmate = "a1N#"
  61.     case a1BCheckmate = "a1B#"
  62.     case a1RCheckmate = "a1R#"
  63.     case a1QCheckmate = "a1Q#"
  64.     case a2Checkmate = "a2#"
  65.     case a3Checkmate = "a3#"
  66.     case a4Checkmate = "a4#"
  67.     case a5Checkmate = "a5#"
  68.     case a6Checkmate = "a6#"
  69.     case a7Checkmate = "a7#"
  70.     case a8NCheckmate = "a8N#"
  71.     case a8BCheckmate = "a8B#"
  72.     case a8RCheckmate = "a8R#"
  73.     case a8QCheckmate = "a8Q#"
  74.     case axb1NCheckmate = "axb1N#"
  75.     case axb1BCheckmate = "axb1B#"
  76.     case axb1RCheckmate = "axb1R#"
  77.     case axb1QCheckmate = "axb1Q#"
  78.     case axb2Checkmate = "axb2#"
  79.     case axb3Checkmate = "axb3#"
  80.     case axb4Checkmate = "axb4#"
  81.     case axb5Checkmate = "axb5#"
  82.     case axb6Checkmate = "axb6#"
  83.     case axb7Checkmate = "axb7#"
  84.     case axb8NCheckmate = "axb8N#"
  85.     case axb8BCheckmate = "axb8B#"
  86.     case axb8RCheckmate = "axb8R#"
  87.     case axb8QCheckmate = "axb8Q#"
  88.    
  89.     //b pawn
  90.     case b1N = "b1N"
  91.     case b1B = "b1B"
  92.     case b1R = "b1R"
  93.     case b1Q = "b1Q"
  94.     case b2 = "b2"
  95.     case b3 = "b3"
  96.     case b4 = "b4"
  97.     case b5 = "b5"
  98.     case b6 = "b6"
  99.     case b7 = "b7"
  100.     case b8N = "b8N"
  101.     case b8B = "b8B"
  102.     case b8R = "b8R"
  103.     case b8Q = "b8Q"
  104.     case bxa1N = "bxa1N"
  105.     case bxa1B = "bxa1B"
  106.     case bxa1R = "bxa1R"
  107.     case bxa1Q = "bxa1Q"
  108.     case bxa2 = "bxa2"
  109.     case bxa3 = "bxa3"
  110.     case bxa4 = "bxa4"
  111.     case bxa5 = "bxa5"
  112.     case bxa6 = "bxa6"
  113.     case bxa7 = "bxa7"
  114.     case bxa8N = "bxa8N"
  115.     case bxa8B = "bxa8B"
  116.     case bxa8R = "bxa8R"
  117.     case bxa8Q = "bxa8Q"
  118.     case bxc1N = "bxc1N"
  119.     case bxc1B = "bxc1B"
  120.     case bxc1R = "bxc1R"
  121.     case bxc1Q = "bxc1Q"
  122.     case bxc2 = "bxc2"
  123.     case bxc3 = "bxc3"
  124.     case bxc4 = "bxc4"
  125.     case bxc5 = "bxc5"
  126.     case bxc6 = "bxc6"
  127.     case bxc7 = "bxc7"
  128.     case bxc8N = "bxc8N"
  129.     case bxc8B = "bxc8B"
  130.     case bxc8R = "bxc8R"
  131.     case bxc8Q = "bxc8Q"
  132.     case b1NCheck = "b1N+"
  133.     case b1BCheck = "b1B+"
  134.     case b1RCheck = "b1R+"
  135.     case b1QCheck = "b1Q+"
  136.     case b2Check = "b2+"
  137.     case b3Check = "b3+"
  138.     case b4Check = "b4+"
  139.     case b5Check = "b5+"
  140.     case b6Check = "b6+"
  141.     case b7Check = "b7+"
  142.     case b8NCheck = "b8N+"
  143.     case b8BCheck = "b8B+"
  144.     case b8RCheck = "b8R+"
  145.     case b8QCheck = "b8Q+"
  146.     case bxa1NCheck = "bxa1N+"
  147.     case bxa1BCheck = "bxa1B+"
  148.     case bxa1RCheck = "bxa1R+"
  149.     case bxa1QCheck = "bxa1Q+"
  150.     case bxa2Check = "bxa2+"
  151.     case bxa3Check = "bxa3+"
  152.     case bxa4Check = "bxa4+"
  153.     case bxa5Check = "bxa5+"
  154.     case bxa6Check = "bxa6+"
  155.     case bxa7Check = "bxa7+"
  156.     case bxa8NCheck = "bxa8N+"
  157.     case bxa8BCheck = "bxa8B+"
  158.     case bxa8RCheck = "bxa8R+"
  159.     case bxa8QCheck = "bxa8Q+"
  160.     case bxc1NCheck = "bxc1N+"
  161.     case bxc1BCheck = "bxc1B+"
  162.     case bxc1RCheck = "bxc1R+"
  163.     case bxc1QCheck = "bxc1Q+"
  164.     case bxc2Check = "bxc2+"
  165.     case bxc3Check = "bxc3+"
  166.     case bxc4Check = "bxc4+"
  167.     case bxc5Check = "bxc5+"
  168.     case bxc6Check = "bxc6+"
  169.     case bxc7Check = "bxc7+"
  170.     case bxc8NCheck = "bxc8N+"
  171.     case bxc8BCheck = "bxc8B+"
  172.     case bxc8RCheck = "bxc8R+"
  173.     case bxc8QCheck = "bxc8Q+"
  174.     case b1NCheckmate = "b1N#"
  175.     case b1BCheckmate = "b1B#"
  176.     case b1RCheckmate = "b1R#"
  177.     case b1QCheckmate = "b1Q#"
  178.     case b2Checkmate = "b2#"
  179.     case b3Checkmate = "b3#"
  180.     case b4Checkmate = "b4#"
  181.     case b5Checkmate = "b5#"
  182.     case b6Checkmate = "b6#"
  183.     case b7Checkmate = "b7#"
  184.     case b8NCheckmate = "b8N#"
  185.     case b8BCheckmate = "b8B#"
  186.     case b8RCheckmate = "b8R#"
  187.     case b8QCheckmate = "b8Q#"
  188.     case bxa1NCheckmate = "bxa1N#"
  189.     case bxa1BCheckmate = "bxa1B#"
  190.     case bxa1RCheckmate = "bxa1R#"
  191.     case bxa1QCheckmate = "bxa1Q#"
  192.     case bxa2Checkmate = "bxa2#"
  193.     case bxa3Checkmate = "bxa3#"
  194.     case bxa4Checkmate = "bxa4#"
  195.     case bxa5Checkmate = "bxa5#"
  196.     case bxa6Checkmate = "bxa6#"
  197.     case bxa7Checkmate = "bxa7#"
  198.     case bxa8NCheckmate = "bxa8N#"
  199.     case bxa8BCheckmate = "bxa8B#"
  200.     case bxa8RCheckmate = "bxa8R#"
  201.     case bxa8QCheckmate = "bxa8Q#"
  202.     case bxc1NCheckmate = "bxc1N#"
  203.     case bxc1BCheckmate = "bxc1B#"
  204.     case bxc1RCheckmate = "bxc1R#"
  205.     case bxc1QCheckmate = "bxc1Q#"
  206.     case bxc2Checkmate = "bxc2#"
  207.     case bxc3Checkmate = "bxc3#"
  208.     case bxc4Checkmate = "bxc4#"
  209.     case bxc5Checkmate = "bxc5#"
  210.     case bxc6Checkmate = "bxc6#"
  211.     case bxc7Checkmate = "bxc7#"
  212.     case bxc8NCheckmate = "bxc8N#"
  213.     case bxc8BCheckmate = "bxc8B#"
  214.     case bxc8RCheckmate = "bxc8R#"
  215.     case bxc8QCheckmate = "bxc8Q#"
  216.    
  217.     //c pawn
  218.     case c1N = "c1N"
  219.     case c1B = "c1B"
  220.     case c1R = "c1R"
  221.     case c1Q = "c1Q"
  222.     case c2 = "c2"
  223.     case c3 = "c3"
  224.     case c4 = "c4"
  225.     case c5 = "c5"
  226.     case c6 = "c6"
  227.     case c7 = "c7"
  228.     case c8N = "c8N"
  229.     case c8B = "c8B"
  230.     case c8R = "c8R"
  231.     case c8Q = "c8Q"
  232.     case cxb1N = "cxb1N"
  233.     case cxb1B = "cxb1B"
  234.     case cxb1R = "cxb1R"
  235.     case cxb1Q = "cxb1Q"
  236.     case cxb2 = "cxb2"
  237.     case cxb3 = "cxb3"
  238.     case cxb4 = "cxb4"
  239.     case cxb5 = "cxb5"
  240.     case cxb6 = "cxb6"
  241.     case cxb7 = "cxb7"
  242.     case cxb8N = "cxb8N"
  243.     case cxb8B = "cxb8B"
  244.     case cxb8R = "cxb8R"
  245.     case cxb8Q = "cxb8Q"
  246.     case cxd1N = "cxd1N"
  247.     case cxd1B = "cxd1B"
  248.     case cxd1R = "cxd1R"
  249.     case cxd1Q = "cxd1Q"
  250.     case cxd2 = "cxd2"
  251.     case cxd3 = "cxd3"
  252.     case cxd4 = "cxd4"
  253.     case cxd5 = "cxd5"
  254.     case cxd6 = "cxd6"
  255.     case cxd7 = "cxd7"
  256.     case cxd8N = "cxd8N"
  257.     case cxd8B = "cxd8B"
  258.     case cxd8R = "cxd8R"
  259.     case cxd8Q = "cxd8Q"
  260.     case c1NCheck = "c1N+"
  261.     case c1BCheck = "c1B+"
  262.     case c1RCheck = "c1R+"
  263.     case c1QCheck = "c1Q+"
  264.     case c2Check = "c2+"
  265.     case c3Check = "c3+"
  266.     case c4Check = "c4+"
  267.     case c5Check = "c5+"
  268.     case c6Check = "c6+"
  269.     case c7Check = "c7+"
  270.     case c8NCheck = "c8N+"
  271.     case c8BCheck = "c8B+"
  272.     case c8RCheck = "c8R+"
  273.     case c8QCheck = "c8Q+"
  274.     case cxb1NCheck = "cxb1N+"
  275.     case cxb1BCheck = "cxb1B+"
  276.     case cxb1RCheck = "cxb1R+"
  277.     case cxb1QCheck = "cxb1Q+"
  278.     case cxb2Check = "cxb2+"
  279.     case cxb3Check = "cxb3+"
  280.     case cxb4Check = "cxb4+"
  281.     case cxb5Check = "cxb5+"
  282.     case cxb6Check = "cxb6+"
  283.     case cxb7Check = "cxb7+"
  284.     case cxb8NCheck = "cxb8N+"
  285.     case cxb8BCheck = "cxb8B+"
  286.     case cxb8RCheck = "cxb8R+"
  287.     case cxb8QCheck = "cxb8Q+"
  288.     case cxd1NCheck = "cxd1N+"
  289.     case cxd1BCheck = "cxd1B+"
  290.     case cxd1RCheck = "cxd1R+"
  291.     case cxd1QCheck = "cxd1Q+"
  292.     case cxd2Check = "cxd2+"
  293.     case cxd3Check = "cxd3+"
  294.     case cxd4Check = "cxd4+"
  295.     case cxd5Check = "cxd5+"
  296.     case cxd6Check = "cxd6+"
  297.     case cxd7Check = "cxd7+"
  298.     case cxd8NCheck = "cxd8N+"
  299.     case cxd8BCheck = "cxd8B+"
  300.     case cxd8RCheck = "cxd8R+"
  301.     case cxd8QCheck = "cxd8Q+"
  302.     case c1NCheckmate = "c1N#"
  303.     case c1BCheckmate = "c1B#"
  304.     case c1RCheckmate = "c1R#"
  305.     case c1QCheckmate = "c1Q#"
  306.     case c2Checkmate = "c2#"
  307.     case c3Checkmate = "c3#"
  308.     case c4Checkmate = "c4#"
  309.     case c5Checkmate = "c5#"
  310.     case c6Checkmate = "c6#"
  311.     case c7Checkmate = "c7#"
  312.     case c8NCheckmate = "c8N#"
  313.     case c8BCheckmate = "c8B#"
  314.     case c8RCheckmate = "c8R#"
  315.     case c8QCheckmate = "c8Q#"
  316.     case cxb1NCheckmate = "cxb1N#"
  317.     case cxb1BCheckmate = "cxb1B#"
  318.     case cxb1RCheckmate = "cxb1R#"
  319.     case cxb1QCheckmate = "cxb1Q#"
  320.     case cxb2Checkmate = "cxb2#"
  321.     case cxb3Checkmate = "cxb3#"
  322.     case cxb4Checkmate = "cxb4#"
  323.     case cxb5Checkmate = "cxb5#"
  324.     case cxb6Checkmate = "cxb6#"
  325.     case cxb7Checkmate = "cxb7#"
  326.     case cxb8NCheckmate = "cxb8N#"
  327.     case cxb8BCheckmate = "cxb8B#"
  328.     case cxb8RCheckmate = "cxb8R#"
  329.     case cxb8QCheckmate = "cxb8Q#"
  330.     case cxd1NCheckmate = "cxd1N#"
  331.     case cxd1BCheckmate = "cxd1B#"
  332.     case cxd1RCheckmate = "cxd1R#"
  333.     case cxd1QCheckmate = "cxd1Q#"
  334.     case cxd2Checkmate = "cxd2#"
  335.     case cxd3Checkmate = "cxd3#"
  336.     case cxd4Checkmate = "cxd4#"
  337.     case cxd5Checkmate = "cxd5#"
  338.     case cxd6Checkmate = "cxd6#"
  339.     case cxd7Checkmate = "cxd7#"
  340.     case cxd8NCheckmate = "cxd8N#"
  341.     case cxd8BCheckmate = "cxd8B#"
  342.     case cxd8RCheckmate = "cxd8R#"
  343.     case cxd8QCheckmate = "cxd8Q#"
  344.    
  345.     //d pawn
  346.     case d1N = "d1N"
  347.     case d1B = "d1B"
  348.     case d1R = "d1R"
  349.     case d1Q = "d1Q"
  350.     case d2 = "d2"
  351.     case d3 = "d3"
  352.     case d4 = "d4"
  353.     case d5 = "d5"
  354.     case d6 = "d6"
  355.     case d7 = "d7"
  356.     case d8N = "d8N"
  357.     case d8B = "d8B"
  358.     case d8R = "d8R"
  359.     case d8Q = "d8Q"
  360.     case dxc1N = "dxc1N"
  361.     case dxc1B = "dxc1B"
  362.     case dxc1R = "dxc1R"
  363.     case dxc1Q = "dxc1Q"
  364.     case dxc2 = "dxc2"
  365.     case dxc3 = "dxc3"
  366.     case dxc4 = "dxc4"
  367.     case dxc5 = "dxc5"
  368.     case dxc6 = "dxc6"
  369.     case dxc7 = "dxc7"
  370.     case dxc8N = "dxc8N"
  371.     case dxc8B = "dxc8B"
  372.     case dxc8R = "dxc8R"
  373.     case dxc8Q = "dxc8Q"
  374.     case dxe1N = "dxe1N"
  375.     case dxe1B = "dxe1B"
  376.     case dxe1R = "dxe1R"
  377.     case dxe1Q = "dxe1Q"
  378.     case dxe2 = "dxe2"
  379.     case dxe3 = "dxe3"
  380.     case dxe4 = "dxe4"
  381.     case dxe5 = "dxe5"
  382.     case dxe6 = "dxe6"
  383.     case dxe7 = "dxe7"
  384.     case dxe8N = "dxe8N"
  385.     case dxe8B = "dxe8B"
  386.     case dxe8R = "dxe8R"
  387.     case dxe8Q = "dxe8Q"
  388.     case d1NCheck = "d1N+"
  389.     case d1BCheck = "d1B+"
  390.     case d1RCheck = "d1R+"
  391.     case d1QCheck = "d1Q+"
  392.     case d2Check = "d2+"
  393.     case d3Check = "d3+"
  394.     case d4Check = "d4+"
  395.     case d5Check = "d5+"
  396.     case d6Check = "d6+"
  397.     case d7Check = "d7+"
  398.     case d8NCheck = "d8N+"
  399.     case d8BCheck = "d8B+"
  400.     case d8RCheck = "d8R+"
  401.     case d8QCheck = "d8Q+"
  402.     case dxc1NCheck = "dxc1N+"
  403.     case dxc1BCheck = "dxc1B+"
  404.     case dxc1RCheck = "dxc1R+"
  405.     case dxc1QCheck = "dxc1Q+"
  406.     case dxc2Check = "dxc2+"
  407.     case dxc3Check = "dxc3+"
  408.     case dxc4Check = "dxc4+"
  409.     case dxc5Check = "dxc5+"
  410.     case dxc6Check = "dxc6+"
  411.     case dxc7Check = "dxc7+"
  412.     case dxc8NCheck = "dxc8N+"
  413.     case dxc8BCheck = "dxc8B+"
  414.     case dxc8RCheck = "dxc8R+"
  415.     case dxc8QCheck = "dxc8Q+"
  416.     case dxe1NCheck = "dxe1N+"
  417.     case dxe1BCheck = "dxe1B+"
  418.     case dxe1RCheck = "dxe1R+"
  419.     case dxe1QCheck = "dxe1Q+"
  420.     case dxe2Check = "dxe2+"
  421.     case dxe3Check = "dxe3+"
  422.     case dxe4Check = "dxe4+"
  423.     case dxe5Check = "dxe5+"
  424.     case dxe6Check = "dxe6+"
  425.     case dxe7Check = "dxe7+"
  426.     case dxe8NCheck = "dxe8N+"
  427.     case dxe8BCheck = "dxe8B+"
  428.     case dxe8RCheck = "dxe8R+"
  429.     case dxe8QCheck = "dxe8Q+"
  430.     case d1NCheckmate = "d1N#"
  431.     case d1BCheckmate = "d1B#"
  432.     case d1RCheckmate = "d1R#"
  433.     case d1QCheckmate = "d1Q#"
  434.     case d2Checkmate = "d2#"
  435.     case d3Checkmate = "d3#"
  436.     case d4Checkmate = "d4#"
  437.     case d5Checkmate = "d5#"
  438.     case d6Checkmate = "d6#"
  439.     case d7Checkmate = "d7#"
  440.     case d8NCheckmate = "d8N#"
  441.     case d8BCheckmate = "d8B#"
  442.     case d8RCheckmate = "d8R#"
  443.     case d8QCheckmate = "d8Q#"
  444.     case dxc1NCheckmate = "dxc1N#"
  445.     case dxc1BCheckmate = "dxc1B#"
  446.     case dxc1RCheckmate = "dxc1R#"
  447.     case dxc1QCheckmate = "dxc1Q#"
  448.     case dxc2Checkmate = "dxc2#"
  449.     case dxc3Checkmate = "dxc3#"
  450.     case dxc4Checkmate = "dxc4#"
  451.     case dxc5Checkmate = "dxc5#"
  452.     case dxc6Checkmate = "dxc6#"
  453.     case dxc7Checkmate = "dxc7#"
  454.     case dxc8NCheckmate = "dxc8N#"
  455.     case dxc8BCheckmate = "dxc8B#"
  456.     case dxc8RCheckmate = "dxc8R#"
  457.     case dxc8QCheckmate = "dxc8Q#"
  458.     case dxe1NCheckmate = "dxe1N#"
  459.     case dxe1BCheckmate = "dxe1B#"
  460.     case dxe1RCheckmate = "dxe1R#"
  461.     case dxe1QCheckmate = "dxe1Q#"
  462.     case dxe2Checkmate = "dxe2#"
  463.     case dxe3Checkmate = "dxe3#"
  464.     case dxe4Checkmate = "dxe4#"
  465.     case dxe5Checkmate = "dxe5#"
  466.     case dxe6Checkmate = "dxe6#"
  467.     case dxe7Checkmate = "dxe7#"
  468.     case dxe8NCheckmate = "dxe8N#"
  469.     case dxe8BCheckmate = "dxe8B#"
  470.     case dxe8RCheckmate = "dxe8R#"
  471.     case dxe8QCheckmate = "dxe8Q#"
  472.    
  473.     //e pawn
  474.     case e1N = "e1N"
  475.     case e1B = "e1B"
  476.     case e1R = "e1R"
  477.     case e1Q = "e1Q"
  478.     case e2 = "e2"
  479.     case e3 = "e3"
  480.     case e4 = "e4"
  481.     case e5 = "e5"
  482.     case e6 = "e6"
  483.     case e7 = "e7"
  484.     case e8N = "e8N"
  485.     case e8B = "e8B"
  486.     case e8R = "e8R"
  487.     case e8Q = "e8Q"
  488.     case exd1N = "exd1N"
  489.     case exd1B = "exd1B"
  490.     case exd1R = "exd1R"
  491.     case exd1Q = "exd1Q"
  492.     case exd2 = "exd2"
  493.     case exd3 = "exd3"
  494.     case exd4 = "exd4"
  495.     case exd5 = "exd5"
  496.     case exd6 = "exd6"
  497.     case exd7 = "exd7"
  498.     case exd8N = "exd8N"
  499.     case exd8B = "exd8B"
  500.     case exd8R = "exd8R"
  501.     case exd8Q = "exd8Q"
  502.     case exf1N = "exf1N"
  503.     case exf1B = "exf1B"
  504.     case exf1R = "exf1R"
  505.     case exf1Q = "exf1Q"
  506.     case exf2 = "exf2"
  507.     case exf3 = "exf3"
  508.     case exf4 = "exf4"
  509.     case exf5 = "exf5"
  510.     case exf6 = "exf6"
  511.     case exf7 = "exf7"
  512.     case exf8N = "exf8N"
  513.     case exf8B = "exf8B"
  514.     case exf8R = "exf8R"
  515.     case exf8Q = "exf8Q"
  516.     case e1NCheck = "e1N+"
  517.     case e1BCheck = "e1B+"
  518.     case e1RCheck = "e1R+"
  519.     case e1QCheck = "e1Q+"
  520.     case e2Check = "e2+"
  521.     case e3Check = "e3+"
  522.     case e4Check = "e4+"
  523.     case e5Check = "e5+"
  524.     case e6Check = "e6+"
  525.     case e7Check = "e7+"
  526.     case e8NCheck = "e8N+"
  527.     case e8BCheck = "e8B+"
  528.     case e8RCheck = "e8R+"
  529.     case e8QCheck = "e8Q+"
  530.     case exd1NCheck = "exd1N+"
  531.     case exd1BCheck = "exd1B+"
  532.     case exd1RCheck = "exd1R+"
  533.     case exd1QCheck = "exd1Q+"
  534.     case exd2Check = "exd2+"
  535.     case exd3Check = "exd3+"
  536.     case exd4Check = "exd4+"
  537.     case exd5Check = "exd5+"
  538.     case exd6Check = "exd6+"
  539.     case exd7Check = "exd7+"
  540.     case exd8NCheck = "exd8N+"
  541.     case exd8BCheck = "exd8B+"
  542.     case exd8RCheck = "exd8R+"
  543.     case exd8QCheck = "exd8Q+"
  544.     case exf1NCheck = "exf1N+"
  545.     case exf1BCheck = "exf1B+"
  546.     case exf1RCheck = "exf1R+"
  547.     case exf1QCheck = "exf1Q+"
  548.     case exf2Check = "exf2+"
  549.     case exf3Check = "exf3+"
  550.     case exf4Check = "exf4+"
  551.     case exf5Check = "exf5+"
  552.     case exf6Check = "exf6+"
  553.     case exf7Check = "exf7+"
  554.     case exf8NCheck = "exf8N+"
  555.     case exf8BCheck = "exf8B+"
  556.     case exf8RCheck = "exf8R+"
  557.     case exf8QCheck = "exf8Q+"
  558.     case e1NCheckmate = "e1N#"
  559.     case e1BCheckmate = "e1B#"
  560.     case e1RCheckmate = "e1R#"
  561.     case e1QCheckmate = "e1Q#"
  562.     case e2Checkmate = "e2#"
  563.     case e3Checkmate = "e3#"
  564.     case e4Checkmate = "e4#"
  565.     case e5Checkmate = "e5#"
  566.     case e6Checkmate = "e6#"
  567.     case e7Checkmate = "e7#"
  568.     case e8NCheckmate = "e8N#"
  569.     case e8BCheckmate = "e8B#"
  570.     case e8RCheckmate = "e8R#"
  571.     case e8QCheckmate = "e8Q#"
  572.     case exd1NCheckmate = "exd1N#"
  573.     case exd1BCheckmate = "exd1B#"
  574.     case exd1RCheckmate = "exd1R#"
  575.     case exd1QCheckmate = "exd1Q#"
  576.     case exd2Checkmate = "exd2#"
  577.     case exd3Checkmate = "exd3#"
  578.     case exd4Checkmate = "exd4#"
  579.     case exd5Checkmate = "exd5#"
  580.     case exd6Checkmate = "exd6#"
  581.     case exd7Checkmate = "exd7#"
  582.     case exd8NCheckmate = "exd8N#"
  583.     case exd8BCheckmate = "exd8B#"
  584.     case exd8RCheckmate = "exd8R#"
  585.     case exd8QCheckmate = "exd8Q#"
  586.     case exf1NCheckmate = "exf1N#"
  587.     case exf1BCheckmate = "exf1B#"
  588.     case exf1RCheckmate = "exf1R#"
  589.     case exf1QCheckmate = "exf1Q#"
  590.     case exf2Checkmate = "exf2#"
  591.     case exf3Checkmate = "exf3#"
  592.     case exf4Checkmate = "exf4#"
  593.     case exf5Checkmate = "exf5#"
  594.     case exf6Checkmate = "exf6#"
  595.     case exf7Checkmate = "exf7#"
  596.     case exf8NCheckmate = "exf8N#"
  597.     case exf8BCheckmate = "exf8B#"
  598.     case exf8RCheckmate = "exf8R#"
  599.     case exf8QCheckmate = "exf8Q#"
  600.    
  601.     //f pawn
  602.     case f1N = "f1N"
  603.     case f1B = "f1B"
  604.     case f1R = "f1R"
  605.     case f1Q = "f1Q"
  606.     case f2 = "f2"
  607.     case f3 = "f3"
  608.     case f4 = "f4"
  609.     case f5 = "f5"
  610.     case f6 = "f6"
  611.     case f7 = "f7"
  612.     case f8N = "f8N"
  613.     case f8B = "f8B"
  614.     case f8R = "f8R"
  615.     case f8Q = "f8Q"
  616.     case fxe1N = "fxe1N"
  617.     case fxe1B = "fxe1B"
  618.     case fxe1R = "fxe1R"
  619.     case fxe1Q = "fxe1Q"
  620.     case fxe2 = "fxe2"
  621.     case fxe3 = "fxe3"
  622.     case fxe4 = "fxe4"
  623.     case fxe5 = "fxe5"
  624.     case fxe6 = "fxe6"
  625.     case fxe7 = "fxe7"
  626.     case fxe8N = "fxe8N"
  627.     case fxe8B = "fxe8B"
  628.     case fxe8R = "fxe8R"
  629.     case fxe8Q = "fxe8Q"
  630.     case fxg1N = "fxg1N"
  631.     case fxg1B = "fxg1B"
  632.     case fxg1R = "fxg1R"
  633.     case fxg1Q = "fxg1Q"
  634.     case fxg2 = "fxg2"
  635.     case fxg3 = "fxg3"
  636.     case fxg4 = "fxg4"
  637.     case fxg5 = "fxg5"
  638.     case fxg6 = "fxg6"
  639.     case fxg7 = "fxg7"
  640.     case fxg8N = "fxg8N"
  641.     case fxg8B = "fxg8B"
  642.     case fxg8R = "fxg8R"
  643.     case fxg8Q = "fxg8Q"
  644.     case f1NCheck = "f1N+"
  645.     case f1BCheck = "f1B+"
  646.     case f1RCheck = "f1R+"
  647.     case f1QCheck = "f1Q+"
  648.     case f2Check = "f2+"
  649.     case f3Check = "f3+"
  650.     case f4Check = "f4+"
  651.     case f5Check = "f5+"
  652.     case f6Check = "f6+"
  653.     case f7Check = "f7+"
  654.     case f8NCheck = "f8N+"
  655.     case f8BCheck = "f8B+"
  656.     case f8RCheck = "f8R+"
  657.     case f8QCheck = "f8Q+"
  658.     case fxe1NCheck = "fxe1N+"
  659.     case fxe1BCheck = "fxe1B+"
  660.     case fxe1RCheck = "fxe1R+"
  661.     case fxe1QCheck = "fxe1Q+"
  662.     case fxe2Check = "fxe2+"
  663.     case fxe3Check = "fxe3+"
  664.     case fxe4Check = "fxe4+"
  665.     case fxe5Check = "fxe5+"
  666.     case fxe6Check = "fxe6+"
  667.     case fxe7Check = "fxe7+"
  668.     case fxe8NCheck = "fxe8N+"
  669.     case fxe8BCheck = "fxe8B+"
  670.     case fxe8RCheck = "fxe8R+"
  671.     case fxe8QCheck = "fxe8Q+"
  672.     case fxg1NCheck = "fxg1N+"
  673.     case fxg1BCheck = "fxg1B+"
  674.     case fxg1RCheck = "fxg1R+"
  675.     case fxg1QCheck = "fxg1Q+"
  676.     case fxg2Check = "fxg2+"
  677.     case fxg3Check = "fxg3+"
  678.     case fxg4Check = "fxg4+"
  679.     case fxg5Check = "fxg5+"
  680.     case fxg6Check = "fxg6+"
  681.     case fxg7Check = "fxg7+"
  682.     case fxg8NCheck = "fxg8N+"
  683.     case fxg8BCheck = "fxg8B+"
  684.     case fxg8RCheck = "fxg8R+"
  685.     case fxg8QCheck = "fxg8Q+"
  686.     case f1NCheckmate = "f1N#"
  687.     case f1BCheckmate = "f1B#"
  688.     case f1RCheckmate = "f1R#"
  689.     case f1QCheckmate = "f1Q#"
  690.     case f2Checkmate = "f2#"
  691.     case f3Checkmate = "f3#"
  692.     case f4Checkmate = "f4#"
  693.     case f5Checkmate = "f5#"
  694.     case f6Checkmate = "f6#"
  695.     case f7Checkmate = "f7#"
  696.     case f8NCheckmate = "f8N#"
  697.     case f8BCheckmate = "f8B#"
  698.     case f8RCheckmate = "f8R#"
  699.     case f8QCheckmate = "f8Q#"
  700.     case fxe1NCheckmate = "fxe1N#"
  701.     case fxe1BCheckmate = "fxe1B#"
  702.     case fxe1RCheckmate = "fxe1R#"
  703.     case fxe1QCheckmate = "fxe1Q#"
  704.     case fxe2Checkmate = "fxe2#"
  705.     case fxe3Checkmate = "fxe3#"
  706.     case fxe4Checkmate = "fxe4#"
  707.     case fxe5Checkmate = "fxe5#"
  708.     case fxe6Checkmate = "fxe6#"
  709.     case fxe7Checkmate = "fxe7#"
  710.     case fxe8NCheckmate = "fxe8N#"
  711.     case fxe8BCheckmate = "fxe8B#"
  712.     case fxe8RCheckmate = "fxe8R#"
  713.     case fxe8QCheckmate = "fxe8Q#"
  714.     case fxg1NCheckmate = "fxg1N#"
  715.     case fxg1BCheckmate = "fxg1B#"
  716.     case fxg1RCheckmate = "fxg1R#"
  717.     case fxg1QCheckmate = "fxg1Q#"
  718.     case fxg2Checkmate = "fxg2#"
  719.     case fxg3Checkmate = "fxg3#"
  720.     case fxg4Checkmate = "fxg4#"
  721.     case fxg5Checkmate = "fxg5#"
  722.     case fxg6Checkmate = "fxg6#"
  723.     case fxg7Checkmate = "fxg7#"
  724.     case fxg8NCheckmate = "fxg8N#"
  725.     case fxg8BCheckmate = "fxg8B#"
  726.     case fxg8RCheckmate = "fxg8R#"
  727.     case fxg8QCheckmate = "fxg8Q#"
  728.    
  729.     //g pawn
  730.     case g1N = "g1N"
  731.     case g1B = "g1B"
  732.     case g1R = "g1R"
  733.     case g1Q = "g1Q"
  734.     case g2 = "g2"
  735.     case g3 = "g3"
  736.     case g4 = "g4"
  737.     case g5 = "g5"
  738.     case g6 = "g6"
  739.     case g7 = "g7"
  740.     case g8N = "g8N"
  741.     case g8B = "g8B"
  742.     case g8R = "g8R"
  743.     case g8Q = "g8Q"
  744.     case gxf1N = "gxf1N"
  745.     case gxf1B = "gxf1B"
  746.     case gxf1R = "gxf1R"
  747.     case gxf1Q = "gxf1Q"
  748.     case gxf2 = "gxf2"
  749.     case gxf3 = "gxf3"
  750.     case gxf4 = "gxf4"
  751.     case gxf5 = "gxf5"
  752.     case gxf6 = "gxf6"
  753.     case gxf7 = "gxf7"
  754.     case gxf8N = "gxf8N"
  755.     case gxf8B = "gxf8B"
  756.     case gxf8R = "gxf8R"
  757.     case gxf8Q = "gxf8Q"
  758.     case gxh1N = "gxh1N"
  759.     case gxh1B = "gxh1B"
  760.     case gxh1R = "gxh1R"
  761.     case gxh1Q = "gxh1Q"
  762.     case gxh2 = "gxh2"
  763.     case gxh3 = "gxh3"
  764.     case gxh4 = "gxh4"
  765.     case gxh5 = "gxh5"
  766.     case gxh6 = "gxh6"
  767.     case gxh7 = "gxh7"
  768.     case gxh8N = "gxh8N"
  769.     case gxh8B = "gxh8B"
  770.     case gxh8R = "gxh8R"
  771.     case gxh8Q = "gxh8Q"
  772.     case g1NCheck = "g1N+"
  773.     case g1BCheck = "g1B+"
  774.     case g1RCheck = "g1R+"
  775.     case g1QCheck = "g1Q+"
  776.     case g2Check = "g2+"
  777.     case g3Check = "g3+"
  778.     case g4Check = "g4+"
  779.     case g5Check = "g5+"
  780.     case g6Check = "g6+"
  781.     case g7Check = "g7+"
  782.     case g8NCheck = "g8N+"
  783.     case g8BCheck = "g8B+"
  784.     case g8RCheck = "g8R+"
  785.     case g8QCheck = "g8Q+"
  786.     case gxf1NCheck = "gxf1N+"
  787.     case gxf1BCheck = "gxf1B+"
  788.     case gxf1RCheck = "gxf1R+"
  789.     case gxf1QCheck = "gxf1Q+"
  790.     case gxf2Check = "gxf2+"
  791.     case gxf3Check = "gxf3+"
  792.     case gxf4Check = "gxf4+"
  793.     case gxf5Check = "gxf5+"
  794.     case gxf6Check = "gxf6+"
  795.     case gxf7Check = "gxf7+"
  796.     case gxf8NCheck = "gxf8N+"
  797.     case gxf8BCheck = "gxf8B+"
  798.     case gxf8RCheck = "gxf8R+"
  799.     case gxf8QCheck = "gxf8Q+"
  800.     case gxh1NCheck = "gxh1N+"
  801.     case gxh1BCheck = "gxh1B+"
  802.     case gxh1RCheck = "gxh1R+"
  803.     case gxh1QCheck = "gxh1Q+"
  804.     case gxh2Check = "gxh2+"
  805.     case gxh3Check = "gxh3+"
  806.     case gxh4Check = "gxh4+"
  807.     case gxh5Check = "gxh5+"
  808.     case gxh6Check = "gxh6+"
  809.     case gxh7Check = "gxh7+"
  810.     case gxh8NCheck = "gxh8N+"
  811.     case gxh8BCheck = "gxh8B+"
  812.     case gxh8RCheck = "gxh8R+"
  813.     case gxh8QCheck = "gxh8Q+"
  814.     case g1NCheckmate = "g1N#"
  815.     case g1BCheckmate = "g1B#"
  816.     case g1RCheckmate = "g1R#"
  817.     case g1QCheckmate = "g1Q#"
  818.     case g2Checkmate = "g2#"
  819.     case g3Checkmate = "g3#"
  820.     case g4Checkmate = "g4#"
  821.     case g5Checkmate = "g5#"
  822.     case g6Checkmate = "g6#"
  823.     case g7Checkmate = "g7#"
  824.     case g8NCheckmate = "g8N#"
  825.     case g8BCheckmate = "g8B#"
  826.     case g8RCheckmate = "g8R#"
  827.     case g8QCheckmate = "g8Q#"
  828.     case gxf1NCheckmate = "gxf1N#"
  829.     case gxf1BCheckmate = "gxf1B#"
  830.     case gxf1RCheckmate = "gxf1R#"
  831.     case gxf1QCheckmate = "gxf1Q#"
  832.     case gxf2Checkmate = "gxf2#"
  833.     case gxf3Checkmate = "gxf3#"
  834.     case gxf4Checkmate = "gxf4#"
  835.     case gxf5Checkmate = "gxf5#"
  836.     case gxf6Checkmate = "gxf6#"
  837.     case gxf7Checkmate = "gxf7#"
  838.     case gxf8NCheckmate = "gxf8N#"
  839.     case gxf8BCheckmate = "gxf8B#"
  840.     case gxf8RCheckmate = "gxf8R#"
  841.     case gxf8QCheckmate = "gxf8Q#"
  842.     case gxh1NCheckmate = "gxh1N#"
  843.     case gxh1BCheckmate = "gxh1B#"
  844.     case gxh1RCheckmate = "gxh1R#"
  845.     case gxh1QCheckmate = "gxh1Q#"
  846.     case gxh2Checkmate = "gxh2#"
  847.     case gxh3Checkmate = "gxh3#"
  848.     case gxh4Checkmate = "gxh4#"
  849.     case gxh5Checkmate = "gxh5#"
  850.     case gxh6Checkmate = "gxh6#"
  851.     case gxh7Checkmate = "gxh7#"
  852.     case gxh8NCheckmate = "gxh8N#"
  853.     case gxh8BCheckmate = "gxh8B#"
  854.     case gxh8RCheckmate = "gxh8R#"
  855.     case gxh8QCheckmate = "gxh8Q#"
  856.    
  857.     //h pawn
  858.     case h1N = "h1N"
  859.     case h1B = "h1B"
  860.     case h1R = "h1R"
  861.     case h1Q = "h1Q"
  862.     case h2 = "h2"
  863.     case h3 = "h3"
  864.     case h4 = "h4"
  865.     case h5 = "h5"
  866.     case h6 = "h6"
  867.     case h7 = "h7"
  868.     case h8N = "h8N"
  869.     case h8B = "h8B"
  870.     case h8R = "h8R"
  871.     case h8Q = "h8Q"
  872.     case hxg1N = "hxg1N"
  873.     case hxg1B = "hxg1B"
  874.     case hxg1R = "hxg1R"
  875.     case hxg1Q = "hxg1Q"
  876.     case hxg2 = "hxg2"
  877.     case hxg3 = "hxg3"
  878.     case hxg4 = "hxg4"
  879.     case hxg5 = "hxg5"
  880.     case hxg6 = "hxg6"
  881.     case hxg7 = "hxg7"
  882.     case hxg8N = "hxg8N"
  883.     case hxg8B = "hxg8B"
  884.     case hxg8R = "hxg8R"
  885.     case hxg8Q = "hxg8Q"
  886.     case h1NCheck = "h1N+"
  887.     case h1BCheck = "h1B+"
  888.     case h1RCheck = "h1R+"
  889.     case h1QCheck = "h1Q+"
  890.     case h2Check = "h2+"
  891.     case h3Check = "h3+"
  892.     case h4Check = "h4+"
  893.     case h5Check = "h5+"
  894.     case h6Check = "h6+"
  895.     case h7Check = "h7+"
  896.     case h8NCheck = "h8N+"
  897.     case h8BCheck = "h8B+"
  898.     case h8RCheck = "h8R+"
  899.     case h8QCheck = "h8Q+"
  900.     case hxg1NCheck = "hxg1N+"
  901.     case hxg1BCheck = "hxg1B+"
  902.     case hxg1RCheck = "hxg1R+"
  903.     case hxg1QCheck = "hxg1Q+"
  904.     case hxg2Check = "hxg2+"
  905.     case hxg3Check = "hxg3+"
  906.     case hxg4Check = "hxg4+"
  907.     case hxg5Check = "hxg5+"
  908.     case hxg6Check = "hxg6+"
  909.     case hxg7Check = "hxg7+"
  910.     case hxg8NCheck = "hxg8N+"
  911.     case hxg8BCheck = "hxg8B+"
  912.     case hxg8RCheck = "hxg8R+"
  913.     case hxg8QCheck = "hxg8Q+"
  914.     case h1NCheckmate = "h1N#"
  915.     case h1BCheckmate = "h1B#"
  916.     case h1RCheckmate = "h1R#"
  917.     case h1QCheckmate = "h1Q#"
  918.     case h2Checkmate = "h2#"
  919.     case h3Checkmate = "h3#"
  920.     case h4Checkmate = "h4#"
  921.     case h5Checkmate = "h5#"
  922.     case h6Checkmate = "h6#"
  923.     case h7Checkmate = "h7#"
  924.     case h8NCheckmate = "h8N#"
  925.     case h8BCheckmate = "h8B#"
  926.     case h8RCheckmate = "h8R#"
  927.     case h8QCheckmate = "h8Q#"
  928.     case hxg1NCheckmate = "hxg1N#"
  929.     case hxg1BCheckmate = "hxg1B#"
  930.     case hxg1RCheckmate = "hxg1R#"
  931.     case hxg1QCheckmate = "hxg1Q#"
  932.     case hxg2Checkmate = "hxg2#"
  933.     case hxg3Checkmate = "hxg3#"
  934.     case hxg4Checkmate = "hxg4#"
  935.     case hxg5Checkmate = "hxg5#"
  936.     case hxg6Checkmate = "hxg6#"
  937.     case hxg7Checkmate = "hxg7#"
  938.     case hxg8NCheckmate = "hxg8N#"
  939.     case hxg8BCheckmate = "hxg8B#"
  940.     case hxg8RCheckmate = "hxg8R#"
  941.     case hxg8QCheckmate = "hxg8Q#"
  942.    
  943.     //Bishops
  944.     case Ba1 = "Ba1"
  945.     case Ba2 = "Ba2"
  946.     case Ba3 = "Ba3"
  947.     case Ba4 = "Ba4"
  948.     case Ba5 = "Ba5"
  949.     case Ba6 = "Ba6"
  950.     case Ba7 = "Ba7"
  951.     case Ba8 = "Ba8"
  952.     case Bb1 = "Bb1"
  953.     case Bb2 = "Bb2"
  954.     case Bb3 = "Bb3"
  955.     case Bb4 = "Bb4"
  956.     case Bb5 = "Bb5"
  957.     case Bb6 = "Bb6"
  958.     case Bb7 = "Bb7"
  959.     case Bb8 = "Bb8"
  960.     case Bc1 = "Bc1"
  961.     case Bc2 = "Bc2"
  962.     case Bc3 = "Bc3"
  963.     case Bc4 = "Bc4"
  964.     case Bc5 = "Bc5"
  965.     case Bc6 = "Bc6"
  966.     case Bc7 = "Bc7"
  967.     case Bc8 = "Bc8"
  968.     case Bd1 = "Bd1"
  969.     case Bd2 = "Bd2"
  970.     case Bd3 = "Bd3"
  971.     case Bd4 = "Bd4"
  972.     case Bd5 = "Bd5"
  973.     case Bd6 = "Bd6"
  974.     case Bd7 = "Bd7"
  975.     case Bd8 = "Bd8"
  976.     case Be1 = "Be1"
  977.     case Be2 = "Be2"
  978.     case Be3 = "Be3"
  979.     case Be4 = "Be4"
  980.     case Be5 = "Be5"
  981.     case Be6 = "Be6"
  982.     case Be7 = "Be7"
  983.     case Be8 = "Be8"
  984.     case Bf1 = "Bf1"
  985.     case Bf2 = "Bf2"
  986.     case Bf3 = "Bf3"
  987.     case Bf4 = "Bf4"
  988.     case Bf5 = "Bf5"
  989.     case Bf6 = "Bf6"
  990.     case Bf7 = "Bf7"
  991.     case Bf8 = "Bf8"
  992.     case Bg1 = "Bg1"
  993.     case Bg2 = "Bg2"
  994.     case Bg3 = "Bg3"
  995.     case Bg4 = "Bg4"
  996.     case Bg5 = "Bg5"
  997.     case Bg6 = "Bg6"
  998.     case Bg7 = "Bg7"
  999.     case Bg8 = "Bg8"
  1000.     case Bh1 = "Bh1"
  1001.     case Bh2 = "Bh2"
  1002.     case Bh3 = "Bh3"
  1003.     case Bh4 = "Bh4"
  1004.     case Bh5 = "Bh5"
  1005.     case Bh6 = "Bh6"
  1006.     case Bh7 = "Bh7"
  1007.     case Bh8 = "Bh8"
  1008.     case Ba1Check = "Ba1+"
  1009.     case Ba2Check = "Ba2+"
  1010.     case Ba3Check = "Ba3+"
  1011.     case Ba4Check = "Ba4+"
  1012.     case Ba5Check = "Ba5+"
  1013.     case Ba6Check = "Ba6+"
  1014.     case Ba7Check = "Ba7+"
  1015.     case Ba8Check = "Ba8+"
  1016.     case Bb1Check = "Bb1+"
  1017.     case Bb2Check = "Bb2+"
  1018.     case Bb3Check = "Bb3+"
  1019.     case Bb4Check = "Bb4+"
  1020.     case Bb5Check = "Bb5+"
  1021.     case Bb6Check = "Bb6+"
  1022.     case Bb7Check = "Bb7+"
  1023.     case Bb8Check = "Bb8+"
  1024.     case Bc1Check = "Bc1+"
  1025.     case Bc2Check = "Bc2+"
  1026.     case Bc3Check = "Bc3+"
  1027.     case Bc4Check = "Bc4+"
  1028.     case Bc5Check = "Bc5+"
  1029.     case Bc6Check = "Bc6+"
  1030.     case Bc7Check = "Bc7+"
  1031.     case Bc8Check = "Bc8+"
  1032.     case Bd1Check = "Bd1+"
  1033.     case Bd2Check = "Bd2+"
  1034.     case Bd3Check = "Bd3+"
  1035.     case Bd4Check = "Bd4+"
  1036.     case Bd5Check = "Bd5+"
  1037.     case Bd6Check = "Bd6+"
  1038.     case Bd7Check = "Bd7+"
  1039.     case Bd8Check = "Bd8+"
  1040.     case Be1Check = "Be1+"
  1041.     case Be2Check = "Be2+"
  1042.     case Be3Check = "Be3+"
  1043.     case Be4Check = "Be4+"
  1044.     case Be5Check = "Be5+"
  1045.     case Be6Check = "Be6+"
  1046.     case Be7Check = "Be7+"
  1047.     case Be8Check = "Be8+"
  1048.     case Bf1Check = "Bf1+"
  1049.     case Bf2Check = "Bf2+"
  1050.     case Bf3Check = "Bf3+"
  1051.     case Bf4Check = "Bf4+"
  1052.     case Bf5Check = "Bf5+"
  1053.     case Bf6Check = "Bf6+"
  1054.     case Bf7Check = "Bf7+"
  1055.     case Bf8Check = "Bf8+"
  1056.     case Bg1Check = "Bg1+"
  1057.     case Bg2Check = "Bg2+"
  1058.     case Bg3Check = "Bg3+"
  1059.     case Bg4Check = "Bg4+"
  1060.     case Bg5Check = "Bg5+"
  1061.     case Bg6Check = "Bg6+"
  1062.     case Bg7Check = "Bg7+"
  1063.     case Bg8Check = "Bg8+"
  1064.     case Bh1Check = "Bh1+"
  1065.     case Bh2Check = "Bh2+"
  1066.     case Bh3Check = "Bh3+"
  1067.     case Bh4Check = "Bh4+"
  1068.     case Bh5Check = "Bh5+"
  1069.     case Bh6Check = "Bh6+"
  1070.     case Bh7Check = "Bh7+"
  1071.     case Bh8Check = "Bh8+"
  1072.     case Ba1Checkmate = "Ba1#"
  1073.     case Ba2Checkmate = "Ba2#"
  1074.     case Ba3Checkmate = "Ba3#"
  1075.     case Ba4Checkmate = "Ba4#"
  1076.     case Ba5Checkmate = "Ba5#"
  1077.     case Ba6Checkmate = "Ba6#"
  1078.     case Ba7Checkmate = "Ba7#"
  1079.     case Ba8Checkmate = "Ba8#"
  1080.     case Bb1Checkmate = "Bb1#"
  1081.     case Bb2Checkmate = "Bb2#"
  1082.     case Bb3Checkmate = "Bb3#"
  1083.     case Bb4Checkmate = "Bb4#"
  1084.     case Bb5Checkmate = "Bb5#"
  1085.     case Bb6Checkmate = "Bb6#"
  1086.     case Bb7Checkmate = "Bb7#"
  1087.     case Bb8Checkmate = "Bb8#"
  1088.     case Bc1Checkmate = "Bc1#"
  1089.     case Bc2Checkmate = "Bc2#"
  1090.     case Bc3Checkmate = "Bc3#"
  1091.     case Bc4Checkmate = "Bc4#"
  1092.     case Bc5Checkmate = "Bc5#"
  1093.     case Bc6Checkmate = "Bc6#"
  1094.     case Bc7Checkmate = "Bc7#"
  1095.     case Bc8Checkmate = "Bc8#"
  1096.     case Bd1Checkmate = "Bd1#"
  1097.     case Bd2Checkmate = "Bd2#"
  1098.     case Bd3Checkmate = "Bd3#"
  1099.     case Bd4Checkmate = "Bd4#"
  1100.     case Bd5Checkmate = "Bd5#"
  1101.     case Bd6Checkmate = "Bd6#"
  1102.     case Bd7Checkmate = "Bd7#"
  1103.     case Bd8Checkmate = "Bd8#"
  1104.     case Be1Checkmate = "Be1#"
  1105.     case Be2Checkmate = "Be2#"
  1106.     case Be3Checkmate = "Be3#"
  1107.     case Be4Checkmate = "Be4#"
  1108.     case Be5Checkmate = "Be5#"
  1109.     case Be6Checkmate = "Be6#"
  1110.     case Be7Checkmate = "Be7#"
  1111.     case Be8Checkmate = "Be8#"
  1112.     case Bf1Checkmate = "Bf1#"
  1113.     case Bf2Checkmate = "Bf2#"
  1114.     case Bf3Checkmate = "Bf3#"
  1115.     case Bf4Checkmate = "Bf4#"
  1116.     case Bf5Checkmate = "Bf5#"
  1117.     case Bf6Checkmate = "Bf6#"
  1118.     case Bf7Checkmate = "Bf7#"
  1119.     case Bf8Checkmate = "Bf8#"
  1120.     case Bg1Checkmate = "Bg1#"
  1121.     case Bg2Checkmate = "Bg2#"
  1122.     case Bg3Checkmate = "Bg3#"
  1123.     case Bg4Checkmate = "Bg4#"
  1124.     case Bg5Checkmate = "Bg5#"
  1125.     case Bg6Checkmate = "Bg6#"
  1126.     case Bg7Checkmate = "Bg7#"
  1127.     case Bg8Checkmate = "Bg8#"
  1128.     case Bh1Checkmate = "Bh1#"
  1129.     case Bh2Checkmate = "Bh2#"
  1130.     case Bh3Checkmate = "Bh3#"
  1131.     case Bh4Checkmate = "Bh4#"
  1132.     case Bh5Checkmate = "Bh5#"
  1133.     case Bh6Checkmate = "Bh6#"
  1134.     case Bh7Checkmate = "Bh7#"
  1135.     case Bh8Checkmate = "Bh8#"
  1136.    
  1137.     //Knights
  1138.     case Na1 = "Na1"
  1139.     case Na2 = "Na2"
  1140.     case Na3 = "Na3"
  1141.     case Na4 = "Na4"
  1142.     case Na5 = "Na5"
  1143.     case Na6 = "Na6"
  1144.     case Na7 = "Na7"
  1145.     case Na8 = "Na8"
  1146.     case Nb1 = "Nb1"
  1147.     case Nb2 = "Nb2"
  1148.     case Nb3 = "Nb3"
  1149.     case Nb4 = "Nb4"
  1150.     case Nb5 = "Nb5"
  1151.     case Nb6 = "Nb6"
  1152.     case Nb7 = "Nb7"
  1153.     case Nb8 = "Nb8"
  1154.     case Nc1 = "Nc1"
  1155.     case Nc2 = "Nc2"
  1156.     case Nc3 = "Nc3"
  1157.     case Nc4 = "Nc4"
  1158.     case Nc5 = "Nc5"
  1159.     case Nc6 = "Nc6"
  1160.     case Nc7 = "Nc7"
  1161.     case Nc8 = "Nc8"
  1162.     case Nd1 = "Nd1"
  1163.     case Nd2 = "Nd2"
  1164.     case Nd3 = "Nd3"
  1165.     case Nd4 = "Nd4"
  1166.     case Nd5 = "Nd5"
  1167.     case Nd6 = "Nd6"
  1168.     case Nd7 = "Nd7"
  1169.     case Nd8 = "Nd8"
  1170.     case Ne1 = "Ne1"
  1171.     case Ne2 = "Ne2"
  1172.     case Ne3 = "Ne3"
  1173.     case Ne4 = "Ne4"
  1174.     case Ne5 = "Ne5"
  1175.     case Ne6 = "Ne6"
  1176.     case Ne7 = "Ne7"
  1177.     case Ne8 = "Ne8"
  1178.     case Nf1 = "Nf1"
  1179.     case Nf2 = "Nf2"
  1180.     case Nf3 = "Nf3"
  1181.     case Nf4 = "Nf4"
  1182.     case Nf5 = "Nf5"
  1183.     case Nf6 = "Nf6"
  1184.     case Nf7 = "Nf7"
  1185.     case Nf8 = "Nf8"
  1186.     case Ng1 = "Ng1"
  1187.     case Ng2 = "Ng2"
  1188.     case Ng3 = "Ng3"
  1189.     case Ng4 = "Ng4"
  1190.     case Ng5 = "Ng5"
  1191.     case Ng6 = "Ng6"
  1192.     case Ng7 = "Ng7"
  1193.     case Ng8 = "Ng8"
  1194.     case Nh1 = "Nh1"
  1195.     case Nh2 = "Nh2"
  1196.     case Nh3 = "Nh3"
  1197.     case Nh4 = "Nh4"
  1198.     case Nh5 = "Nh5"
  1199.     case Nh6 = "Nh6"
  1200.     case Nh7 = "Nh7"
  1201.     case Nh8 = "Nh8"
  1202.     case Na1Check = "Na1+"
  1203.     case Na2Check = "Na2+"
  1204.     case Na3Check = "Na3+"
  1205.     case Na4Check = "Na4+"
  1206.     case Na5Check = "Na5+"
  1207.     case Na6Check = "Na6+"
  1208.     case Na7Check = "Na7+"
  1209.     case Na8Check = "Na8+"
  1210.     case Nb1Check = "Nb1+"
  1211.     case Nb2Check = "Nb2+"
  1212.     case Nb3Check = "Nb3+"
  1213.     case Nb4Check = "Nb4+"
  1214.     case Nb5Check = "Nb5+"
  1215.     case Nb6Check = "Nb6+"
  1216.     case Nb7Check = "Nb7+"
  1217.     case Nb8Check = "Nb8+"
  1218.     case Nc1Check = "Nc1+"
  1219.     case Nc2Check = "Nc2+"
  1220.     case Nc3Check = "Nc3+"
  1221.     case Nc4Check = "Nc4+"
  1222.     case Nc5Check = "Nc5+"
  1223.     case Nc6Check = "Nc6+"
  1224.     case Nc7Check = "Nc7+"
  1225.     case Nc8Check = "Nc8+"
  1226.     case Nd1Check = "Nd1+"
  1227.     case Nd2Check = "Nd2+"
  1228.     case Nd3Check = "Nd3+"
  1229.     case Nd4Check = "Nd4+"
  1230.     case Nd5Check = "Nd5+"
  1231.     case Nd6Check = "Nd6+"
  1232.     case Nd7Check = "Nd7+"
  1233.     case Nd8Check = "Nd8+"
  1234.     case Ne1Check = "Ne1+"
  1235.     case Ne2Check = "Ne2+"
  1236.     case Ne3Check = "Ne3+"
  1237.     case Ne4Check = "Ne4+"
  1238.     case Ne5Check = "Ne5+"
  1239.     case Ne6Check = "Ne6+"
  1240.     case Ne7Check = "Ne7+"
  1241.     case Ne8Check = "Ne8+"
  1242.     case Nf1Check = "Nf1+"
  1243.     case Nf2Check = "Nf2+"
  1244.     case Nf3Check = "Nf3+"
  1245.     case Nf4Check = "Nf4+"
  1246.     case Nf5Check = "Nf5+"
  1247.     case Nf6Check = "Nf6+"
  1248.     case Nf7Check = "Nf7+"
  1249.     case Nf8Check = "Nf8+"
  1250.     case Ng1Check = "Ng1+"
  1251.     case Ng2Check = "Ng2+"
  1252.     case Ng3Check = "Ng3+"
  1253.     case Ng4Check = "Ng4+"
  1254.     case Ng5Check = "Ng5+"
  1255.     case Ng6Check = "Ng6+"
  1256.     case Ng7Check = "Ng7+"
  1257.     case Ng8Check = "Ng8+"
  1258.     case Nh1Check = "Nh1+"
  1259.     case Nh2Check = "Nh2+"
  1260.     case Nh3Check = "Nh3+"
  1261.     case Nh4Check = "Nh4+"
  1262.     case Nh5Check = "Nh5+"
  1263.     case Nh6Check = "Nh6+"
  1264.     case Nh7Check = "Nh7+"
  1265.     case Nh8Check = "Nh8+"
  1266.     case Na1Checkmate = "Na1#"
  1267.     case Na2Checkmate = "Na2#"
  1268.     case Na3Checkmate = "Na3#"
  1269.     case Na4Checkmate = "Na4#"
  1270.     case Na5Checkmate = "Na5#"
  1271.     case Na6Checkmate = "Na6#"
  1272.     case Na7Checkmate = "Na7#"
  1273.     case Na8Checkmate = "Na8#"
  1274.     case Nb1Checkmate = "Nb1#"
  1275.     case Nb2Checkmate = "Nb2#"
  1276.     case Nb3Checkmate = "Nb3#"
  1277.     case Nb4Checkmate = "Nb4#"
  1278.     case Nb5Checkmate = "Nb5#"
  1279.     case Nb6Checkmate = "Nb6#"
  1280.     case Nb7Checkmate = "Nb7#"
  1281.     case Nb8Checkmate = "Nb8#"
  1282.     case Nc1Checkmate = "Nc1#"
  1283.     case Nc2Checkmate = "Nc2#"
  1284.     case Nc3Checkmate = "Nc3#"
  1285.     case Nc4Checkmate = "Nc4#"
  1286.     case Nc5Checkmate = "Nc5#"
  1287.     case Nc6Checkmate = "Nc6#"
  1288.     case Nc7Checkmate = "Nc7#"
  1289.     case Nc8Checkmate = "Nc8#"
  1290.     case Nd1Checkmate = "Nd1#"
  1291.     case Nd2Checkmate = "Nd2#"
  1292.     case Nd3Checkmate = "Nd3#"
  1293.     case Nd4Checkmate = "Nd4#"
  1294.     case Nd5Checkmate = "Nd5#"
  1295.     case Nd6Checkmate = "Nd6#"
  1296.     case Nd7Checkmate = "Nd7#"
  1297.     case Nd8Checkmate = "Nd8#"
  1298.     case Ne1Checkmate = "Ne1#"
  1299.     case Ne2Checkmate = "Ne2#"
  1300.     case Ne3Checkmate = "Ne3#"
  1301.     case Ne4Checkmate = "Ne4#"
  1302.     case Ne5Checkmate = "Ne5#"
  1303.     case Ne6Checkmate = "Ne6#"
  1304.     case Ne7Checkmate = "Ne7#"
  1305.     case Ne8Checkmate = "Ne8#"
  1306.     case Nf1Checkmate = "Nf1#"
  1307.     case Nf2Checkmate = "Nf2#"
  1308.     case Nf3Checkmate = "Nf3#"
  1309.     case Nf4Checkmate = "Nf4#"
  1310.     case Nf5Checkmate = "Nf5#"
  1311.     case Nf6Checkmate = "Nf6#"
  1312.     case Nf7Checkmate = "Nf7#"
  1313.     case Nf8Checkmate = "Nf8#"
  1314.     case Ng1Checkmate = "Ng1#"
  1315.     case Ng2Checkmate = "Ng2#"
  1316.     case Ng3Checkmate = "Ng3#"
  1317.     case Ng4Checkmate = "Ng4#"
  1318.     case Ng5Checkmate = "Ng5#"
  1319.     case Ng6Checkmate = "Ng6#"
  1320.     case Ng7Checkmate = "Ng7#"
  1321.     case Ng8Checkmate = "Ng8#"
  1322.     case Nh1Checkmate = "Nh1#"
  1323.     case Nh2Checkmate = "Nh2#"
  1324.     case Nh3Checkmate = "Nh3#"
  1325.     case Nh4Checkmate = "Nh4#"
  1326.     case Nh5Checkmate = "Nh5#"
  1327.     case Nh6Checkmate = "Nh6#"
  1328.     case Nh7Checkmate = "Nh7#"
  1329.     case Nh8Checkmate = "Nh8#"
  1330.    
  1331.     //Rooks
  1332.     case Ra1 = "Ra1"
  1333.     case Ra2 = "Ra2"
  1334.     case Ra3 = "Ra3"
  1335.     case Ra4 = "Ra4"
  1336.     case Ra5 = "Ra5"
  1337.     case Ra6 = "Ra6"
  1338.     case Ra7 = "Ra7"
  1339.     case Ra8 = "Ra8"
  1340.     case Rb1 = "Rb1"
  1341.     case Rb2 = "Rb2"
  1342.     case Rb3 = "Rb3"
  1343.     case Rb4 = "Rb4"
  1344.     case Rb5 = "Rb5"
  1345.     case Rb6 = "Rb6"
  1346.     case Rb7 = "Rb7"
  1347.     case Rb8 = "Rb8"
  1348.     case Rc1 = "Rc1"
  1349.     case Rc2 = "Rc2"
  1350.     case Rc3 = "Rc3"
  1351.     case Rc4 = "Rc4"
  1352.     case Rc5 = "Rc5"
  1353.     case Rc6 = "Rc6"
  1354.     case Rc7 = "Rc7"
  1355.     case Rc8 = "Rc8"
  1356.     case Rd1 = "Rd1"
  1357.     case Rd2 = "Rd2"
  1358.     case Rd3 = "Rd3"
  1359.     case Rd4 = "Rd4"
  1360.     case Rd5 = "Rd5"
  1361.     case Rd6 = "Rd6"
  1362.     case Rd7 = "Rd7"
  1363.     case Rd8 = "Rd8"
  1364.     case Re1 = "Re1"
  1365.     case Re2 = "Re2"
  1366.     case Re3 = "Re3"
  1367.     case Re4 = "Re4"
  1368.     case Re5 = "Re5"
  1369.     case Re6 = "Re6"
  1370.     case Re7 = "Re7"
  1371.     case Re8 = "Re8"
  1372.     case Rf1 = "Rf1"
  1373.     case Rf2 = "Rf2"
  1374.     case Rf3 = "Rf3"
  1375.     case Rf4 = "Rf4"
  1376.     case Rf5 = "Rf5"
  1377.     case Rf6 = "Rf6"
  1378.     case Rf7 = "Rf7"
  1379.     case Rf8 = "Rf8"
  1380.     case Rg1 = "Rg1"
  1381.     case Rg2 = "Rg2"
  1382.     case Rg3 = "Rg3"
  1383.     case Rg4 = "Rg4"
  1384.     case Rg5 = "Rg5"
  1385.     case Rg6 = "Rg6"
  1386.     case Rg7 = "Rg7"
  1387.     case Rg8 = "Rg8"
  1388.     case Rh1 = "Rh1"
  1389.     case Rh2 = "Rh2"
  1390.     case Rh3 = "Rh3"
  1391.     case Rh4 = "Rh4"
  1392.     case Rh5 = "Rh5"
  1393.     case Rh6 = "Rh6"
  1394.     case Rh7 = "Rh7"
  1395.     case Rh8 = "Rh8"
  1396.     case Ra1Check = "Ra1+"
  1397.     case Ra2Check = "Ra2+"
  1398.     case Ra3Check = "Ra3+"
  1399.     case Ra4Check = "Ra4+"
  1400.     case Ra5Check = "Ra5+"
  1401.     case Ra6Check = "Ra6+"
  1402.     case Ra7Check = "Ra7+"
  1403.     case Ra8Check = "Ra8+"
  1404.     case Rb1Check = "Rb1+"
  1405.     case Rb2Check = "Rb2+"
  1406.     case Rb3Check = "Rb3+"
  1407.     case Rb4Check = "Rb4+"
  1408.     case Rb5Check = "Rb5+"
  1409.     case Rb6Check = "Rb6+"
  1410.     case Rb7Check = "Rb7+"
  1411.     case Rb8Check = "Rb8+"
  1412.     case Rc1Check = "Rc1+"
  1413.     case Rc2Check = "Rc2+"
  1414.     case Rc3Check = "Rc3+"
  1415.     case Rc4Check = "Rc4+"
  1416.     case Rc5Check = "Rc5+"
  1417.     case Rc6Check = "Rc6+"
  1418.     case Rc7Check = "Rc7+"
  1419.     case Rc8Check = "Rc8+"
  1420.     case Rd1Check = "Rd1+"
  1421.     case Rd2Check = "Rd2+"
  1422.     case Rd3Check = "Rd3+"
  1423.     case Rd4Check = "Rd4+"
  1424.     case Rd5Check = "Rd5+"
  1425.     case Rd6Check = "Rd6+"
  1426.     case Rd7Check = "Rd7+"
  1427.     case Rd8Check = "Rd8+"
  1428.     case Re1Check = "Re1+"
  1429.     case Re2Check = "Re2+"
  1430.     case Re3Check = "Re3+"
  1431.     case Re4Check = "Re4+"
  1432.     case Re5Check = "Re5+"
  1433.     case Re6Check = "Re6+"
  1434.     case Re7Check = "Re7+"
  1435.     case Re8Check = "Re8+"
  1436.     case Rf1Check = "Rf1+"
  1437.     case Rf2Check = "Rf2+"
  1438.     case Rf3Check = "Rf3+"
  1439.     case Rf4Check = "Rf4+"
  1440.     case Rf5Check = "Rf5+"
  1441.     case Rf6Check = "Rf6+"
  1442.     case Rf7Check = "Rf7+"
  1443.     case Rf8Check = "Rf8+"
  1444.     case Rg1Check = "Rg1+"
  1445.     case Rg2Check = "Rg2+"
  1446.     case Rg3Check = "Rg3+"
  1447.     case Rg4Check = "Rg4+"
  1448.     case Rg5Check = "Rg5+"
  1449.     case Rg6Check = "Rg6+"
  1450.     case Rg7Check = "Rg7+"
  1451.     case Rg8Check = "Rg8+"
  1452.     case Rh1Check = "Rh1+"
  1453.     case Rh2Check = "Rh2+"
  1454.     case Rh3Check = "Rh3+"
  1455.     case Rh4Check = "Rh4+"
  1456.     case Rh5Check = "Rh5+"
  1457.     case Rh6Check = "Rh6+"
  1458.     case Rh7Check = "Rh7+"
  1459.     case Rh8Check = "Rh8+"
  1460.     case Ra1Checkmate = "Ra1#"
  1461.     case Ra2Checkmate = "Ra2#"
  1462.     case Ra3Checkmate = "Ra3#"
  1463.     case Ra4Checkmate = "Ra4#"
  1464.     case Ra5Checkmate = "Ra5#"
  1465.     case Ra6Checkmate = "Ra6#"
  1466.     case Ra7Checkmate = "Ra7#"
  1467.     case Ra8Checkmate = "Ra8#"
  1468.     case Rb1Checkmate = "Rb1#"
  1469.     case Rb2Checkmate = "Rb2#"
  1470.     case Rb3Checkmate = "Rb3#"
  1471.     case Rb4Checkmate = "Rb4#"
  1472.     case Rb5Checkmate = "Rb5#"
  1473.     case Rb6Checkmate = "Rb6#"
  1474.     case Rb7Checkmate = "Rb7#"
  1475.     case Rb8Checkmate = "Rb8#"
  1476.     case Rc1Checkmate = "Rc1#"
  1477.     case Rc2Checkmate = "Rc2#"
  1478.     case Rc3Checkmate = "Rc3#"
  1479.     case Rc4Checkmate = "Rc4#"
  1480.     case Rc5Checkmate = "Rc5#"
  1481.     case Rc6Checkmate = "Rc6#"
  1482.     case Rc7Checkmate = "Rc7#"
  1483.     case Rc8Checkmate = "Rc8#"
  1484.     case Rd1Checkmate = "Rd1#"
  1485.     case Rd2Checkmate = "Rd2#"
  1486.     case Rd3Checkmate = "Rd3#"
  1487.     case Rd4Checkmate = "Rd4#"
  1488.     case Rd5Checkmate = "Rd5#"
  1489.     case Rd6Checkmate = "Rd6#"
  1490.     case Rd7Checkmate = "Rd7#"
  1491.     case Rd8Checkmate = "Rd8#"
  1492.     case Re1Checkmate = "Re1#"
  1493.     case Re2Checkmate = "Re2#"
  1494.     case Re3Checkmate = "Re3#"
  1495.     case Re4Checkmate = "Re4#"
  1496.     case Re5Checkmate = "Re5#"
  1497.     case Re6Checkmate = "Re6#"
  1498.     case Re7Checkmate = "Re7#"
  1499.     case Re8Checkmate = "Re8#"
  1500.     case Rf1Checkmate = "Rf1#"
  1501.     case Rf2Checkmate = "Rf2#"
  1502.     case Rf3Checkmate = "Rf3#"
  1503.     case Rf4Checkmate = "Rf4#"
  1504.     case Rf5Checkmate = "Rf5#"
  1505.     case Rf6Checkmate = "Rf6#"
  1506.     case Rf7Checkmate = "Rf7#"
  1507.     case Rf8Checkmate = "Rf8#"
  1508.     case Rg1Checkmate = "Rg1#"
  1509.     case Rg2Checkmate = "Rg2#"
  1510.     case Rg3Checkmate = "Rg3#"
  1511.     case Rg4Checkmate = "Rg4#"
  1512.     case Rg5Checkmate = "Rg5#"
  1513.     case Rg6Checkmate = "Rg6#"
  1514.     case Rg7Checkmate = "Rg7#"
  1515.     case Rg8Checkmate = "Rg8#"
  1516.     case Rh1Checkmate = "Rh1#"
  1517.     case Rh2Checkmate = "Rh2#"
  1518.     case Rh3Checkmate = "Rh3#"
  1519.     case Rh4Checkmate = "Rh4#"
  1520.     case Rh5Checkmate = "Rh5#"
  1521.     case Rh6Checkmate = "Rh6#"
  1522.     case Rh7Checkmate = "Rh7#"
  1523.     case Rh8Checkmate = "Rh8#"
  1524.    
  1525.     //Queens
  1526.     case Qa1 = "Qa1"
  1527.     case Qa2 = "Qa2"
  1528.     case Qa3 = "Qa3"
  1529.     case Qa4 = "Qa4"
  1530.     case Qa5 = "Qa5"
  1531.     case Qa6 = "Qa6"
  1532.     case Qa7 = "Qa7"
  1533.     case Qa8 = "Qa8"
  1534.     case Qb1 = "Qb1"
  1535.     case Qb2 = "Qb2"
  1536.     case Qb3 = "Qb3"
  1537.     case Qb4 = "Qb4"
  1538.     case Qb5 = "Qb5"
  1539.     case Qb6 = "Qb6"
  1540.     case Qb7 = "Qb7"
  1541.     case Qb8 = "Qb8"
  1542.     case Qc1 = "Qc1"
  1543.     case Qc2 = "Qc2"
  1544.     case Qc3 = "Qc3"
  1545.     case Qc4 = "Qc4"
  1546.     case Qc5 = "Qc5"
  1547.     case Qc6 = "Qc6"
  1548.     case Qc7 = "Qc7"
  1549.     case Qc8 = "Qc8"
  1550.     case Qd1 = "Qd1"
  1551.     case Qd2 = "Qd2"
  1552.     case Qd3 = "Qd3"
  1553.     case Qd4 = "Qd4"
  1554.     case Qd5 = "Qd5"
  1555.     case Qd6 = "Qd6"
  1556.     case Qd7 = "Qd7"
  1557.     case Qd8 = "Qd8"
  1558.     case Qe1 = "Qe1"
  1559.     case Qe2 = "Qe2"
  1560.     case Qe3 = "Qe3"
  1561.     case Qe4 = "Qe4"
  1562.     case Qe5 = "Qe5"
  1563.     case Qe6 = "Qe6"
  1564.     case Qe7 = "Qe7"
  1565.     case Qe8 = "Qe8"
  1566.     case Qf1 = "Qf1"
  1567.     case Qf2 = "Qf2"
  1568.     case Qf3 = "Qf3"
  1569.     case Qf4 = "Qf4"
  1570.     case Qf5 = "Qf5"
  1571.     case Qf6 = "Qf6"
  1572.     case Qf7 = "Qf7"
  1573.     case Qf8 = "Qf8"
  1574.     case Qg1 = "Qg1"
  1575.     case Qg2 = "Qg2"
  1576.     case Qg3 = "Qg3"
  1577.     case Qg4 = "Qg4"
  1578.     case Qg5 = "Qg5"
  1579.     case Qg6 = "Qg6"
  1580.     case Qg7 = "Qg7"
  1581.     case Qg8 = "Qg8"
  1582.     case Qh1 = "Qh1"
  1583.     case Qh2 = "Qh2"
  1584.     case Qh3 = "Qh3"
  1585.     case Qh4 = "Qh4"
  1586.     case Qh5 = "Qh5"
  1587.     case Qh6 = "Qh6"
  1588.     case Qh7 = "Qh7"
  1589.     case Qh8 = "Qh8"
  1590.     case Qa1Check = "Qa1+"
  1591.     case Qa2Check = "Qa2+"
  1592.     case Qa3Check = "Qa3+"
  1593.     case Qa4Check = "Qa4+"
  1594.     case Qa5Check = "Qa5+"
  1595.     case Qa6Check = "Qa6+"
  1596.     case Qa7Check = "Qa7+"
  1597.     case Qa8Check = "Qa8+"
  1598.     case Qb1Check = "Qb1+"
  1599.     case Qb2Check = "Qb2+"
  1600.     case Qb3Check = "Qb3+"
  1601.     case Qb4Check = "Qb4+"
  1602.     case Qb5Check = "Qb5+"
  1603.     case Qb6Check = "Qb6+"
  1604.     case Qb7Check = "Qb7+"
  1605.     case Qb8Check = "Qb8+"
  1606.     case Qc1Check = "Qc1+"
  1607.     case Qc2Check = "Qc2+"
  1608.     case Qc3Check = "Qc3+"
  1609.     case Qc4Check = "Qc4+"
  1610.     case Qc5Check = "Qc5+"
  1611.     case Qc6Check = "Qc6+"
  1612.     case Qc7Check = "Qc7+"
  1613.     case Qc8Check = "Qc8+"
  1614.     case Qd1Check = "Qd1+"
  1615.     case Qd2Check = "Qd2+"
  1616.     case Qd3Check = "Qd3+"
  1617.     case Qd4Check = "Qd4+"
  1618.     case Qd5Check = "Qd5+"
  1619.     case Qd6Check = "Qd6+"
  1620.     case Qd7Check = "Qd7+"
  1621.     case Qd8Check = "Qd8+"
  1622.     case Qe1Check = "Qe1+"
  1623.     case Qe2Check = "Qe2+"
  1624.     case Qe3Check = "Qe3+"
  1625.     case Qe4Check = "Qe4+"
  1626.     case Qe5Check = "Qe5+"
  1627.     case Qe6Check = "Qe6+"
  1628.     case Qe7Check = "Qe7+"
  1629.     case Qe8Check = "Qe8+"
  1630.     case Qf1Check = "Qf1+"
  1631.     case Qf2Check = "Qf2+"
  1632.     case Qf3Check = "Qf3+"
  1633.     case Qf4Check = "Qf4+"
  1634.     case Qf5Check = "Qf5+"
  1635.     case Qf6Check = "Qf6+"
  1636.     case Qf7Check = "Qf7+"
  1637.     case Qf8Check = "Qf8+"
  1638.     case Qg1Check = "Qg1+"
  1639.     case Qg2Check = "Qg2+"
  1640.     case Qg3Check = "Qg3+"
  1641.     case Qg4Check = "Qg4+"
  1642.     case Qg5Check = "Qg5+"
  1643.     case Qg6Check = "Qg6+"
  1644.     case Qg7Check = "Qg7+"
  1645.     case Qg8Check = "Qg8+"
  1646.     case Qh1Check = "Qh1+"
  1647.     case Qh2Check = "Qh2+"
  1648.     case Qh3Check = "Qh3+"
  1649.     case Qh4Check = "Qh4+"
  1650.     case Qh5Check = "Qh5+"
  1651.     case Qh6Check = "Qh6+"
  1652.     case Qh7Check = "Qh7+"
  1653.     case Qh8Check = "Qh8+"
  1654.     case Qa1Checkmate = "Qa1#"
  1655.     case Qa2Checkmate = "Qa2#"
  1656.     case Qa3Checkmate = "Qa3#"
  1657.     case Qa4Checkmate = "Qa4#"
  1658.     case Qa5Checkmate = "Qa5#"
  1659.     case Qa6Checkmate = "Qa6#"
  1660.     case Qa7Checkmate = "Qa7#"
  1661.     case Qa8Checkmate = "Qa8#"
  1662.     case Qb1Checkmate = "Qb1#"
  1663.     case Qb2Checkmate = "Qb2#"
  1664.     case Qb3Checkmate = "Qb3#"
  1665.     case Qb4Checkmate = "Qb4#"
  1666.     case Qb5Checkmate = "Qb5#"
  1667.     case Qb6Checkmate = "Qb6#"
  1668.     case Qb7Checkmate = "Qb7#"
  1669.     case Qb8Checkmate = "Qb8#"
  1670.     case Qc1Checkmate = "Qc1#"
  1671.     case Qc2Checkmate = "Qc2#"
  1672.     case Qc3Checkmate = "Qc3#"
  1673.     case Qc4Checkmate = "Qc4#"
  1674.     case Qc5Checkmate = "Qc5#"
  1675.     case Qc6Checkmate = "Qc6#"
  1676.     case Qc7Checkmate = "Qc7#"
  1677.     case Qc8Checkmate = "Qc8#"
  1678.     case Qd1Checkmate = "Qd1#"
  1679.     case Qd2Checkmate = "Qd2#"
  1680.     case Qd3Checkmate = "Qd3#"
  1681.     case Qd4Checkmate = "Qd4#"
  1682.     case Qd5Checkmate = "Qd5#"
  1683.     case Qd6Checkmate = "Qd6#"
  1684.     case Qd7Checkmate = "Qd7#"
  1685.     case Qd8Checkmate = "Qd8#"
  1686.     case Qe1Checkmate = "Qe1#"
  1687.     case Qe2Checkmate = "Qe2#"
  1688.     case Qe3Checkmate = "Qe3#"
  1689.     case Qe4Checkmate = "Qe4#"
  1690.     case Qe5Checkmate = "Qe5#"
  1691.     case Qe6Checkmate = "Qe6#"
  1692.     case Qe7Checkmate = "Qe7#"
  1693.     case Qe8Checkmate = "Qe8#"
  1694.     case Qf1Checkmate = "Qf1#"
  1695.     case Qf2Checkmate = "Qf2#"
  1696.     case Qf3Checkmate = "Qf3#"
  1697.     case Qf4Checkmate = "Qf4#"
  1698.     case Qf5Checkmate = "Qf5#"
  1699.     case Qf6Checkmate = "Qf6#"
  1700.     case Qf7Checkmate = "Qf7#"
  1701.     case Qf8Checkmate = "Qf8#"
  1702.     case Qg1Checkmate = "Qg1#"
  1703.     case Qg2Checkmate = "Qg2#"
  1704.     case Qg3Checkmate = "Qg3#"
  1705.     case Qg4Checkmate = "Qg4#"
  1706.     case Qg5Checkmate = "Qg5#"
  1707.     case Qg6Checkmate = "Qg6#"
  1708.     case Qg7Checkmate = "Qg7#"
  1709.     case Qg8Checkmate = "Qg8#"
  1710.     case Qh1Checkmate = "Qh1#"
  1711.     case Qh2Checkmate = "Qh2#"
  1712.     case Qh3Checkmate = "Qh3#"
  1713.     case Qh4Checkmate = "Qh4#"
  1714.     case Qh5Checkmate = "Qh5#"
  1715.     case Qh6Checkmate = "Qh6#"
  1716.     case Qh7Checkmate = "Qh7#"
  1717.     case Qh8Checkmate = "Qh8#"
  1718.    
  1719.     //King
  1720.     case Ka1 = "Ka1"
  1721.     case Ka2 = "Ka2"
  1722.     case Ka3 = "Ka3"
  1723.     case Ka4 = "Ka4"
  1724.     case Ka5 = "Ka5"
  1725.     case Ka6 = "Ka6"
  1726.     case Ka7 = "Ka7"
  1727.     case Ka8 = "Ka8"
  1728.     case Kb1 = "Kb1"
  1729.     case Kb2 = "Kb2"
  1730.     case Kb3 = "Kb3"
  1731.     case Kb4 = "Kb4"
  1732.     case Kb5 = "Kb5"
  1733.     case Kb6 = "Kb6"
  1734.     case Kb7 = "Kb7"
  1735.     case Kb8 = "Kb8"
  1736.     case Kc1 = "Kc1"
  1737.     case Kc2 = "Kc2"
  1738.     case Kc3 = "Kc3"
  1739.     case Kc4 = "Kc4"
  1740.     case Kc5 = "Kc5"
  1741.     case Kc6 = "Kc6"
  1742.     case Kc7 = "Kc7"
  1743.     case Kc8 = "Kc8"
  1744.     case Kd1 = "Kd1"
  1745.     case Kd2 = "Kd2"
  1746.     case Kd3 = "Kd3"
  1747.     case Kd4 = "Kd4"
  1748.     case Kd5 = "Kd5"
  1749.     case Kd6 = "Kd6"
  1750.     case Kd7 = "Kd7"
  1751.     case Kd8 = "Kd8"
  1752.     case Ke1 = "Ke1"
  1753.     case Ke2 = "Ke2"
  1754.     case Ke3 = "Ke3"
  1755.     case Ke4 = "Ke4"
  1756.     case Ke5 = "Ke5"
  1757.     case Ke6 = "Ke6"
  1758.     case Ke7 = "Ke7"
  1759.     case Ke8 = "Ke8"
  1760.     case Kf1 = "Kf1"
  1761.     case Kf2 = "Kf2"
  1762.     case Kf3 = "Kf3"
  1763.     case Kf4 = "Kf4"
  1764.     case Kf5 = "Kf5"
  1765.     case Kf6 = "Kf6"
  1766.     case Kf7 = "Kf7"
  1767.     case Kf8 = "Kf8"
  1768.     case Kg1 = "Kg1"
  1769.     case Kg2 = "Kg2"
  1770.     case Kg3 = "Kg3"
  1771.     case Kg4 = "Kg4"
  1772.     case Kg5 = "Kg5"
  1773.     case Kg6 = "Kg6"
  1774.     case Kg7 = "Kg7"
  1775.     case Kg8 = "Kg8"
  1776.     case Kh1 = "Kh1"
  1777.     case Kh2 = "Kh2"
  1778.     case Kh3 = "Kh3"
  1779.     case Kh4 = "Kh4"
  1780.     case Kh5 = "Kh5"
  1781.     case Kh6 = "Kh6"
  1782.     case Kh7 = "Kh7"
  1783.     case Kh8 = "Kh8"
  1784.     case Ka1Check = "Ka1+"
  1785.     case Ka2Check = "Ka2+"
  1786.     case Ka3Check = "Ka3+"
  1787.     case Ka4Check = "Ka4+"
  1788.     case Ka5Check = "Ka5+"
  1789.     case Ka6Check = "Ka6+"
  1790.     case Ka7Check = "Ka7+"
  1791.     case Ka8Check = "Ka8+"
  1792.     case Kb1Check = "Kb1+"
  1793.     case Kb2Check = "Kb2+"
  1794.     case Kb3Check = "Kb3+"
  1795.     case Kb4Check = "Kb4+"
  1796.     case Kb5Check = "Kb5+"
  1797.     case Kb6Check = "Kb6+"
  1798.     case Kb7Check = "Kb7+"
  1799.     case Kb8Check = "Kb8+"
  1800.     case Kc1Check = "Kc1+"
  1801.     case Kc2Check = "Kc2+"
  1802.     case Kc3Check = "Kc3+"
  1803.     case Kc4Check = "Kc4+"
  1804.     case Kc5Check = "Kc5+"
  1805.     case Kc6Check = "Kc6+"
  1806.     case Kc7Check = "Kc7+"
  1807.     case Kc8Check = "Kc8+"
  1808.     case Kd1Check = "Kd1+"
  1809.     case Kd2Check = "Kd2+"
  1810.     case Kd3Check = "Kd3+"
  1811.     case Kd4Check = "Kd4+"
  1812.     case Kd5Check = "Kd5+"
  1813.     case Kd6Check = "Kd6+"
  1814.     case Kd7Check = "Kd7+"
  1815.     case Kd8Check = "Kd8+"
  1816.     case Ke1Check = "Ke1+"
  1817.     case Ke2Check = "Ke2+"
  1818.     case Ke3Check = "Ke3+"
  1819.     case Ke4Check = "Ke4+"
  1820.     case Ke5Check = "Ke5+"
  1821.     case Ke6Check = "Ke6+"
  1822.     case Ke7Check = "Ke7+"
  1823.     case Ke8Check = "Ke8+"
  1824.     case Kf1Check = "Kf1+"
  1825.     case Kf2Check = "Kf2+"
  1826.     case Kf3Check = "Kf3+"
  1827.     case Kf4Check = "Kf4+"
  1828.     case Kf5Check = "Kf5+"
  1829.     case Kf6Check = "Kf6+"
  1830.     case Kf7Check = "Kf7+"
  1831.     case Kf8Check = "Kf8+"
  1832.     case Kg1Check = "Kg1+"
  1833.     case Kg2Check = "Kg2+"
  1834.     case Kg3Check = "Kg3+"
  1835.     case Kg4Check = "Kg4+"
  1836.     case Kg5Check = "Kg5+"
  1837.     case Kg6Check = "Kg6+"
  1838.     case Kg7Check = "Kg7+"
  1839.     case Kg8Check = "Kg8+"
  1840.     case Kh1Check = "Kh1+"
  1841.     case Kh2Check = "Kh2+"
  1842.     case Kh3Check = "Kh3+"
  1843.     case Kh4Check = "Kh4+"
  1844.     case Kh5Check = "Kh5+"
  1845.     case Kh6Check = "Kh6+"
  1846.     case Kh7Check = "Kh7+"
  1847.     case Kh8Check = "Kh8+"
  1848.     case Ka1Checkmate = "Ka1#"
  1849.     case Ka2Checkmate = "Ka2#"
  1850.     case Ka3Checkmate = "Ka3#"
  1851.     case Ka4Checkmate = "Ka4#"
  1852.     case Ka5Checkmate = "Ka5#"
  1853.     case Ka6Checkmate = "Ka6#"
  1854.     case Ka7Checkmate = "Ka7#"
  1855.     case Ka8Checkmate = "Ka8#"
  1856.     case Kb1Checkmate = "Kb1#"
  1857.     case Kb2Checkmate = "Kb2#"
  1858.     case Kb3Checkmate = "Kb3#"
  1859.     case Kb4Checkmate = "Kb4#"
  1860.     case Kb5Checkmate = "Kb5#"
  1861.     case Kb6Checkmate = "Kb6#"
  1862.     case Kb7Checkmate = "Kb7#"
  1863.     case Kb8Checkmate = "Kb8#"
  1864.     case Kc1Checkmate = "Kc1#"
  1865.     case Kc2Checkmate = "Kc2#"
  1866.     case Kc3Checkmate = "Kc3#"
  1867.     case Kc4Checkmate = "Kc4#"
  1868.     case Kc5Checkmate = "Kc5#"
  1869.     case Kc6Checkmate = "Kc6#"
  1870.     case Kc7Checkmate = "Kc7#"
  1871.     case Kc8Checkmate = "Kc8#"
  1872.     case Kd1Checkmate = "Kd1#"
  1873.     case Kd2Checkmate = "Kd2#"
  1874.     case Kd3Checkmate = "Kd3#"
  1875.     case Kd4Checkmate = "Kd4#"
  1876.     case Kd5Checkmate = "Kd5#"
  1877.     case Kd6Checkmate = "Kd6#"
  1878.     case Kd7Checkmate = "Kd7#"
  1879.     case Kd8Checkmate = "Kd8#"
  1880.     case Ke1Checkmate = "Ke1#"
  1881.     case Ke2Checkmate = "Ke2#"
  1882.     case Ke3Checkmate = "Ke3#"
  1883.     case Ke4Checkmate = "Ke4#"
  1884.     case Ke5Checkmate = "Ke5#"
  1885.     case Ke6Checkmate = "Ke6#"
  1886.     case Ke7Checkmate = "Ke7#"
  1887.     case Ke8Checkmate = "Ke8#"
  1888.     case Kf1Checkmate = "Kf1#"
  1889.     case Kf2Checkmate = "Kf2#"
  1890.     case Kf3Checkmate = "Kf3#"
  1891.     case Kf4Checkmate = "Kf4#"
  1892.     case Kf5Checkmate = "Kf5#"
  1893.     case Kf6Checkmate = "Kf6#"
  1894.     case Kf7Checkmate = "Kf7#"
  1895.     case Kf8Checkmate = "Kf8#"
  1896.     case Kg1Checkmate = "Kg1#"
  1897.     case Kg2Checkmate = "Kg2#"
  1898.     case Kg3Checkmate = "Kg3#"
  1899.     case Kg4Checkmate = "Kg4#"
  1900.     case Kg5Checkmate = "Kg5#"
  1901.     case Kg6Checkmate = "Kg6#"
  1902.     case Kg7Checkmate = "Kg7#"
  1903.     case Kg8Checkmate = "Kg8#"
  1904.     case Kh1Checkmate = "Kh1#"
  1905.     case Kh2Checkmate = "Kh2#"
  1906.     case Kh3Checkmate = "Kh3#"
  1907.     case Kh4Checkmate = "Kh4#"
  1908.     case Kh5Checkmate = "Kh5#"
  1909.     case Kh6Checkmate = "Kh6#"
  1910.     case Kh7Checkmate = "Kh7#"
  1911.     case Kh8Checkmate = "Kh8#"
  1912. }
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement