Frame 1
_root.showADS = false;
_root.intADS = setInterval(function () {
_root.showADS = true;
}, 25000);
stop();
Instance of Symbol 7 MovieClip "preloader_mc" in Frame 1
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int((loaded / total) * 100);
gotoAndStop(percent);
if ((loaded == total) && (_root.showADS == true)) {
clearInterval(_root.intADS);
trace(total);
trace(loaded);
trace(percent);
_root.gotoAndPlay(2);
}
}
Instance of Symbol 18 MovieClip "by_mc" in Frame 1
on (keyPress "<Space>") {
_root.by_mc._x = 70.3;
_root.by_mc._y = 18.1;
}
on (press) {
_root.by_mc._x = -75.3;
_root.by_mc._y = -18.1;
getURL ("http://www.galex.com.ua/", "BLANK");
}
Frame 2
function adslock() {
lockADS = true;
domain_ads_parts = _url.split("://");
real_ads_domain = domain_ads_parts[1].split("/");
domain_ads.text = real_ads_domain[0];
for (x in _root.urls_not_ads) {
if (_root.urls_not_ads[x] == real_ads_domain[0]) {
lockADS = false;
}
}
trace(lockADS);
if (lockADS == false) {
_root.menuha_mc.ads_mc.gotoAndStop(1);
} else {
_root.menuha_mc.ads_mc.gotoAndStop(2);
}
clearInterval(_root.intADSlock);
}
urls_not_ads = ["www.flashgamelicense.com", "www.minijuegos.com", "minijuegos.com", "www.chat.minijuegos.com", "chat.minijuegos.com", "www.minichat.minijuegos.com", "minichat.minijuegos.com", "www.minijuegos.es", "minijuegos.es", "www.chat.minijuegos.es", "chat.minijuegos.es", "www.minichat.minijuegos.es", "minichat.minijuegos.es"];
intADSlock = setInterval(adslock, 240000);
plchess_bl = false;
plpuzzl_bl = false;
memo_bl = false;
memory = 1;
menuha_mc.ng_btn.onPress = function () {
getURL ("http://www.minijuegos.com/", "BLANK");
};
menuha_mc.plshe_btn.onPress = function () {
tween1 = new mx.transitions.Tween(menuha_mc, "_x", mx.transitions.easing.Strong.easeOut, menuha_mc._x, 728.6, 10, false);
help_mc._y = -281;
board_mc.numPuz_txt.text = "";
board_mc.mateIn_txt.text = "Chess";
if (plchess_bl == false) {
plchess_bl = true;
plpuzzl_bl = false;
memo_bl = false;
startChess();
all_btn_off();
}
};
menuha_mc.men_btn.onPress = function () {
tween2 = new mx.transitions.Tween(menuha_mc, "_x", mx.transitions.easing.Back.easeOut, menuha_mc._y, 246.8, 10, false);
};
menuha_mc.plpuz_btn.onPress = function () {
tween1 = new mx.transitions.Tween(menuha_mc, "_x", mx.transitions.easing.Strong.easeOut, menuha_mc._x, 728.6, 10, false);
help_mc._y = -281;
board_mc.mateIn_txt.text = "Mate in 3";
board_mc.numPuz_txt.text = (menuha_mc.numProbl_txt.text + "/") + menuha_mc.allPuz_txt.text;
plchess_bl = false;
plpuzzl_bl = true;
memo_bl = false;
memory = 1;
startChess();
var _local1 = Number(menuha_mc.numProbl_txt.text);
if (_local1 == 1) {
all_btn_off();
nxt_btn_in();
ran_btn_in();
} else if (_local1 == menuha_mc.allPuz_txt.text) {
all_btn_off();
prev_btn_in();
ran_btn_in();
} else {
all_btn_off();
prev_btn_in();
ran_btn_in();
nxt_btn_in();
}
};
menuha_mc.hlp_btn.onPress = function () {
tween3 = new mx.transitions.Tween(help_mc, "_y", mx.transitions.easing.Strong.easeOut, -281, 267.5, 10, false);
};
help_mc.clhlp_btn.onPress = function () {
tween4 = new mx.transitions.Tween(help_mc, "_y", mx.transitions.easing.Back.easeOut, 267.5, -281, 10, false);
};
Instance of Symbol 230 MovieClip "minijuegos_mc" in Frame 2
on (release) {
getURL ("http://www.minijuegos.com/", "BLANK");
}
Instance of Symbol 273 MovieClip "piece_3_7" in Frame 3
onClipEvent (load) {
}
Frame 4
function rest_btn_in() {
board_mc.rest_btn.enabled = true;
board_mc.rest_btn._alpha = 100;
board_mc.rest_btn.onRollOver = function () {
tween7 = new mx.transitions.Tween(board_mc.rest_btn, "_y", mx.transitions.easing.Back.easeOut, 277.9, 274, 10, false);
};
board_mc.rest_btn.onRollOut = function () {
tween8 = new mx.transitions.Tween(board_mc.rest_btn, "_y", mx.transitions.easing.Back.easeOut, 274, 277.9, 10, false);
};
board_mc.rest_btn.onPress = function () {
bc_btn_off();
rest_btn_off();
memory = 1;
memo_bl = false;
if (plchess_bl) {
board_mc.mateIn_txt.text = "Chess";
}
tween8 = new mx.transitions.Tween(board_mc.rest_btn, "_y", mx.transitions.easing.Back.easeOut, 274, 277.9, 10, false);
startChess();
};
}
function rest_btn_off() {
board_mc.rest_btn.enabled = false;
board_mc.rest_btn._alpha = 50;
}
function bc_btn_in() {
board_mc.bc_btn.enabled = true;
board_mc.bc_btn._alpha = 100;
board_mc.bc_btn.onRollOver = function () {
tween7 = new mx.transitions.Tween(board_mc.bc_btn, "_y", mx.transitions.easing.Back.easeOut, 277.9, 274, 10, false);
};
board_mc.bc_btn.onRollOut = function () {
tween8 = new mx.transitions.Tween(board_mc.bc_btn, "_y", mx.transitions.easing.Back.easeOut, 274, 277.9, 10, false);
};
board_mc.bc_btn.onPress = function () {
memory--;
backChess();
if (board_mc.mateIn_txt.text != "Chess") {
board_mc.mateIn_txt.text = "Chess";
}
if (plpuzzl_bl) {
mateIn++;
if (mateIn >= 0) {
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
}
if (memory < 2) {
memo_bl = false;
bc_btn_off();
if (plpuzzl_bl) {
rest_btn_off();
}
tween8 = new mx.transitions.Tween(board_mc.bc_btn, "_y", mx.transitions.easing.Back.easeOut, 274, 277.9, 10, false);
}
};
}
function bc_btn_off() {
board_mc.bc_btn.enabled = false;
board_mc.bc_btn._alpha = 50;
}
function prev_btn_in() {
board_mc.prev_btn.enabled = true;
board_mc.prev_btn._alpha = 100;
board_mc.prev_btn.onRollOver = function () {
tween7 = new mx.transitions.Tween(board_mc.prev_btn, "_y", mx.transitions.easing.Back.easeOut, -296.6, -292, 10, false);
};
board_mc.prev_btn.onRollOut = function () {
tween8 = new mx.transitions.Tween(board_mc.prev_btn, "_y", mx.transitions.easing.Back.easeOut, -292, -296.6, 10, false);
};
board_mc.prev_btn.onPress = function () {
var _local1 = Number(menuha_mc.numProbl_txt.text);
menuha_mc.numProbl_txt.text--;
board_mc.numPuz_txt.text = (menuha_mc.numProbl_txt.text + "/") + menuha_mc.allPuz_txt.text;
if (_local1 == 2) {
tween8 = new mx.transitions.Tween(board_mc.prev_btn, "_y", mx.transitions.easing.Back.easeOut, -292, -296.6, 10, false);
all_btn_off();
nxt_btn_in();
ran_btn_in();
}
if (_local1 == menuha_mc.allPuz_txt.text) {
nxt_btn_in();
}
plchess_bl = false;
plpuzzl_bl = true;
memo_bl = false;
memory = 1;
startChess();
};
}
function prev_btn_off() {
board_mc.prev_btn.enabled = false;
board_mc.prev_btn._alpha = 50;
}
function ran_btn_in() {
board_mc.ran_btn.enabled = true;
board_mc.ran_btn._alpha = 100;
board_mc.ran_btn.onRollOver = function () {
tween7 = new mx.transitions.Tween(board_mc.ran_btn, "_y", mx.transitions.easing.Back.easeOut, -296.6, -292, 10, false);
};
board_mc.ran_btn.onRollOut = function () {
tween8 = new mx.transitions.Tween(board_mc.ran_btn, "_y", mx.transitions.easing.Back.easeOut, -292, -296.6, 10, false);
};
board_mc.ran_btn.onPress = function () {
var _local1 = Math.ceil(Math.random() * menuha_mc.allPuz_txt.text);
trace(Number(_local1));
if (Number(_local1) == menuha_mc.numProbl_txt.text) {
trace("!");
if (Number(_local1) == 1) {
_local1++;
} else if (Number(_local1) == menuha_mc.allPuz_txt.text) {
_local1--;
} else {
trace("!!");
_local1++;
}
}
if (Number(_local1) == 1) {
all_btn_off();
nxt_btn_in();
ran_btn_in();
} else if (Number(_local1) == menuha_mc.allPuz_txt.text) {
all_btn_off();
prev_btn_in();
ran_btn_in();
} else {
all_btn_off();
prev_btn_in();
ran_btn_in();
nxt_btn_in();
}
menuha_mc.numProbl_txt.text = _local1;
board_mc.numPuz_txt.text = (menuha_mc.numProbl_txt.text + "/") + menuha_mc.allPuz_txt.text;
plchess_bl = false;
plpuzzl_bl = true;
memo_bl = false;
memory = 1;
startChess();
};
}
function ran_btn_off() {
board_mc.ran_btn.enabled = false;
board_mc.ran_btn._alpha = 50;
}
function nxt_btn_in() {
board_mc.nxt_btn.enabled = true;
board_mc.nxt_btn._alpha = 100;
board_mc.nxt_btn.onRollOver = function () {
tween7 = new mx.transitions.Tween(board_mc.nxt_btn, "_y", mx.transitions.easing.Back.easeOut, -296.6, -292, 10, false);
};
board_mc.nxt_btn.onRollOut = function () {
tween8 = new mx.transitions.Tween(board_mc.nxt_btn, "_y", mx.transitions.easing.Back.easeOut, -292, -296.6, 10, false);
};
board_mc.nxt_btn.onPress = function () {
var _local1 = Number(menuha_mc.numProbl_txt.text);
menuha_mc.numProbl_txt.text++;
board_mc.numPuz_txt.text = (menuha_mc.numProbl_txt.text + "/") + menuha_mc.allPuz_txt.text;
_local1++;
if (_local1 == menuha_mc.allPuz_txt.text) {
tween8 = new mx.transitions.Tween(board_mc.nxt_btn, "_y", mx.transitions.easing.Back.easeOut, -292, -296.6, 10, false);
all_btn_off();
prev_btn_in();
ran_btn_in();
}
if (_local1 > 1) {
prev_btn_in();
}
if (_local1 == 1) {
all_btn_off();
nxt_btn_in();
ran_btn_in();
} else if (_local1 == menuha_mc.allPuz_txt.text) {
all_btn_off();
prev_btn_in();
ran_btn_in();
} else {
all_btn_off();
prev_btn_in();
ran_btn_in();
nxt_btn_in();
}
plchess_bl = false;
plpuzzl_bl = true;
memo_bl = false;
memory = 1;
startChess();
};
}
function nxt_btn_off() {
board_mc.nxt_btn.enabled = false;
board_mc.nxt_btn._alpha = 50;
}
function all_btn_off() {
nxt_btn_off();
ran_btn_off();
prev_btn_off();
bc_btn_off();
rest_btn_off();
}
all_btn_off();
function MovementRules() {
this.up = 0;
this.down = 0;
this.left = 0;
this.right = 0;
this.up_left = 0;
this.up_right = 0;
this.down_left = 0;
this.down_right = 0;
this.isKnight = false;
this.isPawn = false;
}
function Move(firstPosX, firstPosY, lastPosX, lastPosY) {
this.fPX = firstPosX;
this.fPY = firstPosY;
this.lPX = lastPosX;
this.lPY = lastPosY;
}
function rulesFor(piece) {
if ((piece == PAWN_W) || (piece == PAWN_B)) {
return(pawnRules);
}
if ((piece == KNIGHT_W) || (piece == KNIGHT_B)) {
return(knightRules);
}
if ((piece == ROOK_W) || (piece == ROOK_B)) {
return(rookRules);
}
if ((piece == BISSHOP_W) || (piece == BISSHOP_B)) {
return(bisshopRules);
}
if ((piece == QUEEN_W) || (piece == QUEEN_B)) {
return(queenRules);
}
if ((piece == KING_W) || (piece == KING_B)) {
return(kingRules);
}
}
function initChessBoard() {
chessBoard = new Array(8);
if (memo_bl) {
initMemoryBoard();
} else if (plpuzzl_bl) {
initPuzzleBoard();
} else if (plchess_bl) {
chessBoard[0] = new Array(ROOK_B, KNIGHT_B, BISSHOP_B, QUEEN_B, KING_B, BISSHOP_B, KNIGHT_B, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, PAWN_W, PAWN_W, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, KNIGHT_W, BISSHOP_W, QUEEN_W, KING_W, BISSHOP_W, KNIGHT_W, ROOK_W);
} else {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
var _local3 = 0;
for(;;){
if (_local3 >= 8) {
return(undefined);
}
var _local2 = 0;
while (_local2 < 8) {
_root[(("piece_" + _local3) + "_") + _local2].showPiece(chessBoard[_local3][_local2]);
_root[(("piece_" + _local3) + "_") + _local2].row = _local3;
_root[(("piece_" + _local3) + "_") + _local2].col = _local2;
_local2++;
}
_local3++;
};
}
function calculateMoves(row, col, side) {
if (chessBoard[row][col] == VOID) {
trace("Error: no piece to calculate moves for !!");
return(null);
}
var _local3 = new Array();
rules = rulesFor(chessBoard[row][col]);
var _local11;
if (rules.isKnight) {
var _local8 = row - 1;
var _local7 = col + 2;
if ((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) {
if ((chessBoard[_local8][_local7] == VOID) || (side != (chessBoard[_local8][_local7] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7;
}
}
_local8 = row - 1;
_local7 = col - 2;
if ((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) {
if ((chessBoard[_local8][_local7] == VOID) || (side != (chessBoard[_local8][_local7] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7;
}
}
_local8 = row + 1;
_local7 = col + 2;
if ((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) {
if ((chessBoard[_local8][_local7] == VOID) || (side != (chessBoard[_local8][_local7] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7;
}
}
_local8 = row + 1;
_local7 = col - 2;
if ((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) {
if ((chessBoard[_local8][_local7] == VOID) || (side != (chessBoard[_local8][_local7] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7;
}
}
_local8 = row - 2;
_local7 = col + 1;
if ((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) {
if ((chessBoard[_local8][_local7] == VOID) || (side != (chessBoard[_local8][_local7] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7;
}
}
_local8 = row - 2;
_local7 = col - 1;
if ((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) {
if ((chessBoard[_local8][_local7] == VOID) || (side != (chessBoard[_local8][_local7] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7;
}
}
_local8 = row + 2;
_local7 = col - 1;
if ((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) {
if ((chessBoard[_local8][_local7] == VOID) || (side != (chessBoard[_local8][_local7] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7;
}
}
_local8 = row + 2;
_local7 = col + 1;
if ((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) {
if ((chessBoard[_local8][_local7] == VOID) || (side != (chessBoard[_local8][_local7] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7;
}
}
} else if (rules.isPawn) {
if (side == SIDE_PLAYER) {
var _local10 = false;
var _local6 = row - 1;
if (chessBoard[_local6][col] == VOID) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | col;
_local10 = true;
}
if ((row == 6) && (_local10)) {
_local6--;
if (chessBoard[_local6][col] == VOID) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | col;
}
}
var _local8 = row - 1;
var _local7 = col - 1;
if ((((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) && (chessBoard[_local8][_local7] != VOID)) && (side != (chessBoard[_local8][_local7] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7;
}
_local8 = row - 1;
_local7 = col + 1;
if ((((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) && (chessBoard[_local8][_local7] != VOID)) && (side != (chessBoard[_local8][_local7] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7;
}
} else {
var _local10 = false;
var _local6 = row + 1;
if (chessBoard[_local6][col] == VOID) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | col;
_local10 = true;
}
if ((row == 1) && (_local10)) {
_local6++;
if (chessBoard[_local6][col] == VOID) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | col;
}
}
var _local8 = row + 1;
var _local7 = col - 1;
if ((((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) && (chessBoard[_local8][_local7] != VOID)) && (side != (chessBoard[_local8][_local7] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7;
}
_local8 = row + 1;
_local7 = col + 1;
if ((((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) && (chessBoard[_local8][_local7] != VOID)) && (side != (chessBoard[_local8][_local7] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7;
}
}
} else {
var _local9 = rules.up;
var _local6 = row - 1;
while ((0 < _local9) && (_local6 >= 0)) {
if ((chessBoard[_local6][col] == VOID) || (side != (chessBoard[_local6][col] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | col;
} else {
break;
}
if (chessBoard[_local6][col] != VOID) {
break;
}
_local6--;
_local9--;
}
_local9 = rules.down;
_local6 = row + 1;
while ((0 < _local9) && (_local6 < 8)) {
if ((chessBoard[_local6][col] == VOID) || (side != (chessBoard[_local6][col] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | col;
} else {
break;
}
if (chessBoard[_local6][col] != VOID) {
break;
}
_local6++;
_local9--;
}
_local9 = rules.left;
var _local5 = col - 1;
while ((0 < _local9) && (_local5 >= 0)) {
if ((chessBoard[row][_local5] == VOID) || (side != (chessBoard[row][_local5] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (row << 3)) | _local5;
} else {
break;
}
if (chessBoard[row][_local5] != VOID) {
break;
}
_local5--;
_local9--;
}
_local9 = rules.right;
_local5 = col + 1;
while ((0 < _local9) && (_local5 < 8)) {
if ((chessBoard[row][_local5] == VOID) || (side != (chessBoard[row][_local5] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (row << 3)) | _local5;
} else {
break;
}
if (chessBoard[row][_local5] != VOID) {
break;
}
_local5++;
_local9--;
}
_local9 = rules.up_left;
_local6 = row - 1;
_local5 = col - 1;
while (((0 < _local9) && (_local5 >= 0)) && (_local6 >= 0)) {
if ((chessBoard[_local6][_local5] == VOID) || (side != (chessBoard[_local6][_local5] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | _local5;
} else {
break;
}
if (chessBoard[_local6][_local5] != VOID) {
break;
}
_local6--;
_local5--;
_local9--;
}
_local9 = rules.up_right;
_local6 = row - 1;
_local5 = col + 1;
while (((0 < _local9) && (_local5 < 8)) && (_local6 >= 0)) {
if ((chessBoard[_local6][_local5] == VOID) || (side != (chessBoard[_local6][_local5] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | _local5;
} else {
break;
}
if (chessBoard[_local6][_local5] != VOID) {
break;
}
_local6--;
_local5++;
_local9--;
}
_local9 = rules.down_left;
_local6 = row + 1;
_local5 = col - 1;
while (((0 < _local9) && (_local5 >= 0)) && (_local6 < 8)) {
if ((chessBoard[_local6][_local5] == VOID) || (side != (chessBoard[_local6][_local5] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | _local5;
} else {
break;
}
if (chessBoard[_local6][_local5] != VOID) {
break;
}
_local6++;
_local5--;
_local9--;
}
_local9 = rules.down_right;
_local6 = row + 1;
_local5 = col + 1;
while (((0 < _local9) && (_local5 < 8)) && (_local6 < 8)) {
if ((chessBoard[_local6][_local5] == VOID) || (side != (chessBoard[_local6][_local5] & 1))) {
_local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | _local5;
} else {
break;
}
if (chessBoard[_local6][_local5] != VOID) {
break;
}
_local6++;
_local5++;
_local9--;
}
}
return(_local3);
}
function checkChessState(side) {
var _local3;
var _local4;
var _local6 = 0;
while (_local6 < 8) {
var _local5 = 0;
while (_local5 < 8) {
if (((chessBoard[_local6][_local5] & 1) == getOpponent(side)) && (chessBoard[_local6][_local5] != VOID)) {
compMoves = calculateMoves(_local6, _local5, getOpponent(side));
var _local2 = 0;
while (_local2 < compMoves.length) {
_local3 = (compMoves[_local2] >> 3) & 7;
_local4 = compMoves[_local2] & 7;
if (((chessBoard[_local3][_local4] == KING_W) && (side == SIDE_PLAYER)) || ((chessBoard[_local3][_local4] == KING_B) && (side == SIDE_COMPUTER))) {
if (side == SIDE_PLAYER) {
kingInChess(_local3, _local4, side);
}
return(false);
}
_local2++;
}
}
_local5++;
}
_local6++;
}
if (side == SIDE_PLAYER) {
var _local7 = 0;
_local6 = 0;
while (_local6 < 8) {
var _local5 = 0;
while (_local5 < 8) {
if (((chessBoard[_local6][_local5] & 1) == SIDE_PLAYER) && (chessBoard[_local6][_local5] != VOID)) {
_local7 = _local7 + select(_local6, _local5, true);
}
_local5++;
}
_local6++;
}
if (_local7 == 0) {
invalidateAll();
board_mc.mateIn_txt.text = "Pat";
}
}
return(true);
}
function computerLoose() {
trace("ComputerLost");
invalidateAll();
board_mc.mateIn_txt.text = "Checkmate";
stop();
}
function deselect(piece) {
resetAllSelection();
pieceSelected = null;
possiblePositions = null;
}
function displayMove(move, side) {
var _local7 = (move >> 9) & 7;
var _local6 = (move >> 6) & 7;
var _local5 = (move >> 3) & 7;
var _local4 = move & 7;
var _local2 = " ";
if (side == SIDE_COMPUTER) {
_local2 = _local2 + "Comp: ";
} else {
_local2 = _local2 + "You: ";
}
_local2 = _local2 + letters[_local6];
_local2 = _local2 + (9 - (_local7 + 1));
_local2 = _local2 + " - ";
_local2 = _local2 + letters[_local4];
_local2 = _local2 + (9 - (_local5 + 1));
_root.myscroll.appendText(_local2);
}
function do_move(move, side) {
var _local3 = VOID;
var _local5 = (move >> 9) & 7;
var _local4 = (move >> 6) & 7;
var _local2 = (move >> 3) & 7;
var _local1 = move & 7;
if (side == SIDE_COMPUTER) {
if (chessBoard[_local2][_local1] != VOID) {
_local3 = chessBoard[_local2][_local1];
playerScore = playerScore - (chessBoard[_local2][_local1] >> 1);
computerScore = computerScore + (chessBoard[_local2][_local1] >> 1);
}
chessBoard[_local2][_local1] = chessBoard[_local5][_local4];
chessBoard[_local5][_local4] = VOID;
return(_local3);
}
if (chessBoard[_local2][_local1] != VOID) {
_local3 = chessBoard[_local2][_local1];
playerScore = playerScore + (chessBoard[_local2][_local1] >> 1);
computerScore = computerScore - (chessBoard[_local2][_local1] >> 1);
}
chessBoard[_local2][_local1] = chessBoard[_local5][_local4];
chessBoard[_local5][_local4] = VOID;
return(_local3);
}
function invalidateAll() {
var _local3 = 0;
for(;;){
if (_local3 >= 8) {
return(undefined);
}
var _local2 = 0;
while (_local2 < 8) {
_root[(("piece_" + _local3) + "_") + _local2].marker.gotoAndStop("disabled");
_local2++;
}
_local3++;
};
}
function movePlayer() {
resetAllSelection();
checkChessState(SIDE_PLAYER);
signal.gotoAndStop("player");
}
function moveRealPlayer(move, side) {
var _local3 = (move >> 9) & 7;
var _local2 = (move >> 6) & 7;
var _local5 = (move >> 3) & 7;
var _local4 = move & 7;
if (pieceSelected == null) {
trace("ERROR: no piece selected");
return(undefined);
}
if ((chessBoard[_local3][_local2] == KING_W) && (chessBoard[_local5][_local4] == ROOK_W)) {
trace("rocade");
possibleRocade = false;
chessBoard[_local3][_local2] = VOID;
chessBoard[_local5][_local4] = VOID;
if (_local2 < _local4) {
chessBoard[_local3][_local2 + 2] = KING_W;
chessBoard[_local3][_local2 + 1] = ROOK_W;
_root[(("piece_" + _local3) + "_") + (_local2 + 1)].showPiece(chessBoard[_local3][_local2 + 1]);
_root[(("piece_" + _local3) + "_") + (_local2 + 2)].showPiece(chessBoard[_local3][_local2 + 2]);
} else {
chessBoard[_local3][_local2 - 2] = KING_W;
chessBoard[_local3][_local2 - 1] = ROOK_W;
_root[(("piece_" + _local3) + "_") + (_local2 - 1)].showPiece(chessBoard[_local3][_local2 - 1]);
_root[(("piece_" + _local3) + "_") + (_local2 - 2)].showPiece(chessBoard[_local3][_local2 - 2]);
}
_root[(("piece_" + _local5) + "_") + _local4].showPiece(chessBoard[_local5][_local4]);
_root[(("piece_" + _local3) + "_") + _local2].showPiece(chessBoard[_local3][_local2]);
} else {
if ((chessBoard[_local3][_local2] == KING_W) || (chessBoard[_local3][_local2] == ROOK_W)) {
possibleRocade = false;
}
var _local7 = chessBoard[_local5][_local4];
if (((_local7 & 1) == SIDE_COMPUTER) && (_local7 != VOID)) {
trace("capture the computer piece");
}
chessBoard[_local5][_local4] = chessBoard[_local3][_local2];
chessBoard[_local3][_local2] = VOID;
_root[(("piece_" + _local5) + "_") + _local4].showPiece(chessBoard[_local5][_local4]);
_root[(("piece_" + _local3) + "_") + _local2].showPiece(VOID);
}
invalidateAll();
if ((_local5 == 0) && (chessBoard[_local5][_local4] == PAWN_W)) {
trace("promotion");
chessBoard[_local5][_local4] = QUEEN_W;
_root[(("piece_" + _local5) + "_") + _local4].showPiece(QUEEN_W);
}
displayMove(move, SIDE_PLAYER);
gotoAndPlay (7);
}
function moveRealComputer(move) {
var _local6 = (move >> 9) & 7;
var _local5 = (move >> 6) & 7;
var _local2 = (move >> 3) & 7;
var _local3 = move & 7;
var _local7 = chessBoard[_local2][_local3];
if (((_local7 & 1) == SIDE_PLAYER) && (_local7 != VOID)) {
trace("captures the player piece");
}
chessBoard[_local2][_local3] = chessBoard[_local6][_local5];
chessBoard[_local6][_local5] = VOID;
_root[(("piece_" + _local2) + "_") + _local3].showPiece(chessBoard[_local2][_local3]);
_root[(("piece_" + _local6) + "_") + _local5].showPiece(VOID);
if ((_local2 == 7) && (chessBoard[_local2][_local3] == PAWN_B)) {
trace("promotion");
chessBoard[_local2][_local3] = QUEEN_B;
_root[(("piece_" + _local2) + "_") + _local3].showPiece(QUEEN_B);
}
displayMove(move, SIDE_COMPUTER);
movePlayer();
}
function resetAllSelection() {
var _local3 = 0;
for(;;){
if (_local3 >= 8) {
return(undefined);
}
var _local2 = 0;
while (_local2 < 8) {
if ((chessBoard[_local3][_local2] == VOID) || ((chessBoard[_local3][_local2] & 1) == SIDE_COMPUTER)) {
_root[(("piece_" + _local3) + "_") + _local2].marker.gotoAndStop("disabled");
} else {
_root[(("piece_" + _local3) + "_") + _local2].marker.gotoAndStop("normal");
}
_local2++;
}
_local3++;
};
}
function select(row, col, real) {
resetAllSelection();
var _local4 = calculateMoves(row, col, SIDE_PLAYER);
if (possibleRocade && (real != true)) {
if (chessBoard[row][col] == KING_W) {
var _local3 = col;
var _local7 = true;
while (_local7) {
_local3++;
if (chessBoard[row][_local3] != VOID) {
if (chessBoard[row][_local3] == ROOK_W) {
if (verifyKingState((((row << 9) | (col << 6)) | (row << 3)) | (col + 2), SIDE_PLAYER)) {
_local4[_local4.length] = (((row << 9) | (col << 6)) | (row << 3)) | _local3;
}
}
_local7 = false;
}
}
_local3 = col;
_local7 = true;
while (_local7) {
_local3--;
if (chessBoard[row][_local3] != VOID) {
if (chessBoard[row][_local3] == ROOK_W) {
if (verifyKingState((((row << 9) | (col << 6)) | (row << 3)) | (col - 2), SIDE_PLAYER)) {
_local4[_local4.length] = (((row << 9) | (col << 6)) | (row << 3)) | _local3;
}
}
_local7 = false;
}
}
}
}
var _local6 = new Array();
var _local8 = 0;
while (_local8 < _local4.length) {
if (verifyKingState(_local4[_local8], SIDE_PLAYER)) {
_local6[_local6.length] = _local4[_local8];
}
_local8++;
}
if (real != true) {
_local8 = 0;
while (_local8 < _local6.length) {
_root[(("piece_" + ((_local6[_local8] >> 3) & 7)) + "_") + (_local6[_local8] & 7)].marker.gotoAndStop("selectedTo");
_local8++;
}
pieceSelected = _root[(("piece_" + row) + "_") + col];
return(undefined);
}
return(_local6.length);
}
function kingInChess(rowKing, colKing, side) {
trace(" >>>> CHESS " + side);
possibleRocade = false;
if (side == SIDE_PLAYER) {
board_mc.mateIn_txt.text = "Check";
} else {
board_mc.mateIn_txt.text = "Check";
}
var _local4;
var _local6 = true;
var _local3 = 0;
while (_local3 < 8) {
var _local2 = 0;
while (_local2 < 8) {
if (((chessBoard[_local3][_local2] & 1) == side) && (chessBoard[_local3][_local2] != VOID)) {
_local4 = calculateMoves(_local3, _local2, side);
disabled = true;
var _local1 = 0;
while (_local1 < _local4.length) {
if (verifyKingState(_local4[_local1], side)) {
_local6 = false;
}
_local1++;
}
}
_local2++;
}
_local3++;
}
if (_local6) {
loose(side);
}
}
function loose(side) {
if (side == SIDE_COMPUTER) {
computerLoose();
return(undefined);
}
playerLoose();
}
function playerLoose() {
trace("Player Loose");
invalidateAll();
board_mc.mateIn_txt.text = "Player Loose";
stop();
}
function search(side, depth, alpha, beta) {
var _local5 = -INFINITY;
var _local3 = new Array();
var _local8 = null;
var _local7;
var _local11;
var _local6 = 0;
while (_local6 < 8) {
var _local1 = 0;
while (_local1 < 8) {
if (((chessBoard[_local6][_local1] & 1) == side) && (chessBoard[_local6][_local1] != VOID)) {
_local3 = _local3.concat(calculateMoves(_local6, _local1, side));
}
_local1++;
}
_local6++;
}
_local6 = 0;
while (_local6 < _local3.length) {
_local8 = do_move(_local3[_local6], side);
if (depth == 0) {
_local7 = ((side == SIDE_COMPUTER) ? (computerScore) : (playerScore));
} else {
_local7 = -search(getOpponent(side), depth - 1, -1 * beta, -1 * alpha);
}
undo_move(_local3[_local6], side, _local8);
if (_local5 < _local7) {
_local5 = _local7;
}
if (alpha < _local5) {
alpha = _local5;
}
if (alpha >= beta) {
return(alpha);
}
_local6++;
}
return(_local5);
}
function shuffle(collection) {
var _local4 = new Array();
var _local3;
var _local2;
while (collection.length != 0) {
_local2 = Math.round(Math.random() * (collection.length - 1));
_local3 = collection[_local2];
collection.splice(_local2, 1);
_local4.push(_local3);
}
return(_local4);
}
function getOpponent(side) {
if (side == SIDE_PLAYER) {
return(SIDE_COMPUTER);
}
return(SIDE_PLAYER);
}
function undo_move(move, side, pieceCaptured) {
var _local6 = (move >> 9) & 7;
var _local5 = (move >> 6) & 7;
var _local2 = (move >> 3) & 7;
var _local1 = move & 7;
if (side == SIDE_COMPUTER) {
chessBoard[_local6][_local5] = chessBoard[_local2][_local1];
if (pieceCaptured == VOID) {
chessBoard[_local2][_local1] = VOID;
} else {
chessBoard[_local2][_local1] = pieceCaptured;
playerScore = playerScore + (chessBoard[_local2][_local1] >> 1);
computerScore = computerScore - (chessBoard[_local2][_local1] >> 1);
}
return(undefined);
}
chessBoard[_local6][_local5] = chessBoard[_local2][_local1];
if (pieceCaptured != VOID) {
chessBoard[_local2][_local1] = pieceCaptured;
playerScore = playerScore - (chessBoard[_local2][_local1] >> 1);
computerScore = computerScore + (chessBoard[_local2][_local1] >> 1);
return(undefined);
}
chessBoard[_local2][_local1] = VOID;
}
function verifyKingState(move, side) {
var _local8;
var _local4;
var _local5;
var _local6;
_local8 = do_move(move, side);
var _local7 = 0;
while (_local7 < 8) {
var _local3 = 0;
while (_local3 < 8) {
if (((chessBoard[_local7][_local3] & 1) == getOpponent(side)) && (chessBoard[_local7][_local3] != VOID)) {
_local4 = calculateMoves(_local7, _local3, getOpponent(side));
var _local1 = 0;
while (_local1 < _local4.length) {
_local5 = (_local4[_local1] >> 3) & 7;
_local6 = _local4[_local1] & 7;
if (((chessBoard[_local5][_local6] == KING_W) && (side == SIDE_PLAYER)) || ((chessBoard[_local5][_local6] == KING_B) && (side == SIDE_COMPUTER))) {
undo_move(move, side, _local8);
return(false);
}
_local1++;
}
}
_local3++;
}
_local7++;
}
undo_move(move, side, _local8);
return(true);
}
function startChess() {
VOID = -1;
PAWN_W = 5;
KNIGHT_W = 13;
ROOK_W = 21;
BISSHOP_W = 17;
QUEEN_W = 29;
KING_W = 2001;
PAWN_B = 4;
KNIGHT_B = 12;
ROOK_B = 20;
BISSHOP_B = 16;
QUEEN_B = 28;
KING_B = 4000;
SIDE_COMPUTER = 0;
SIDE_PLAYER = 1;
letters = new Array("a", "b", "c", "d", "e", "f", "g", "h");
possibleRocade = true;
pawnRules = new MovementRules();
pawnRules.isPawn = true;
pawnRules.up = 1;
knightRules = new MovementRules();
knightRules.isKnight = true;
rookRules = new MovementRules();
rookRules.up = 8;
rookRules.down = 8;
rookRules.left = 8;
rookRules.right = 8;
bisshopRules = new MovementRules();
bisshopRules.up_left = 8;
bisshopRules.up_right = 8;
bisshopRules.down_left = 8;
bisshopRules.down_right = 8;
queenRules = new MovementRules();
queenRules.up = 8;
queenRules.down = 8;
queenRules.left = 8;
queenRules.right = 8;
queenRules.up_left = 8;
queenRules.up_right = 8;
queenRules.down_left = 8;
queenRules.down_right = 8;
kingRules = new MovementRules();
kingRules.up = 1;
kingRules.down = 1;
kingRules.left = 1;
kingRules.right = 1;
kingRules.up_left = 1;
kingRules.up_right = 1;
kingRules.down_left = 1;
kingRules.down_right = 1;
poMo = new Array();
initChessBoard();
movePlayer();
myscroll.clearText();
initMemory();
}
function backChess() {
initChessBoard();
movePlayer();
myscroll.clearText();
}
function initPuzzleBoard() {
if (getPuzzle == "Novice") {
initPuzzleNovice();
} else if (getPuzzle == "Beginner") {
initPuzzleBeginner();
} else if (getPuzzle == "Easy") {
initPuzzleEasy();
} else if (getPuzzle == "Moderate") {
initPuzzleModerate();
} else if (getPuzzle == "Difficult") {
initPuzzleDifficult();
} else if (getPuzzle == "Fiendish") {
initPuzzleFiendish();
}
}
function initPuzzleNovice() {
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
initPuzzleNum = Number(menuha_mc.numProbl_txt.text);
if ((initPuzzleNum > 0) && (initPuzzleNum <= 50)) {
initPuzzleNovice50();
}
if ((initPuzzleNum > 50) && (initPuzzleNum <= 100)) {
initPuzzleNovice100();
}
}
function initPuzzleNovice50() {
if (initPuzzleNum == 1) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("# 1461");
}
if (initPuzzleNum == 2) {
chessBoard[0] = new Array(VOID, VOID, BISSHOP_B, KING_B, BISSHOP_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, BISSHOP_B, BISSHOP_B, VOID, VOID, KNIGHT_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 3) {
chessBoard[0] = new Array(KNIGHT_B, KING_B, QUEEN_B, VOID, ROOK_B, ROOK_B, VOID, VOID);
chessBoard[1] = new Array(VOID, BISSHOP_B, PAWN_B, VOID, KNIGHT_B, VOID, VOID, VOID);
chessBoard[2] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, PAWN_B, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KNIGHT_W, BISSHOP_W, QUEEN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, VOID, VOID, VOID, VOID, ROOK_W, KING_W, VOID);
}
if (initPuzzleNum == 4) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_W, QUEEN_W, ROOK_B, KING_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_B, VOID);
chessBoard[5] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 5) {
chessBoard[0] = new Array(VOID, VOID, ROOK_B, VOID, KING_B, VOID, KING_W, BISSHOP_B);
chessBoard[1] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, PAWN_W, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, PAWN_W, PAWN_W, VOID, PAWN_W, PAWN_B, PAWN_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 6) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_B, PAWN_B, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, QUEEN_B, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, BISSHOP_B, VOID, VOID, VOID, VOID, KING_W);
}
if (initPuzzleNum == 7) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, QUEEN_W, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 8) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, KNIGHT_B, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 9) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, QUEEN_B, VOID, VOID, ROOK_B, KING_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, PAWN_B, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KNIGHT_B, VOID, QUEEN_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, KNIGHT_W, PAWN_W, ROOK_W);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, VOID, VOID, PAWN_W, BISSHOP_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
trace("#3217");
}
if (initPuzzleNum == 10) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, KNIGHT_W, KNIGHT_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, KNIGHT_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, KNIGHT_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KNIGHT_W, KNIGHT_W, KNIGHT_W, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KNIGHT_W, KNIGHT_W, KNIGHT_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, KNIGHT_W, KNIGHT_W, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KNIGHT_W, KNIGHT_W, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KNIGHT_W, KNIGHT_W, VOID, VOID, KING_W, VOID, VOID, VOID);
}
if (initPuzzleNum == 11) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_B, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_B, KNIGHT_B, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, KING_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 12) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_B, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
}
if (initPuzzleNum == 13) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
}
if (initPuzzleNum == 14) {
chessBoard[0] = new Array(VOID, VOID, BISSHOP_B, VOID, KING_B, VOID, KNIGHT_B, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_W, KNIGHT_B, VOID, VOID, PAWN_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_W, VOID, PAWN_W, KING_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_B, BISSHOP_B, QUEEN_B);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 15) {
chessBoard[0] = new Array(ROOK_B, KNIGHT_B, BISSHOP_B, QUEEN_B, KING_B, BISSHOP_B, KNIGHT_B, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B, VOID, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_W, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, KNIGHT_W, BISSHOP_W, QUEEN_W, KING_W, BISSHOP_W, KNIGHT_W, ROOK_W);
}
if (initPuzzleNum == 16) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 17) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[1] = new Array(BISSHOP_B, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, ROOK_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, KING_W, VOID);
}
if (initPuzzleNum == 18) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, QUEEN_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, BISSHOP_W, KING_W, BISSHOP_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, BISSHOP_W, BISSHOP_W, BISSHOP_W, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 19) {
chessBoard[0] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 20) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_B, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
}
if (initPuzzleNum == 21) {
chessBoard[0] = new Array(VOID, VOID, KING_W, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[3] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 22) {
chessBoard[0] = new Array(VOID, ROOK_B, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, PAWN_B, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 23) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, PAWN_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 24) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[1] = new Array(BISSHOP_B, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
trace("# 4168");
}
if (initPuzzleNum == 25) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
}
if (initPuzzleNum == 26) {
chessBoard[0] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, KING_W, VOID, VOID, PAWN_B, BISSHOP_W, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 27) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
}
if (initPuzzleNum == 28) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_W, KNIGHT_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
}
if (initPuzzleNum == 29) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
chessBoard[2] = new Array(VOID, BISSHOP_W, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, BISSHOP_W, VOID, VOID, KING_W, VOID, VOID, VOID);
}
if (initPuzzleNum == 30) {
chessBoard[0] = new Array(KING_B, KNIGHT_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(PAWN_W, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 31) {
chessBoard[0] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 32) {
chessBoard[0] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, ROOK_W, ROOK_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
}
if (initPuzzleNum == 33) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, QUEEN_W, VOID, BISSHOP_W, VOID, QUEEN_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, KNIGHT_W, ROOK_W, VOID, VOID, VOID, ROOK_W, BISSHOP_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, KNIGHT_W, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, QUEEN_W, VOID, QUEEN_W, VOID, QUEEN_W, VOID, QUEEN_W);
}
if (initPuzzleNum == 34) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, BISSHOP_W, VOID, BISSHOP_W, BISSHOP_W, VOID, VOID, BISSHOP_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, BISSHOP_W, VOID, VOID, KING_W, VOID, VOID, VOID);
}
if (initPuzzleNum == 35) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, PAWN_B, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, KING_W, VOID);
}
if (initPuzzleNum == 36) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 37) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, BISSHOP_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 38) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_B, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 39) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, ROOK_B, VOID, ROOK_B, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, ROOK_B, KING_B, ROOK_B, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KNIGHT_B, VOID, KNIGHT_B, VOID, VOID);
chessBoard[5] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
}
if (initPuzzleNum == 40) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[3] = new Array(VOID, VOID, KNIGHT_W, KNIGHT_W, KNIGHT_W, KNIGHT_W, KNIGHT_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KNIGHT_W, KNIGHT_W, KNIGHT_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
}
if (initPuzzleNum == 41) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, ROOK_W);
chessBoard[1] = new Array(PAWN_B, PAWN_B, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, KNIGHT_B, KNIGHT_W, VOID, PAWN_B, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_W, ROOK_W, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 42) {
chessBoard[0] = new Array(VOID, VOID, KING_B, ROOK_B, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 43) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, KING_B, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
}
if (initPuzzleNum == 44) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, QUEEN_B, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, PAWN_B, KNIGHT_B, KNIGHT_B, PAWN_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, PAWN_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 45) {
chessBoard[0] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, KING_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 46) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, BISSHOP_W, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 47) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#4205");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 48) {
chessBoard[0] = new Array(ROOK_B, VOID, BISSHOP_B, QUEEN_B, KING_B, BISSHOP_B, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, VOID, PAWN_B, KNIGHT_B, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, KNIGHT_B, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, VOID, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, KNIGHT_W, BISSHOP_W, QUEEN_W, KING_W, BISSHOP_W, VOID, ROOK_W);
trace("# 1393");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 49) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, PAWN_B, ROOK_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_W, BISSHOP_B, VOID, PAWN_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, KING_B, VOID, KING_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, PAWN_W);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
trace("#2394");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 50) {
chessBoard[0] = new Array(VOID, KNIGHT_B, ROOK_B, KING_B, ROOK_B, VOID, VOID, BISSHOP_B);
chessBoard[1] = new Array(ROOK_W, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, PAWN_W);
chessBoard[4] = new Array(VOID, PAWN_W, PAWN_W, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
trace("#1813");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
}
function initPuzzleNovice100() {
if (initPuzzleNum == 51) {
chessBoard[0] = new Array(ROOK_B, VOID, BISSHOP_B, QUEEN_B, KING_B, BISSHOP_B, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, VOID, PAWN_B, KNIGHT_B, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, KNIGHT_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, KNIGHT_W, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, KNIGHT_W, BISSHOP_W, QUEEN_W, KING_W, BISSHOP_W, VOID, ROOK_W);
trace("#4219");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 52) {
chessBoard[0] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, QUEEN_B, VOID, VOID, VOID, VOID, PAWN_B, KING_B);
chessBoard[2] = new Array(VOID, VOID, BISSHOP_B, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(PAWN_B, KNIGHT_B, VOID, VOID, PAWN_W, VOID, PAWN_W, VOID);
chessBoard[4] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_B, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, ROOK_W, VOID);
trace("#1418");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 53) {
chessBoard[0] = new Array(ROOK_B, VOID, BISSHOP_B, QUEEN_B, KING_B, BISSHOP_B, KNIGHT_B, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, PAWN_B, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, KNIGHT_B, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, BISSHOP_W, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, PAWN_W, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, KNIGHT_W, BISSHOP_W, VOID, KING_W, VOID, KNIGHT_W, ROOK_W);
trace("#85");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 54) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, QUEEN_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, BISSHOP_B, KING_B, BISSHOP_B, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, BISSHOP_B, BISSHOP_B, BISSHOP_B, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1371");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 55) {
chessBoard[0] = new Array(ROOK_B, VOID, BISSHOP_B, QUEEN_B, KING_B, BISSHOP_B, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, PAWN_B, PAWN_B, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, KNIGHT_B, VOID, VOID, KNIGHT_B, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, QUEEN_W);
chessBoard[4] = new Array(VOID, VOID, BISSHOP_W, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, PAWN_W, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, KNIGHT_W, BISSHOP_W, VOID, KING_W, VOID, KNIGHT_W, ROOK_W);
trace("#105");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 56) {
chessBoard[0] = new Array(ROOK_B, KNIGHT_B, BISSHOP_B, VOID, KING_B, BISSHOP_B, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, KNIGHT_W, VOID, PAWN_B, PAWN_B, PAWN_B, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_B, PAWN_W, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, PAWN_W, PAWN_W, QUEEN_W, PAWN_W, VOID, PAWN_W);
chessBoard[7] = new Array(ROOK_W, VOID, BISSHOP_W, VOID, KING_W, BISSHOP_W, VOID, ROOK_W);
trace("#2058");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 57) {
chessBoard[0] = new Array(ROOK_B, VOID, BISSHOP_B, QUEEN_B, KING_B, BISSHOP_B, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, VOID, PAWN_B, KNIGHT_B, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, KNIGHT_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, KNIGHT_W, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, KNIGHT_W, BISSHOP_W, QUEEN_W, KING_W, BISSHOP_W, VOID, ROOK_W);
trace("#2876");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 58) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(ROOK_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1108");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 59) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KING_B, VOID, BISSHOP_W, VOID, VOID);
chessBoard[5] = new Array(VOID, BISSHOP_W, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#240");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 60) {
chessBoard[0] = new Array(VOID, VOID, BISSHOP_B, VOID, VOID, VOID, VOID, ROOK_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, KNIGHT_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, KING_B, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_B, VOID, QUEEN_B);
chessBoard[6] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, ROOK_W);
trace("#2158");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 61) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, KING_B, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, ROOK_W);
trace("#2130");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 62) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#238");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 63) {
chessBoard[0] = new Array(VOID, VOID, KNIGHT_W, VOID, KING_B, VOID, VOID, KNIGHT_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, KNIGHT_W, VOID, VOID, KNIGHT_W, VOID, KNIGHT_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("#1392");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 64) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[1] = new Array(KING_B, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(PAWN_B, VOID, QUEEN_B, VOID, VOID, VOID, ROOK_B, VOID);
chessBoard[3] = new Array(KING_W, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_W, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("# 1182");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 65) {
chessBoard[0] = new Array(ROOK_B, KNIGHT_B, BISSHOP_B, QUEEN_B, KING_B, VOID, KNIGHT_B, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, PAWN_B, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, PAWN_B, KNIGHT_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KNIGHT_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, PAWN_W, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, KNIGHT_W, BISSHOP_W, VOID, KING_W, BISSHOP_W, VOID, ROOK_W);
trace("# 226");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 66) {
chessBoard[0] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, KNIGHT_W, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(BISSHOP_W, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("# 339");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 67) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, QUEEN_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, ROOK_B, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("# 1376");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 68) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
trace("# 1297");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 69) {
chessBoard[0] = new Array(VOID, VOID, KNIGHT_W, VOID, KING_B, KNIGHT_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, BISSHOP_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("#11");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 70) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[1] = new Array(VOID, ROOK_B, VOID, VOID, ROOK_B, PAWN_B, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, PAWN_W, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
trace("#10");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 71) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, QUEEN_B, KING_B, BISSHOP_B, KNIGHT_B, ROOK_B);
chessBoard[1] = new Array(PAWN_B, BISSHOP_B, VOID, PAWN_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, VOID, VOID, KNIGHT_B, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[4] = new Array(VOID, VOID, BISSHOP_W, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, PAWN_W, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, KNIGHT_W, BISSHOP_W, VOID, KING_W, VOID, VOID, ROOK_W);
trace("#271");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 72) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(ROOK_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, QUEEN_W, KING_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("# 1722");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 73) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[2] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, BISSHOP_W, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#272");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 74) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[3] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, PAWN_B, KING_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, PAWN_B);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("# 1216");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 75) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, KING_B);
chessBoard[1] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("# 26");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 76) {
chessBoard[0] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, PAWN_B, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
trace("# 1811");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 77) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KNIGHT_W, KNIGHT_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
trace("#88");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 78) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, ROOK_W, VOID, ROOK_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("# 2039");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 79) {
chessBoard[0] = new Array(BISSHOP_W, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_W, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_B, ROOK_B);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_B, KING_B);
trace("# 1377");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 80) {
chessBoard[0] = new Array(KING_B, ROOK_B, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("# 427");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 81) {
chessBoard[0] = new Array(KING_B, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("# 609");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 82) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_B, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[5] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("# 429");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 83) {
chessBoard[0] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_B);
chessBoard[1] = new Array(ROOK_B, PAWN_B, VOID, KNIGHT_W, VOID, VOID, BISSHOP_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, KNIGHT_B, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, VOID, VOID, PAWN_W, VOID, VOID, QUEEN_W);
chessBoard[7] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
trace("# 533");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 84) {
chessBoard[0] = new Array(VOID, VOID, ROOK_B, KING_B, ROOK_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_B, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[2] = new Array(ROOK_W, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
trace("# 1343");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 85) {
chessBoard[0] = new Array(VOID, VOID, VOID, ROOK_B, KING_B, VOID, ROOK_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, ROOK_W, QUEEN_B, ROOK_W, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
trace("# 1347");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 86) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, QUEEN_B, KING_B, BISSHOP_B, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, BISSHOP_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, PAWN_B, KNIGHT_B, VOID, VOID, KNIGHT_B, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[4] = new Array(VOID, VOID, BISSHOP_W, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, KNIGHT_W, BISSHOP_W, QUEEN_W, KING_W, VOID, VOID, ROOK_W);
trace("# 1461");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 87) {
chessBoard[0] = new Array(KNIGHT_W, VOID, BISSHOP_W, VOID, BISSHOP_B, VOID, KNIGHT_B, KNIGHT_W);
chessBoard[1] = new Array(VOID, KING_W, BISSHOP_W, KNIGHT_W, KNIGHT_B, VOID, ROOK_B, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_B, KNIGHT_B, KNIGHT_W, VOID);
chessBoard[3] = new Array(VOID, PAWN_W, PAWN_W, VOID, VOID, VOID, KNIGHT_B, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_W, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_B, PAWN_B, VOID, VOID, KNIGHT_W, VOID);
chessBoard[6] = new Array(BISSHOP_W, VOID, VOID, QUEEN_B, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_B, VOID, VOID);
trace("#2030");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 88) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, KING_W, PAWN_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, PAWN_B, VOID);
chessBoard[4] = new Array(VOID, BISSHOP_W, BISSHOP_W, KING_B, PAWN_B, PAWN_B, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, PAWN_B, VOID, VOID, VOID, ROOK_B);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[7] = new Array(VOID, VOID, QUEEN_B, VOID, VOID, VOID, VOID, KNIGHT_W);
trace("#3494");
mateIn = 1;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
}
function initPuzzleBeginner() {
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
initPuzzleNum = Number(menuha_mc.numProbl_txt.text);
if ((initPuzzleNum > 0) && (initPuzzleNum <= 50)) {
initPuzzleBeginner50();
}
if ((initPuzzleNum > 50) && (initPuzzleNum <= 100)) {
initPuzzleBeginner100();
}
if ((initPuzzleNum > 100) && (initPuzzleNum <= 150)) {
initPuzzleBeginner150();
}
}
function initPuzzleBeginner50() {
if (initPuzzleNum == 1) {
chessBoard[0] = new Array(VOID, VOID, ROOK_B, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, QUEEN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(PAWN_B, VOID, VOID, PAWN_B, VOID, KNIGHT_W, QUEEN_W, VOID);
chessBoard[3] = new Array(VOID, PAWN_B, VOID, PAWN_W, VOID, PAWN_W, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, KING_W, VOID);
trace("#975");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 2) {
chessBoard[0] = new Array(ROOK_B, KNIGHT_B, BISSHOP_B, QUEEN_B, VOID, VOID, KNIGHT_B, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, PAWN_B, PAWN_B, BISSHOP_B, VOID, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, PAWN_B, VOID);
chessBoard[4] = new Array(VOID, VOID, BISSHOP_W, PAWN_W, PAWN_W, VOID, VOID, PAWN_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, PAWN_W, VOID);
chessBoard[7] = new Array(ROOK_W, KNIGHT_W, BISSHOP_W, VOID, KING_W, VOID, VOID, ROOK_W);
trace("#1768");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 3) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1364");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 4) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, VOID, VOID, ROOK_B, VOID, KING_B);
chessBoard[1] = new Array(PAWN_B, BISSHOP_B, VOID, PAWN_B, VOID, VOID, PAWN_B, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, KNIGHT_B, VOID, VOID, PAWN_W, PAWN_B);
chessBoard[3] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, PAWN_W);
chessBoard[5] = new Array(VOID, VOID, BISSHOP_W, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[7] = new Array(VOID, QUEEN_B, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1112");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 5) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_B, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[2] = new Array(PAWN_B, VOID, VOID, PAWN_B, VOID, ROOK_B, ROOK_W, PAWN_B);
chessBoard[3] = new Array(VOID, VOID, PAWN_B, PAWN_W, PAWN_B, QUEEN_B, VOID, QUEEN_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_W, PAWN_W, PAWN_B, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, ROOK_W);
chessBoard[7] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#322");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 6) {
chessBoard[0] = new Array(VOID, VOID, VOID, ROOK_B, VOID, VOID, KNIGHT_B, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#329");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 7) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, KING_W, VOID, VOID, KING_B, PAWN_B, ROOK_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
trace("#274");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 8) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(BISSHOP_W, VOID, VOID, BISSHOP_W, BISSHOP_W, VOID, VOID, BISSHOP_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("# 1668");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 9) {
chessBoard[0] = new Array(VOID, ROOK_B, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, ROOK_W, VOID, VOID, PAWN_B, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_B, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(ROOK_B, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[6] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, KING_W, VOID);
trace("#2992");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 10) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, VOID, ROOK_B, BISSHOP_B, KING_B, VOID);
chessBoard[1] = new Array(PAWN_B, PAWN_B, VOID, QUEEN_W, PAWN_B, VOID, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, QUEEN_B, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, KNIGHT_B, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, VOID, KNIGHT_B, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, VOID, VOID, VOID, VOID, BISSHOP_W, PAWN_B);
chessBoard[7] = new Array(VOID, KING_W, VOID, ROOK_W, VOID, VOID, ROOK_W, VOID);
trace("#1091");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 11) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, VOID, QUEEN_B, ROOK_B, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, QUEEN_W, VOID, VOID, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_W, ROOK_W, VOID, VOID, VOID, ROOK_W);
trace("# 3814");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 12) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, VOID, VOID, VOID, ROOK_B, KING_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, PAWN_B, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_B, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, PAWN_W, ROOK_W);
chessBoard[7] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, ROOK_W);
trace("# 1559");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 13) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_B, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[5] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
trace("# 136");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 14) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, PAWN_B, PAWN_W, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, QUEEN_W, VOID, PAWN_W, PAWN_B, PAWN_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, PAWN_W, PAWN_B, VOID, PAWN_B, PAWN_W);
chessBoard[4] = new Array(VOID, KING_B, PAWN_W, PAWN_B, VOID, VOID, VOID, PAWN_B);
chessBoard[5] = new Array(VOID, PAWN_W, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("# 2508");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 15) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(ROOK_W, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("# 1439");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 16) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(KING_B, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("# 2059");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 17) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, BISSHOP_W, VOID, VOID);
chessBoard[6] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
trace("# 1752");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 18) {
chessBoard[0] = new Array(VOID, KING_B, VOID, VOID, VOID, BISSHOP_B, VOID, ROOK_B);
chessBoard[1] = new Array(VOID, PAWN_B, ROOK_B, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[2] = new Array(PAWN_B, BISSHOP_W, BISSHOP_B, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_W, QUEEN_W, VOID, PAWN_B);
chessBoard[4] = new Array(PAWN_W, QUEEN_B, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, PAWN_W, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, ROOK_W, VOID, ROOK_W, KING_W, VOID);
trace("# 1033");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 19) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, ROOK_W, VOID, VOID);
trace("# 4206");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 20) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("# 155");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 21) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, ROOK_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, KING_B, VOID, VOID);
trace("#89");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 22) {
chessBoard[0] = new Array(ROOK_B, VOID, BISSHOP_B, QUEEN_B, VOID, ROOK_B, VOID, KING_B);
chessBoard[1] = new Array(VOID, PAWN_B, VOID, KNIGHT_B, VOID, VOID, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, PAWN_B, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[3] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, BISSHOP_W, PAWN_W, VOID, VOID, VOID, ROOK_W);
chessBoard[5] = new Array(PAWN_W, VOID, PAWN_W, VOID, VOID, VOID, BISSHOP_B, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, KNIGHT_W, VOID, QUEEN_W, VOID, VOID, VOID, KING_W);
trace("# 505");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 23) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(KING_B, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(BISSHOP_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1309");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 24) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, ROOK_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[5] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(BISSHOP_W, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, KING_W);
trace("# 3557");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 25) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_B, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("# 4085");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 26) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, BISSHOP_W, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, KING_W, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(BISSHOP_W, VOID, PAWN_B, KNIGHT_W, PAWN_B, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_W, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("# 614");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 27) {
chessBoard[0] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, BISSHOP_B, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_W, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, KNIGHT_W, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
trace("#352");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 28) {
chessBoard[0] = new Array(ROOK_B, VOID, BISSHOP_B, QUEEN_B, KING_B, VOID, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, VOID, PAWN_B, KNIGHT_B, VOID, PAWN_B, PAWN_B, VOID);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, VOID, PAWN_B, KNIGHT_B, VOID, PAWN_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(BISSHOP_W, VOID, PAWN_W, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, PAWN_W, VOID, QUEEN_W, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, VOID, VOID, VOID, KING_W, VOID, KNIGHT_W, ROOK_W);
trace("#126");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 29) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_B, VOID, VOID);
chessBoard[1] = new Array(QUEEN_B, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[2] = new Array(VOID, ROOK_B, KNIGHT_B, VOID, VOID, VOID, PAWN_B, PAWN_B);
chessBoard[3] = new Array(PAWN_B, VOID, VOID, BISSHOP_W, KNIGHT_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, QUEEN_W, VOID, VOID, PAWN_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, KING_W, VOID);
trace("#978");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 30) {
chessBoard[0] = new Array(VOID, VOID, VOID, QUEEN_B, ROOK_B, BISSHOP_B, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, BISSHOP_B, VOID, PAWN_B, KING_B, VOID);
chessBoard[2] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, VOID, PAWN_W, BISSHOP_W, QUEEN_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, PAWN_W, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
trace("#1009");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 31) {
chessBoard[0] = new Array(KING_B, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1282");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 32) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, ROOK_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, KING_B);
chessBoard[2] = new Array(VOID, VOID, PAWN_B, VOID, KNIGHT_B, BISSHOP_W, PAWN_B, PAWN_B);
chessBoard[3] = new Array(QUEEN_B, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_W, VOID, BISSHOP_B, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, VOID, ROOK_W, VOID, VOID, QUEEN_W);
chessBoard[6] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
trace("#178");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 33) {
chessBoard[0] = new Array(KING_B, VOID, VOID, ROOK_B, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KNIGHT_B, VOID, QUEEN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, BISSHOP_W);
chessBoard[7] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, KING_W, VOID);
trace("#1783");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 34) {
chessBoard[0] = new Array(BISSHOP_B, VOID, VOID, VOID, ROOK_B, VOID, KING_B, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, PAWN_B, QUEEN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, PAWN_W, VOID, VOID, PAWN_W, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, PAWN_W, VOID, VOID, QUEEN_W, KNIGHT_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, KING_W, VOID);
trace("#198");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 35) {
chessBoard[0] = new Array(ROOK_B, VOID, BISSHOP_B, VOID, QUEEN_B, KNIGHT_W, VOID, KING_B);
chessBoard[1] = new Array(VOID, PAWN_B, PAWN_B, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[2] = new Array(PAWN_B, VOID, VOID, PAWN_B, VOID, VOID, VOID, KNIGHT_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, BISSHOP_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, BISSHOP_W, PAWN_W, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[6] = new Array(PAWN_W, PAWN_W, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1772");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 36) {
chessBoard[0] = new Array(ROOK_B, VOID, BISSHOP_B, QUEEN_B, VOID, VOID, ROOK_B, VOID);
chessBoard[1] = new Array(BISSHOP_B, VOID, VOID, VOID, VOID, PAWN_B, KING_B, VOID);
chessBoard[2] = new Array(PAWN_B, VOID, PAWN_B, PAWN_B, VOID, PAWN_B, VOID, VOID);
chessBoard[3] = new Array(VOID, PAWN_B, VOID, VOID, PAWN_B, PAWN_W, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, VOID, VOID, PAWN_W, VOID, PAWN_W, BISSHOP_W);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, PAWN_W, QUEEN_W, VOID, VOID, PAWN_W, VOID);
chessBoard[7] = new Array(ROOK_W, VOID, VOID, VOID, KING_W, VOID, VOID, ROOK_W);
trace("#1598");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 37) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, KNIGHT_B, VOID, VOID, PAWN_B, VOID, VOID, ROOK_B);
chessBoard[2] = new Array(KNIGHT_B, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[6] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, ROOK_W, VOID, ROOK_W, VOID, VOID);
trace("#3231");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 38) {
chessBoard[0] = new Array(KING_B, BISSHOP_W, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1399");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 39) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, PAWN_B, KNIGHT_B, PAWN_B, KNIGHT_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, PAWN_W, KNIGHT_W, PAWN_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#2091");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 40) {
chessBoard[0] = new Array(KNIGHT_W, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_B, VOID);
chessBoard[2] = new Array(PAWN_B, BISSHOP_W, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1472");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 41) {
chessBoard[0] = new Array(ROOK_W, VOID, VOID, ROOK_B, KING_B, ROOK_B, VOID, ROOK_W);
chessBoard[1] = new Array(ROOK_W, VOID, VOID, VOID, ROOK_B, VOID, VOID, ROOK_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, ROOK_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1451");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 42) {
chessBoard[0] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, PAWN_B, KNIGHT_W, VOID, VOID, VOID, QUEEN_W, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_B, KNIGHT_W, KNIGHT_B, VOID, VOID);
chessBoard[3] = new Array(QUEEN_B, VOID, VOID, PAWN_W, BISSHOP_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KNIGHT_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, KING_W);
trace("#1067");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 43) {
chessBoard[0] = new Array(VOID, ROOK_W, VOID, BISSHOP_W, VOID, VOID, KING_B, VOID);
chessBoard[1] = new Array(QUEEN_B, VOID, VOID, VOID, VOID, PAWN_B, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, ROOK_B, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
trace("#1555");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 44) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[4] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KNIGHT_W, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
trace("#1834");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 45) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, QUEEN_W, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, PAWN_B, ROOK_W, PAWN_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, VOID, VOID);
chessBoard[5] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("#2139");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 46) {
chessBoard[0] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, ROOK_W, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, BISSHOP_W, BISSHOP_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, ROOK_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
trace("#970");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 47) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_B, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, ROOK_W, KING_W, VOID, VOID, VOID);
trace("#382");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 48) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_W, VOID, VOID, KING_B, VOID, VOID, BISSHOP_B, KNIGHT_W);
chessBoard[4] = new Array(PAWN_W, VOID, PAWN_B, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1118");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 49) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_B, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[3] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
trace("#137");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 50) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(PAWN_W, VOID, KING_B, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, PAWN_B, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, VOID, VOID, PAWN_B, PAWN_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, PAWN_W, QUEEN_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#4174");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
}
function initPuzzleBeginner100() {
if (initPuzzleNum == 51) {
chessBoard[0] = new Array(ROOK_B, KNIGHT_B, VOID, QUEEN_B, ROOK_B, VOID, KING_B, VOID);
chessBoard[1] = new Array(VOID, PAWN_B, VOID, VOID, KNIGHT_B, PAWN_B, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_B, PAWN_W, BISSHOP_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[6] = new Array(PAWN_W, BISSHOP_W, VOID, PAWN_W, VOID, PAWN_W, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_W, ROOK_W, VOID, BISSHOP_W, VOID, ROOK_W);
trace("#1695");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 52) {
chessBoard[0] = new Array(VOID, KING_B, ROOK_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, PAWN_B, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[7] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#139");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 53) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, PAWN_B, VOID, VOID, VOID, PAWN_B);
chessBoard[2] = new Array(BISSHOP_B, PAWN_B, VOID, VOID, PAWN_W, QUEEN_W, VOID, VOID);
chessBoard[3] = new Array(VOID, BISSHOP_W, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, QUEEN_B);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, VOID, KING_W, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
trace("#1643");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 54) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, ROOK_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, BISSHOP_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[5] = new Array(VOID, PAWN_B, PAWN_W, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, KING_W, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
trace("#411");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 55) {
chessBoard[0] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1721");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 56) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, BISSHOP_W, PAWN_B, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, KING_B, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, PAWN_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, BISSHOP_B, VOID, VOID, VOID, VOID);
trace("#3091");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 57) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1500");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 58) {
chessBoard[0] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KING_B, VOID, ROOK_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, PAWN_B, PAWN_W, VOID, BISSHOP_B, KNIGHT_W, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, PAWN_B, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
trace("#882");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 59) {
chessBoard[0] = new Array(VOID, VOID, KING_B, ROOK_B, VOID, BISSHOP_B, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, VOID, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, PAWN_B, VOID, BISSHOP_B, VOID, VOID, QUEEN_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, BISSHOP_W, VOID, VOID, ROOK_W, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, KING_W, VOID);
trace("#323");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 60) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, QUEEN_B, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, VOID, BISSHOP_B, VOID, QUEEN_W, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_B, VOID, BISSHOP_B, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[6] = new Array(PAWN_W, VOID, PAWN_W, PAWN_W, VOID, PAWN_W, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, KING_W, VOID);
trace("#325");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 61) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("#3229");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 62) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_B, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[5] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, VOID);
chessBoard[6] = new Array(VOID, BISSHOP_W, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, ROOK_W, KING_W, VOID, VOID, VOID);
trace("#381");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 63) {
chessBoard[0] = new Array(VOID, ROOK_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, BISSHOP_B, VOID, VOID, KING_B);
chessBoard[2] = new Array(VOID, QUEEN_B, VOID, PAWN_B, KNIGHT_W, ROOK_B, PAWN_B, PAWN_B);
chessBoard[3] = new Array(PAWN_B, VOID, VOID, PAWN_W, PAWN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, ROOK_W, VOID, VOID, VOID, QUEEN_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, KING_W, VOID);
trace("#1625");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 64) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, ROOK_B, VOID, ROOK_B, VOID);
chessBoard[1] = new Array(PAWN_B, PAWN_B, VOID, QUEEN_W, VOID, VOID, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, QUEEN_B, PAWN_B, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, BISSHOP_B, VOID, KING_B, VOID, BISSHOP_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, VOID, VOID, VOID, VOID, ROOK_W, KING_W, VOID);
trace("#2938");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 65) {
chessBoard[0] = new Array(QUEEN_B, VOID, VOID, VOID, BISSHOP_B, VOID, VOID, ROOK_B);
chessBoard[1] = new Array(KING_B, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, PAWN_B, VOID, ROOK_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[4] = new Array(VOID, VOID, KNIGHT_W, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, VOID, VOID, PAWN_W, KNIGHT_B, PAWN_B);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, PAWN_B, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("#861");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 66) {
chessBoard[0] = new Array(VOID, VOID, KING_B, ROOK_B, VOID, VOID, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, VOID, VOID, BISSHOP_B, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, PAWN_B, VOID, BISSHOP_B, QUEEN_B, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, BISSHOP_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, ROOK_W, ROOK_W, VOID, VOID, KING_W);
trace("#193");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 67) {
chessBoard[0] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, KING_W, PAWN_W, VOID, PAWN_W, QUEEN_W, VOID);
chessBoard[2] = new Array(VOID, VOID, PAWN_W, PAWN_W, VOID, PAWN_W, PAWN_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_B, PAWN_B, VOID, PAWN_B, PAWN_B, VOID);
chessBoard[5] = new Array(VOID, VOID, KNIGHT_B, PAWN_B, VOID, PAWN_B, QUEEN_B, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
trace("#1637");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 68) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
trace("#154");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 69) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, PAWN_B, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, PAWN_B, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_W, VOID, KING_B, VOID, VOID, VOID);
trace("#3347");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 70) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, QUEEN_B, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, PAWN_B, VOID, VOID, VOID, VOID, PAWN_W, KING_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, BISSHOP_W, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[4] = new Array(BISSHOP_B, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[5] = new Array(PAWN_W, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_B, VOID, VOID, ROOK_B, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, ROOK_W, VOID);
trace("#285");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 71) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1250");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 72) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, ROOK_B, VOID, PAWN_B, BISSHOP_B, ROOK_B, PAWN_B, KING_B);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, ROOK_W, VOID, VOID, VOID, PAWN_B);
chessBoard[3] = new Array(PAWN_B, VOID, PAWN_B, VOID, BISSHOP_W, VOID, VOID, PAWN_W);
chessBoard[4] = new Array(PAWN_W, VOID, PAWN_W, VOID, KING_W, PAWN_W, PAWN_W, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#973");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 73) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, KNIGHT_B, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("#1475");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 74) {
chessBoard[0] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, PAWN_B, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(BISSHOP_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_W, PAWN_W, KNIGHT_B, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_W, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
trace("#337");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 75) {
chessBoard[0] = new Array(VOID, VOID, VOID, KING_B, ROOK_B, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[3] = new Array(PAWN_B, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KNIGHT_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(ROOK_B, VOID, QUEEN_B, BISSHOP_W, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("#384");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 76) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, VOID, VOID, ROOK_B, VOID, KING_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, PAWN_B, VOID, VOID, PAWN_B, ROOK_W, PAWN_B);
chessBoard[2] = new Array(VOID, PAWN_W, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KNIGHT_B, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, BISSHOP_W, VOID, VOID, VOID, PAWN_W, VOID, PAWN_W);
chessBoard[7] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
trace("#236");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 77) {
chessBoard[0] = new Array(ROOK_B, VOID, BISSHOP_B, VOID, KING_B, BISSHOP_B, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, VOID, KNIGHT_B, VOID, PAWN_B, PAWN_B, VOID);
chessBoard[2] = new Array(VOID, QUEEN_B, PAWN_B, VOID, PAWN_B, VOID, VOID, PAWN_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_W, PAWN_W, QUEEN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, KNIGHT_W, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, VOID, VOID, VOID, VOID, ROOK_W, KING_W, VOID);
trace("#1159");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 78) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, VOID, ROOK_B, VOID, KING_B, BISSHOP_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, PAWN_B);
chessBoard[2] = new Array(PAWN_B, VOID, VOID, QUEEN_W, BISSHOP_B, VOID, PAWN_B, BISSHOP_W);
chessBoard[3] = new Array(VOID, VOID, PAWN_B, VOID, VOID, KNIGHT_W, PAWN_W, PAWN_W);
chessBoard[4] = new Array(VOID, PAWN_B, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KNIGHT_B, VOID, PAWN_W, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, QUEEN_B, PAWN_W, KING_W, BISSHOP_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, ROOK_W);
trace("#570");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 79) {
chessBoard[0] = new Array(VOID, VOID, VOID, QUEEN_B, KING_B, QUEEN_B, VOID, VOID);
chessBoard[1] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[2] = new Array(VOID, BISSHOP_W, VOID, BISSHOP_W, BISSHOP_W, BISSHOP_W, VOID, BISSHOP_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("#1470");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 80) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[2] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, BISSHOP_B, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#4053");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 81) {
chessBoard[0] = new Array(VOID, VOID, ROOK_B, VOID, VOID, VOID, ROOK_B, VOID);
chessBoard[1] = new Array(PAWN_B, PAWN_B, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[2] = new Array(KNIGHT_B, VOID, PAWN_B, VOID, PAWN_B, VOID, PAWN_B, KING_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, PAWN_B);
chessBoard[4] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, BISSHOP_W, KING_W, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#290");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 82) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, KNIGHT_B, VOID, KING_B, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, PAWN_B, VOID, KNIGHT_B, VOID, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, KNIGHT_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, KNIGHT_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, BISSHOP_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(QUEEN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, KING_W, VOID);
trace("#4145");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 83) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, KNIGHT_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_W, PAWN_W, VOID, PAWN_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, PAWN_B, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, BISSHOP_B);
chessBoard[5] = new Array(PAWN_B, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, VOID);
chessBoard[6] = new Array(ROOK_B, PAWN_B, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[7] = new Array(ROOK_B, BISSHOP_W, VOID, VOID, VOID, KING_W, VOID, VOID);
trace("#2090");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 84) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#243");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 85) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, ROOK_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KING_B, VOID, PAWN_W, KNIGHT_B, VOID, VOID);
chessBoard[3] = new Array(PAWN_W, VOID, KNIGHT_W, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#445");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 86) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, KNIGHT_W, KNIGHT_B, KING_B, PAWN_B, KING_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_B, VOID, VOID);
trace("#2979");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 87) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, ROOK_B, BISSHOP_B);
chessBoard[3] = new Array(PAWN_W, PAWN_B, VOID, VOID, VOID, VOID, VOID, ROOK_B);
chessBoard[4] = new Array(VOID, PAWN_W, KING_B, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, KING_W, VOID, VOID, PAWN_B, ROOK_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
trace("#1176");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 88) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, ROOK_W, VOID, VOID, KING_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1530");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 89) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, ROOK_B, VOID, VOID, PAWN_W);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_W, VOID, KING_B, VOID, KING_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, KNIGHT_W, VOID);
chessBoard[6] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1270");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 90) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, ROOK_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KNIGHT_W, PAWN_B, VOID, KING_B, BISSHOP_B, PAWN_W, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, KING_W, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_B, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
trace("#446");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 91) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(KING_W, VOID, KNIGHT_W, VOID, VOID, BISSHOP_B, BISSHOP_B, VOID);
chessBoard[2] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_B, VOID, PAWN_B, VOID, VOID, VOID, VOID, ROOK_B);
chessBoard[4] = new Array(PAWN_W, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
trace("#888");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 92) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, KING_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, KING_B, KNIGHT_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, PAWN_B, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1050");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 93) {
chessBoard[0] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1494");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 94) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_B, VOID);
chessBoard[1] = new Array(KING_W, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(PAWN_B, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_B);
chessBoard[4] = new Array(PAWN_W, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[7] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
trace("#885");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 95) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, KNIGHT_B, VOID, KING_B, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, VOID, VOID, QUEEN_B, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_B, ROOK_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, VOID, VOID, ROOK_W, PAWN_W, QUEEN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
trace("#971");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 96) {
chessBoard[0] = new Array(VOID, VOID, ROOK_B, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, QUEEN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(PAWN_B, VOID, VOID, PAWN_B, VOID, KNIGHT_W, QUEEN_W, VOID);
chessBoard[3] = new Array(VOID, PAWN_B, VOID, PAWN_W, VOID, PAWN_W, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, KING_W, VOID);
trace("#975");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 97) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_W, VOID, PAWN_B, VOID, VOID, VOID, BISSHOP_B, VOID);
chessBoard[3] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[5] = new Array(BISSHOP_B, VOID, PAWN_W, VOID, ROOK_B, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#777");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 98) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, KNIGHT_W, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, ROOK_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KNIGHT_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
trace("#1193");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 99) {
chessBoard[0] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_W, KING_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[4] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#3227");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 100) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, KNIGHT_B, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, BISSHOP_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, VOID, KING_B, VOID, PAWN_B, PAWN_B, KNIGHT_W);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, KING_W, VOID, PAWN_W, VOID, BISSHOP_W);
chessBoard[7] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1281");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
}
function initPuzzleBeginner150() {
if (initPuzzleNum == 101) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[4] = new Array(KING_B, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1350");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 102) {
chessBoard[0] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, PAWN_B, QUEEN_B, PAWN_B, KING_W, PAWN_B, VOID, VOID);
chessBoard[2] = new Array(QUEEN_W, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, PAWN_B, VOID, PAWN_B, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
trace("#1810");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 103) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, BISSHOP_B, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, KNIGHT_B, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, QUEEN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, BISSHOP_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, KING_W, ROOK_W, VOID, VOID, VOID, VOID);
trace("#172");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 104) {
chessBoard[0] = new Array(KING_B, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
trace("#1762");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 105) {
chessBoard[0] = new Array(ROOK_B, KNIGHT_B, VOID, QUEEN_B, KING_B, BISSHOP_B, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, VOID, PAWN_B, PAWN_B, PAWN_B, VOID, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, VOID, VOID, KNIGHT_B, PAWN_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, BISSHOP_B, PAWN_W);
chessBoard[7] = new Array(ROOK_W, KNIGHT_W, BISSHOP_W, VOID, KING_W, VOID, KNIGHT_W, ROOK_W);
trace("#2975");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 106) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, ROOK_B, ROOK_B, VOID, KING_B);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, VOID, VOID, PAWN_B, BISSHOP_B, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, PAWN_B);
chessBoard[3] = new Array(VOID, PAWN_B, VOID, VOID, QUEEN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_W, VOID, VOID, PAWN_W, VOID, VOID, ROOK_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, BISSHOP_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
trace("#1344");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 107) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1771");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 108) {
chessBoard[0] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1777");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 109) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, VOID, KNIGHT_B, VOID, ROOK_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, QUEEN_B, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, PAWN_B, VOID, VOID, VOID, KING_B);
chessBoard[3] = new Array(PAWN_B, PAWN_W, PAWN_B, PAWN_W, PAWN_B, PAWN_W, PAWN_B, PAWN_B);
chessBoard[4] = new Array(VOID, VOID, PAWN_W, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, QUEEN_W, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, ROOK_W);
chessBoard[7] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, KING_W);
trace("#559");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 110) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_B, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[6] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
trace("#138");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 111) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
trace("#153");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 112) {
chessBoard[0] = new Array(VOID, VOID, VOID, ROOK_B, VOID, ROOK_B, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_B, VOID, QUEEN_B, PAWN_B, VOID, PAWN_B);
chessBoard[2] = new Array(PAWN_B, VOID, BISSHOP_B, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, QUEEN_W, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, ROOK_W, ROOK_W);
trace("#157");
mateIn = 2;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
}
function initPuzzleEasy() {
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
initPuzzleNum = Number(menuha_mc.numProbl_txt.text);
if ((initPuzzleNum > 0) && (initPuzzleNum <= 50)) {
initPuzzleEasy50();
}
if ((initPuzzleNum > 50) && (initPuzzleNum <= 100)) {
initPuzzleEasy100();
}
if ((initPuzzleNum > 100) && (initPuzzleNum <= 150)) {
initPuzzleEasy150();
}
}
function initPuzzleEasy50() {
if (initPuzzleNum == 1) {
chessBoard[0] = new Array(VOID, ROOK_B, VOID, VOID, VOID, ROOK_B, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_W, VOID, VOID, QUEEN_B, QUEEN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[6] = new Array(VOID, BISSHOP_B, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
trace("#1558");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 2) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, BISSHOP_B, KNIGHT_B, VOID, VOID, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, PAWN_B, ROOK_B, BISSHOP_W, PAWN_B, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, QUEEN_B, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_B, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, PAWN_W, VOID, PAWN_W, ROOK_W, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, QUEEN_W, KING_W, PAWN_W, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
trace("#57");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 3) {
chessBoard[0] = new Array(ROOK_B, VOID, ROOK_B, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
trace("#81");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 4) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("# 1296");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 5) {
chessBoard[0] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_B);
chessBoard[7] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
trace("#2038");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 6) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, VOID, PAWN_B, PAWN_B, PAWN_B, VOID);
chessBoard[2] = new Array(KING_B, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[4] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#2460");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 7) {
chessBoard[0] = new Array(ROOK_B, VOID, BISSHOP_B, VOID, ROOK_B, VOID, KING_B, VOID);
chessBoard[1] = new Array(VOID, PAWN_B, QUEEN_B, VOID, BISSHOP_B, PAWN_B, VOID, PAWN_B);
chessBoard[2] = new Array(PAWN_B, VOID, VOID, VOID, PAWN_B, BISSHOP_W, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, PAWN_B, ROOK_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, VOID, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, KING_W, VOID);
trace("#1639");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 8) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, KING_B);
trace("# 2224");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 9) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_B, KING_B, VOID);
chessBoard[1] = new Array(BISSHOP_B, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(ROOK_B, VOID, VOID, VOID, VOID, KNIGHT_B, VOID, VOID);
chessBoard[3] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_B, PAWN_W, VOID);
chessBoard[6] = new Array(KNIGHT_B, VOID, VOID, VOID, VOID, PAWN_W, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, ROOK_W, VOID, ROOK_W, VOID, KING_W, VOID);
trace("# 1239");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 10) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, BISSHOP_W, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("# 1253");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 11) {
chessBoard[0] = new Array(ROOK_B, KNIGHT_B, BISSHOP_B, QUEEN_B, VOID, KING_B, KNIGHT_B, QUEEN_W);
chessBoard[1] = new Array(PAWN_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, KNIGHT_W, BISSHOP_W, VOID, KING_W, BISSHOP_W, KNIGHT_W, ROOK_W);
trace("# 632");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 12) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, KING_W, VOID, VOID, VOID, BISSHOP_W, BISSHOP_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
trace("# 3679");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 13) {
chessBoard[0] = new Array(ROOK_B, VOID, BISSHOP_B, VOID, ROOK_B, VOID, KING_B, VOID);
chessBoard[1] = new Array(VOID, PAWN_B, QUEEN_B, VOID, BISSHOP_B, PAWN_B, VOID, PAWN_B);
chessBoard[2] = new Array(PAWN_B, VOID, VOID, VOID, PAWN_B, BISSHOP_W, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, PAWN_B, ROOK_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, VOID, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, KING_W, VOID);
trace("# 1553");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 14) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, QUEEN_B, VOID, PAWN_B, VOID);
chessBoard[2] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[5] = new Array(PAWN_B, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, KNIGHT_W, VOID);
trace("#1302");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 15) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_B, KING_B, VOID);
chessBoard[1] = new Array(VOID, PAWN_B, PAWN_B, VOID, VOID, VOID, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_B, QUEEN_B, VOID, BISSHOP_B);
chessBoard[3] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(QUEEN_W, PAWN_W, VOID, VOID, VOID, VOID, KNIGHT_B, VOID);
chessBoard[5] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, ROOK_W, KNIGHT_W, VOID, KING_W);
trace("#573");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 16) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, BISSHOP_W, KING_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#4201");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 17) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, QUEEN_B, VOID, ROOK_B, KING_B, VOID);
chessBoard[1] = new Array(PAWN_B, KNIGHT_B, VOID, VOID, VOID, KNIGHT_W, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_W, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, ROOK_W, VOID, KING_W, BISSHOP_W, KNIGHT_W, VOID);
trace("#383");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 18) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, ROOK_B, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, BISSHOP_B, VOID, VOID, VOID, KING_B, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_W, QUEEN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(PAWN_B, BISSHOP_W, PAWN_B, VOID, PAWN_B, VOID, VOID, PAWN_B);
chessBoard[4] = new Array(PAWN_W, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(ROOK_W, VOID, VOID, QUEEN_W, VOID, VOID, KING_W, VOID);
trace("#186");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 19) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, QUEEN_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[2] = new Array(PAWN_W, VOID, VOID, PAWN_B, VOID, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KNIGHT_W, PAWN_B, VOID, KING_B, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, PAWN_B);
chessBoard[5] = new Array(ROOK_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, KING_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#181");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 20) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, ROOK_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[2] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, KING_W, PAWN_W);
chessBoard[6] = new Array(PAWN_W, VOID, PAWN_W, VOID, ROOK_B, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#24");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 21) {
chessBoard[0] = new Array(VOID, VOID, QUEEN_B, BISSHOP_B, QUEEN_W, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, PAWN_B, ROOK_B, VOID, PAWN_B, PAWN_B, KING_B);
chessBoard[2] = new Array(VOID, KNIGHT_B, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[4] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, ROOK_W);
chessBoard[7] = new Array(VOID, KING_W, VOID, VOID, VOID, BISSHOP_B, ROOK_B, VOID);
trace("#4152");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 22) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_W, ROOK_B, VOID, ROOK_B, PAWN_W, VOID);
chessBoard[2] = new Array(VOID, VOID, PAWN_W, PAWN_W, VOID, PAWN_W, PAWN_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("#1426");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 23) {
chessBoard[0] = new Array(VOID, ROOK_B, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, ROOK_B);
chessBoard[7] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, ROOK_W);
trace("#2107");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 24) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
trace("#299");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 25) {
chessBoard[0] = new Array(ROOK_B, KNIGHT_B, VOID, VOID, KING_B, BISSHOP_B, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, VOID, VOID, PAWN_B, PAWN_B, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, PAWN_B, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, KNIGHT_W, VOID, VOID);
chessBoard[6] = new Array(QUEEN_B, PAWN_W, PAWN_W, BISSHOP_W, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, KING_W, ROOK_W, VOID, VOID, VOID, ROOK_W);
trace("#95");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 26) {
chessBoard[0] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, KNIGHT_B, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, QUEEN_B, PAWN_B, PAWN_B, VOID, KING_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, PAWN_W);
chessBoard[5] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, PAWN_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, KING_W, VOID);
chessBoard[7] = new Array(ROOK_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1779");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 27) {
chessBoard[0] = new Array(ROOK_B, KNIGHT_B, BISSHOP_B, VOID, KING_B, VOID, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, PAWN_B, PAWN_B, BISSHOP_B, KNIGHT_W, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_B, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, PAWN_W, VOID, VOID, VOID, PAWN_W);
chessBoard[7] = new Array(ROOK_W, VOID, BISSHOP_W, VOID, KING_W, BISSHOP_W, VOID, QUEEN_B);
trace("#210");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 28) {
chessBoard[0] = new Array(VOID, VOID, VOID, ROOK_B, VOID, KING_B, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, BISSHOP_B, VOID, QUEEN_B, VOID, PAWN_B, PAWN_B, QUEEN_W);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, VOID, PAWN_B, BISSHOP_B, VOID, PAWN_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_W, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, BISSHOP_W, ROOK_B, VOID, ROOK_W, VOID, KING_W, VOID);
trace("#34");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 29) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, BISSHOP_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, BISSHOP_B, VOID, VOID, QUEEN_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
trace("#59");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 30) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, ROOK_W);
trace("#2174");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 31) {
chessBoard[0] = new Array(VOID, VOID, ROOK_W, BISSHOP_B, KING_B, VOID, QUEEN_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, PAWN_B, VOID, PAWN_B, PAWN_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, PAWN_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, BISSHOP_W, KING_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#2451");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 32) {
chessBoard[0] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(BISSHOP_B, VOID, VOID, QUEEN_B, VOID, ROOK_B, VOID, VOID);
chessBoard[2] = new Array(PAWN_B, VOID, VOID, PAWN_W, QUEEN_W, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, PAWN_B, VOID, PAWN_B);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, PAWN_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, KING_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#175");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 33) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, ROOK_B, VOID, KING_B, VOID);
chessBoard[1] = new Array(PAWN_B, PAWN_B, VOID, VOID, QUEEN_B, PAWN_B, BISSHOP_B, VOID);
chessBoard[2] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, KNIGHT_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, PAWN_W, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, ROOK_W);
trace("#657");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 34) {
chessBoard[0] = new Array(VOID, VOID, VOID, ROOK_B, VOID, KNIGHT_B, VOID, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, PAWN_B);
chessBoard[2] = new Array(PAWN_B, PAWN_B, VOID, VOID, VOID, QUEEN_B, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_B, QUEEN_W, PAWN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_W, VOID, PAWN_W, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, BISSHOP_B, VOID, VOID, ROOK_W, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
trace("#195");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 35) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[3] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, VOID, VOID, KING_B, VOID, PAWN_B, KNIGHT_W, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
trace("#1761");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 36) {
chessBoard[0] = new Array(ROOK_B, VOID, ROOK_B, VOID, VOID, VOID, KING_B, VOID);
chessBoard[1] = new Array(PAWN_B, PAWN_B, PAWN_B, VOID, VOID, PAWN_B, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KNIGHT_B, BISSHOP_W, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, PAWN_W, ROOK_W);
chessBoard[7] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1266");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 37) {
chessBoard[0] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, ROOK_B, VOID, VOID, VOID, ROOK_B, KING_B);
chessBoard[2] = new Array(VOID, QUEEN_B, VOID, VOID, PAWN_W, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, PAWN_B);
chessBoard[4] = new Array(VOID, KNIGHT_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, QUEEN_W, VOID, VOID, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, KING_W);
trace("#180");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 38) {
chessBoard[0] = new Array(KING_B, ROOK_B, VOID, VOID, VOID, VOID, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, QUEEN_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, ROOK_W, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[7] = new Array(KING_W, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#883");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 39) {
chessBoard[0] = new Array(ROOK_B, KNIGHT_B, BISSHOP_B, VOID, KING_B, BISSHOP_B, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, VOID, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, QUEEN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KNIGHT_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, BISSHOP_W, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, KING_W, ROOK_W, VOID, BISSHOP_W, KNIGHT_W, ROOK_W);
trace("#174");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 40) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_B, VOID, ROOK_B);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[7] = new Array(VOID, ROOK_W, VOID, VOID, VOID, KNIGHT_W, VOID, KING_B);
trace("#29");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 41) {
chessBoard[0] = new Array(VOID, VOID, ROOK_B, VOID, ROOK_W, KNIGHT_B, VOID, KING_B);
chessBoard[1] = new Array(VOID, PAWN_B, VOID, QUEEN_B, VOID, VOID, PAWN_B, PAWN_B);
chessBoard[2] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, PAWN_W, VOID, QUEEN_W, PAWN_W, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
trace("#1682");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 42) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_B, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
trace("#2781");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 43) {
chessBoard[0] = new Array(ROOK_B, KNIGHT_B, VOID, QUEEN_B, KING_B, BISSHOP_B, KNIGHT_B, ROOK_B);
chessBoard[1] = new Array(PAWN_B, PAWN_B, PAWN_B, VOID, VOID, PAWN_B, PAWN_B, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, PAWN_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, BISSHOP_W, VOID, PAWN_W, VOID, BISSHOP_B, VOID);
chessBoard[5] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, PAWN_W, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(ROOK_W, VOID, BISSHOP_W, QUEEN_W, KING_W, VOID, VOID, ROOK_W);
trace("#4099");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 44) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, QUEEN_B, KING_B, VOID, ROOK_B, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[2] = new Array(BISSHOP_B, PAWN_B, VOID, VOID, PAWN_B, QUEEN_W, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, KNIGHT_B, VOID, PAWN_B, PAWN_W, VOID, BISSHOP_W, PAWN_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, KNIGHT_W, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, ROOK_W, VOID, VOID, PAWN_W, BISSHOP_W, VOID);
chessBoard[7] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, KING_W, VOID);
trace("#4147");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 45) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, ROOK_B, VOID, VOID, PAWN_W);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_W, PAWN_B, KING_B, VOID, KING_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, KNIGHT_W, VOID);
chessBoard[6] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#1271");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 46) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, PAWN_B, VOID, VOID, PAWN_B, VOID, KING_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, ROOK_B, ROOK_W, BISSHOP_W, VOID, VOID, VOID);
chessBoard[3] = new Array(PAWN_B, QUEEN_B, VOID, VOID, KNIGHT_B, VOID, PAWN_W, PAWN_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
trace("#205");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 47) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, KING_B, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#4211");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 48) {
chessBoard[0] = new Array(QUEEN_B, VOID, VOID, QUEEN_B, VOID, VOID, KNIGHT_B, KNIGHT_B);
chessBoard[1] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, PAWN_W, PAWN_B, KING_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, PAWN_B, PAWN_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("#1910");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 49) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, BISSHOP_B, VOID, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[4] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, BISSHOP_B);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_B);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, ROOK_W, VOID, VOID, KING_W, VOID, VOID);
trace("#3332");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 50) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, VOID, VOID, KING_B, VOID, ROOK_B);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, VOID, ROOK_W, PAWN_B, PAWN_B, PAWN_B);
chessBoard[2] = new Array(KNIGHT_B, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, QUEEN_B, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, VOID, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, KING_W);
trace("#32");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
}
function initPuzzleEasy100() {
if (initPuzzleNum == 51) {
chessBoard[0] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[1] = new Array(VOID, VOID, KNIGHT_W, PAWN_B, KING_B, PAWN_B, ROOK_W, VOID);
chessBoard[2] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_W, KING_W, PAWN_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#2081");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 52) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, QUEEN_B, KING_B, BISSHOP_B, QUEEN_W, VOID);
chessBoard[1] = new Array(PAWN_B, BISSHOP_B, VOID, KNIGHT_B, VOID, VOID, PAWN_B, VOID);
chessBoard[2] = new Array(VOID, VOID, PAWN_B, VOID, VOID, ROOK_B, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, PAWN_B);
chessBoard[4] = new Array(PAWN_W, PAWN_B, VOID, PAWN_W, VOID, VOID, VOID, KNIGHT_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, PAWN_W, PAWN_W, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, ROOK_W, VOID, VOID, ROOK_W, KING_W, VOID);
trace("#197");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 53) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_B, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, KNIGHT_B, VOID, VOID, VOID, PAWN_W, KING_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, PAWN_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[6] = new Array(KING_W, VOID, VOID, VOID, KNIGHT_W, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
trace("#2967");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 54) {
chessBoard[0] = new Array(KING_B, VOID, ROOK_B, VOID, VOID, BISSHOP_B, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, PAWN_B, VOID, VOID, ROOK_B, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, ROOK_W, KNIGHT_W, PAWN_B, VOID, PAWN_W, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[5] = new Array(BISSHOP_W, VOID, PAWN_W, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, ROOK_W, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("#2239");
mateIn = 3;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
if (initPuzzleNum == 55) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_B, VOID);
chessBoard[2] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_B);
trace("#");
}
if (initPuzzleNum == 56) {
chessBoard[0] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[2] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, ROOK_B, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 57) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, VOID, PAWN_W, VOID, VOID, KNIGHT_B, KNIGHT_B, VOID);
chessBoard[7] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
trace("#");
}
if (initPuzzleNum == 58) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_W, VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
chessBoard[5] = new Array(KNIGHT_W, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 59) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[2] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 60) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_B, BISSHOP_B, PAWN_W, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 61) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, QUEEN_W, ROOK_W, VOID, KING_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, QUEEN_B, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 62) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_B, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 63) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, KING_W, PAWN_B, BISSHOP_W, BISSHOP_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 64) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_B, VOID, PAWN_W, VOID, BISSHOP_W, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 65) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KNIGHT_W, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 66) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_W, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 67) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KNIGHT_W, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 68) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, ROOK_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 69) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, PAWN_B, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 70) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(QUEEN_W, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_B, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[7] = new Array(QUEEN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 71) {
chessBoard[0] = new Array(ROOK_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KNIGHT_W, PAWN_B, ROOK_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 72) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_B, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 73) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, KNIGHT_W, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 74) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[4] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, ROOK_W, PAWN_B, VOID, KING_W, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 75) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_B, PAWN_B, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 76) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(PAWN_B, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[5] = new Array(VOID, PAWN_B, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 77) {
chessBoard[0] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KNIGHT_W, BISSHOP_W, KING_B, VOID, VOID, KING_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 78) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_W, VOID, VOID, BISSHOP_W, VOID, BISSHOP_B, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, ROOK_W);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 79) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_W, PAWN_B, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(BISSHOP_B, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 80) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, BISSHOP_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_B, VOID, ROOK_W, VOID, KING_W, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 81) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_B, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, PAWN_B, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 82) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[7] = new Array(VOID, VOID, KING_B, QUEEN_B, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 83) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_B, VOID, ROOK_W, KING_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, ROOK_W, KNIGHT_W, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 84) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_W, VOID, QUEEN_W, VOID, VOID);
chessBoard[5] = new Array(VOID, KNIGHT_W, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 85) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[1] = new Array(VOID, BISSHOP_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_W, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
trace("#");
}
if (initPuzzleNum == 86) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KING_W, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_B, VOID);
chessBoard[6] = new Array(BISSHOP_W, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 87) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[6] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, BISSHOP_W, KING_W, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 88) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, BISSHOP_W, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_W, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, BISSHOP_W, VOID);
trace("#");
}
if (initPuzzleNum == 89) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, PAWN_B);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, KNIGHT_W, KING_W, VOID, VOID, ROOK_W, VOID);
trace("#");
}
if (initPuzzleNum == 90) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, BISSHOP_W, KING_B, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 91) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_B, KING_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_B, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 92) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(PAWN_W, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KNIGHT_W, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 93) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KNIGHT_W, VOID, KING_B, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[7] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
trace("#");
}
if (initPuzzleNum == 94) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_B, PAWN_B, PAWN_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 95) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, BISSHOP_W, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_W, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
trace("#");
}
if (initPuzzleNum == 96) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_W, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
trace("#");
}
if (initPuzzleNum == 97) {
chessBoard[0] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_W, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, BISSHOP_W, VOID);
trace("#");
}
if (initPuzzleNum == 98) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, KNIGHT_W, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, KNIGHT_W, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 99) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, ROOK_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, KING_W, VOID, VOID, BISSHOP_B, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 100) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[2] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(QUEEN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
}
function initPuzzleEasy150() {
if (initPuzzleNum == 101) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, KING_W, VOID);
chessBoard[6] = new Array(VOID, QUEEN_W, VOID, VOID, PAWN_W, VOID, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 102) {
chessBoard[0] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, PAWN_W, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, KING_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 103) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_B, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 104) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_B, KNIGHT_W, VOID, VOID, BISSHOP_W);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 105) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_B, VOID, VOID);
chessBoard[4] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[7] = new Array(KING_B, VOID, KING_W, VOID, ROOK_W, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 106) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, KING_W, VOID, VOID, ROOK_W, VOID, BISSHOP_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, KING_B, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 107) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, QUEEN_W);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, PAWN_W);
chessBoard[6] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 108) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KNIGHT_W, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, BISSHOP_W, KING_W, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 109) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_W, KNIGHT_W, VOID, VOID, QUEEN_B, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 110) {
chessBoard[0] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, KNIGHT_B, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[7] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 111) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KNIGHT_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_W, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 112) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_W, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KNIGHT_W, KNIGHT_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 113) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_B, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 114) {
chessBoard[0] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_B, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_B, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 115) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, KING_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, BISSHOP_W, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 116) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_W, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, BISSHOP_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 117) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, KING_B);
chessBoard[4] = new Array(VOID, VOID, QUEEN_W, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, PAWN_B);
chessBoard[6] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 118) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[5] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_B);
chessBoard[6] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, ROOK_B, QUEEN_W);
trace("#");
}
if (initPuzzleNum == 119) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_W, PAWN_B, VOID, VOID, VOID, VOID, VOID, QUEEN_B);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 120) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, BISSHOP_B, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, KNIGHT_W);
chessBoard[3] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, BISSHOP_W, KING_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 121) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, PAWN_B);
chessBoard[6] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 122) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, KING_B, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, QUEEN_W, VOID);
trace("#");
}
if (initPuzzleNum == 123) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_B, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, KING_B, BISSHOP_B, VOID, VOID, VOID, QUEEN_W);
chessBoard[7] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 124) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_W, KNIGHT_W, VOID, KING_B);
chessBoard[4] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
trace("#");
}
if (initPuzzleNum == 125) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 126) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, PAWN_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 127) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, BISSHOP_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 128) {
chessBoard[0] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_B, ROOK_W, PAWN_B, VOID, VOID);
chessBoard[5] = new Array(VOID, KING_W, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 129) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, PAWN_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, BISSHOP_B);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 130) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, QUEEN_W, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KNIGHT_W, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 131) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[4] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, KING_W, KNIGHT_W, KING_B, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
}
function initPuzzleModerate() {
mateIn = 4;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
initPuzzleNum = Number(menuha_mc.numProbl_txt.text);
if ((initPuzzleNum > 0) && (initPuzzleNum <= 50)) {
initPuzzleModerate50();
}
if ((initPuzzleNum > 50) && (initPuzzleNum <= 100)) {
initPuzzleModerate100();
}
if ((initPuzzleNum > 100) && (initPuzzleNum <= 150)) {
initPuzzleModerate150();
}
}
function initPuzzleModerate50() {
if (initPuzzleNum == 1) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 2) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[3] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, KING_B, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 3) {
chessBoard[0] = new Array(BISSHOP_W, VOID, VOID, VOID, KING_W, QUEEN_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 4) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[3] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 5) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_B, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, KING_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 6) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
chessBoard[1] = new Array(VOID, KING_B, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
}
if (initPuzzleNum == 7) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_W, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(ROOK_W, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[6] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 8) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_W, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 9) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, ROOK_W, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
}
if (initPuzzleNum == 10) {
chessBoard[0] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 11) {
chessBoard[0] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 12) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[1] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 13) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_W, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 14) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_B, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 15) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
}
if (initPuzzleNum == 16) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_W, VOID, KING_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 17) {
chessBoard[0] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 18) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, KING_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 19) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
}
if (initPuzzleNum == 20) {
chessBoard[0] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_W, PAWN_W, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 21) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 22) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KNIGHT_W, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
}
if (initPuzzleNum == 23) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
chessBoard[2] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, KING_B, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
}
if (initPuzzleNum == 24) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, KING_B, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 25) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_W, VOID, KING_B, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
}
if (initPuzzleNum == 26) {
chessBoard[0] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, KNIGHT_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 27) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, KNIGHT_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
}
if (initPuzzleNum == 28) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KNIGHT_W, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 29) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, BISSHOP_W, VOID, KING_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 30) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 31) {
chessBoard[0] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, KING_B, PAWN_B, VOID, VOID);
chessBoard[2] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 32) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, BISSHOP_W, KING_W, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 33) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, KING_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 34) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(PAWN_B, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[3] = new Array(KING_B, PAWN_W, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#3002");
}
if (initPuzzleNum == 35) {
chessBoard[0] = new Array(VOID, VOID, KING_B, VOID, VOID, KING_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, BISSHOP_W, KNIGHT_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 36) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_B, VOID, KING_W, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 37) {
chessBoard[0] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 38) {
chessBoard[0] = new Array(VOID, VOID, KING_B, BISSHOP_B, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, BISSHOP_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 39) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(BISSHOP_W, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_B, BISSHOP_B, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 40) {
chessBoard[0] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KING_B, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
}
if (initPuzzleNum == 41) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, ROOK_W, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KNIGHT_B, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 42) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, BISSHOP_W, KING_B, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 43) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(BISSHOP_W, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_B, VOID, KING_W, VOID, VOID, VOID);
}
if (initPuzzleNum == 44) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_B, VOID, BISSHOP_W, BISSHOP_W, BISSHOP_W, BISSHOP_W, KING_W);
}
if (initPuzzleNum == 45) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_B, KNIGHT_W, KNIGHT_W, KNIGHT_W, KNIGHT_W, VOID, KING_W);
}
if (initPuzzleNum == 46) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_B, KNIGHT_W, KNIGHT_W, KNIGHT_W, VOID, BISSHOP_W, KING_W);
}
if (initPuzzleNum == 47) {
chessBoard[0] = new Array(ROOK_W, BISSHOP_W, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, KING_B, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 48) {
chessBoard[0] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, KING_B, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, PAWN_W, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 49) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, KING_W, KNIGHT_W, KING_B, BISSHOP_B, VOID, QUEEN_W, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 50) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(BISSHOP_W, VOID, KING_W, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[6] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
}
function initPuzzleModerate100() {
if (initPuzzleNum == 51) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[5] = new Array(KING_W, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 52) {
chessBoard[0] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_W, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[4] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 53) {
chessBoard[0] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KING_B, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 54) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, ROOK_W, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KING_B, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 55) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_W, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 56) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[5] = new Array(KING_B, VOID, VOID, VOID, KING_W, VOID, PAWN_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
}
if (initPuzzleNum == 57) {
chessBoard[0] = new Array(VOID, VOID, KNIGHT_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 58) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
}
if (initPuzzleNum == 59) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_B, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 60) {
chessBoard[0] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(ROOK_W, VOID, PAWN_W, VOID, KING_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 61) {
chessBoard[0] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, BISSHOP_W, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 62) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_W, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 63) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KNIGHT_W, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_W, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 64) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, KNIGHT_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, KING_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 65) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(ROOK_W, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 66) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[4] = new Array(VOID, VOID, KING_B, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 67) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, KNIGHT_W, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 68) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, KING_W, ROOK_W, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_W, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 69) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[3] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 70) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[2] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_W, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, KING_W, ROOK_W, VOID, VOID, VOID);
}
if (initPuzzleNum == 71) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, KING_W, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, PAWN_B, KNIGHT_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 72) {
chessBoard[0] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KING_B, KNIGHT_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 73) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, QUEEN_W, VOID, KING_W, VOID, VOID, VOID, KNIGHT_B);
chessBoard[2] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 74) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KING_B, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 75) {
chessBoard[0] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[4] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 76) {
chessBoard[0] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[2] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, BISSHOP_W, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 77) {
chessBoard[0] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, KING_B, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, PAWN_W, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 78) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KNIGHT_W, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, KING_W, KNIGHT_W, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 79) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KNIGHT_W, KNIGHT_W, VOID, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, VOID, KNIGHT_W, KING_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 80) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(ROOK_W, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_B, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_B, VOID, KING_W, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 81) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_B, VOID, PAWN_B, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
}
if (initPuzzleNum == 82) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KNIGHT_W, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, KING_B, VOID, VOID, VOID, PAWN_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
}
if (initPuzzleNum == 83) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KNIGHT_W, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, KING_B, VOID, VOID, VOID, PAWN_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
}
if (initPuzzleNum == 84) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, ROOK_W, KNIGHT_B, VOID, VOID);
chessBoard[2] = new Array(BISSHOP_W, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[4] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 85) {
chessBoard[0] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KNIGHT_W, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, BISSHOP_W, PAWN_W, VOID, KING_W, VOID, VOID, VOID);
chessBoard[5] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 86) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_B, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_B, VOID, VOID, KING_W, VOID, VOID, BISSHOP_B);
}
if (initPuzzleNum == 87) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, KING_W, VOID, VOID, KNIGHT_W, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 88) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_W, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, BISSHOP_B, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 89) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, QUEEN_W, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_B, BISSHOP_B, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 90) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_W, PAWN_W, PAWN_W, VOID, VOID, VOID, VOID, BISSHOP_B);
chessBoard[6] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 91) {
chessBoard[0] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_B, KNIGHT_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 92) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, ROOK_W, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(ROOK_W, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 93) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(BISSHOP_W, VOID, KING_B, VOID, KING_W, VOID, VOID, VOID);
}
if (initPuzzleNum == 94) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, KING_B, PAWN_B, KING_W, VOID, VOID, VOID);
chessBoard[2] = new Array(BISSHOP_W, VOID, VOID, KNIGHT_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 95) {
chessBoard[0] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_B, KING_W, ROOK_W, VOID, VOID, BISSHOP_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 96) {
chessBoard[0] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KNIGHT_B, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
}
if (initPuzzleNum == 97) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, KING_W, VOID, ROOK_W, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_W, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 98) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_W, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, BISSHOP_W, KING_B, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
}
if (initPuzzleNum == 99) {
chessBoard[0] = new Array(QUEEN_W, BISSHOP_W, ROOK_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
}
if (initPuzzleNum == 100) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[6] = new Array(VOID, VOID, ROOK_W, ROOK_W, VOID, VOID, KING_W, VOID);
chessBoard[7] = new Array(ROOK_B, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
}
}
function initPuzzleModerate150() {
if (initPuzzleNum == 101) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 102) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_W, VOID, VOID, ROOK_W, VOID, ROOK_W);
chessBoard[2] = new Array(VOID, PAWN_W, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_B, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 103) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, BISSHOP_W, PAWN_W, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[6] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 104) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KNIGHT_W, VOID, VOID, KNIGHT_W, PAWN_W, VOID, KNIGHT_B, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 105) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, KNIGHT_W, BISSHOP_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KING_B, VOID, KNIGHT_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 106) {
chessBoard[0] = new Array(VOID, VOID, BISSHOP_B, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[1] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 107) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, KING_B, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, ROOK_W, VOID, BISSHOP_W, VOID, VOID, VOID);
}
if (initPuzzleNum == 108) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(ROOK_W, KNIGHT_W, VOID, VOID, KING_W, VOID, VOID, VOID);
}
if (initPuzzleNum == 109) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(PAWN_B, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(BISSHOP_W, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 110) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, ROOK_W, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, KNIGHT_B, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_B, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 111) {
chessBoard[0] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, PAWN_W, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 112) {
chessBoard[0] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KING_B, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, PAWN_W, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 113) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KING_W, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 114) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_B, KNIGHT_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, KING_W, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
if (initPuzzleNum == 115) {
chessBoard[0] = new Array(VOID, ROOK_W, BISSHOP_W, KING_B, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_B, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
}
}
function initPuzzleDifficult() {
mateIn = 5;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
initPuzzleNum = Number(menuha_mc.numProbl_txt.text);
if ((initPuzzleNum > 0) && (initPuzzleNum <= 50)) {
initPuzzleDifficult50();
}
if ((initPuzzleNum > 50) && (initPuzzleNum <= 100)) {
initPuzzleDifficult100();
}
if ((initPuzzleNum > 100) && (initPuzzleNum <= 150)) {
initPuzzleDifficult150();
}
}
function initPuzzleDifficult50() {
if (initPuzzleNum == 1) {
chessBoard[0] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(QUEEN_W, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 2) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KNIGHT_W, KING_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 3) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, KNIGHT_W, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 4) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 5) {
chessBoard[0] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, KING_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 6) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 7) {
chessBoard[0] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, QUEEN_W, VOID, VOID, PAWN_W, VOID, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 8) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_W, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 9) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_B, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 10) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, KNIGHT_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 11) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, BISSHOP_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
trace("#");
}
if (initPuzzleNum == 12) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_W, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 13) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[2] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 14) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, PAWN_B, KING_W, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 15) {
chessBoard[0] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, KING_B);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 16) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, QUEEN_W, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 17) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, BISSHOP_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
trace("#");
}
if (initPuzzleNum == 18) {
chessBoard[0] = new Array(VOID, VOID, VOID, KING_W, KNIGHT_W, BISSHOP_W, VOID, ROOK_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, KING_B, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 19) {
chessBoard[0] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 20) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, KING_B, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[4] = new Array(ROOK_W, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 21) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 22) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, PAWN_B, KNIGHT_W, VOID, VOID);
chessBoard[2] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 23) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 24) {
chessBoard[0] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 25) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, ROOK_W, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, BISSHOP_B);
trace("#");
}
if (initPuzzleNum == 26) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[7] = new Array(KING_B, ROOK_B, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 27) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, PAWN_B);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, BISSHOP_W);
trace("#");
}
if (initPuzzleNum == 28) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, KNIGHT_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 29) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KNIGHT_B, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, KING_W, VOID, VOID, ROOK_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 30) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, BISSHOP_W, KNIGHT_W, VOID);
trace("#");
}
if (initPuzzleNum == 31) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, PAWN_B, KING_B, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, KNIGHT_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 32) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, ROOK_W);
chessBoard[1] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[3] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 33) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, ROOK_W, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 34) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, PAWN_B, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, PAWN_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 35) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, PAWN_W, BISSHOP_W, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 36) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, KING_B, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 37) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, PAWN_B, PAWN_B, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, KING_W, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 38) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, KING_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 39) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KING_W, VOID, KING_B, PAWN_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, ROOK_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 40) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, ROOK_W, KING_W, ROOK_W, VOID);
chessBoard[7] = new Array(KING_B, BISSHOP_B, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 41) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID, ROOK_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, PAWN_B, ROOK_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_W, VOID, KING_B, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 42) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 43) {
chessBoard[0] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, BISSHOP_W);
trace("#");
}
if (initPuzzleNum == 44) {
chessBoard[0] = new Array(VOID, VOID, VOID, KING_W, KNIGHT_W, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 45) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 46) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, KING_W, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 47) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[6] = new Array(ROOK_W, VOID, VOID, BISSHOP_W, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 48) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, KNIGHT_W, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, KING_B, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 49) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, KNIGHT_W, KNIGHT_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, BISSHOP_W, BISSHOP_W, VOID, VOID, KING_W, VOID);
trace("#");
}
if (initPuzzleNum == 50) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, KING_W, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
}
function initPuzzleDifficult100() {
if (initPuzzleNum == 51) {
chessBoard[0] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, PAWN_W, KING_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 52) {
chessBoard[0] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[4] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
trace("#");
}
if (initPuzzleNum == 53) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(BISSHOP_W, VOID, KING_B, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 54) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, KING_W, PAWN_B, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 55) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, QUEEN_B);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, KING_B);
trace("#");
}
if (initPuzzleNum == 56) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_W, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 57) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 58) {
chessBoard[0] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KNIGHT_W, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, KING_B);
trace("#");
}
if (initPuzzleNum == 59) {
chessBoard[0] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 60) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_B, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, ROOK_W, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 61) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
trace("#");
}
if (initPuzzleNum == 62) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
trace("#");
}
if (initPuzzleNum == 63) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[2] = new Array(KNIGHT_W, VOID, KING_B, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
trace("#");
}
if (initPuzzleNum == 64) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, BISSHOP_W, KING_B, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, KNIGHT_W, KING_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 65) {
chessBoard[0] = new Array(KING_W, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 66) {
chessBoard[0] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(BISSHOP_B, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 67) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[5] = new Array(VOID, BISSHOP_W, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 68) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, BISSHOP_W);
chessBoard[5] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, KING_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
trace("#");
}
if (initPuzzleNum == 69) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_B, VOID, BISSHOP_W, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 70) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KNIGHT_W, VOID, KNIGHT_W, VOID, VOID, KING_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, ROOK_B, KING_B, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 71) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(ROOK_W, KNIGHT_W, VOID, VOID, KING_W, BISSHOP_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 72) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[5] = new Array(VOID, QUEEN_B, VOID, VOID, VOID, VOID, ROOK_W, KING_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
trace("#");
}
if (initPuzzleNum == 73) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_W, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[6] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 74) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, PAWN_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[6] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 75) {
chessBoard[0] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
trace("#");
}
if (initPuzzleNum == 76) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(ROOK_B, VOID, VOID, VOID, VOID, VOID, ROOK_W, KING_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, BISSHOP_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
trace("#");
}
if (initPuzzleNum == 77) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(KING_B, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 78) {
chessBoard[0] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_B, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 79) {
chessBoard[0] = new Array(KING_B, ROOK_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(ROOK_B, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, QUEEN_W, VOID, KING_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 80) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_W, KNIGHT_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KNIGHT_W, KING_B, VOID, VOID, KNIGHT_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 81) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KING_B, PAWN_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, KING_W, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 82) {
chessBoard[0] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, ROOK_W, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 83) {
chessBoard[0] = new Array(KING_B, BISSHOP_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_W, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
trace("#");
}
if (initPuzzleNum == 84) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, BISSHOP_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, KING_B);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 85) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KNIGHT_W, PAWN_W, KING_W, VOID, KING_B);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 86) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, KING_W, PAWN_W, KING_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, ROOK_W, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 87) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, PAWN_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[5] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, BISSHOP_B, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 88) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, ROOK_W, VOID, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 89) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 90) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, KING_W, VOID, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 91) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, VOID, KNIGHT_W, VOID, KING_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 92) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
chessBoard[3] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 93) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, KING_B, VOID, BISSHOP_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[5] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 94) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, KING_B, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[5] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 95) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, KNIGHT_W, KING_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_W, KING_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 96) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[6] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 97) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[4] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, PAWN_W, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 98) {
chessBoard[0] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 99) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, ROOK_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, KING_B, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_W, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 100) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
}
function initPuzzleDifficult150() {
if (initPuzzleNum == 101) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, KNIGHT_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, KNIGHT_W, VOID, ROOK_W);
trace("#");
}
if (initPuzzleNum == 102) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KNIGHT_W, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 103) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, KING_W, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KNIGHT_W, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 104) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KNIGHT_W, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 105) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_B, KNIGHT_W, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 106) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, KNIGHT_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 107) {
chessBoard[0] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 108) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_B, PAWN_B, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[5] = new Array(VOID, PAWN_W, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 109) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_W, BISSHOP_W, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_B, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
trace("#");
}
if (initPuzzleNum == 110) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_B, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 111) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(PAWN_W, KING_B, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 112) {
chessBoard[0] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 113) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[3] = new Array(VOID, KING_B, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 114) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(ROOK_W, VOID, VOID, VOID, KING_W, VOID, KNIGHT_W, VOID);
trace("#");
}
if (initPuzzleNum == 115) {
chessBoard[0] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 116) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, PAWN_B, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_B, BISSHOP_W, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 117) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_B, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 118) {
chessBoard[0] = new Array(KING_B, ROOK_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(ROOK_B, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, QUEEN_W, VOID, KING_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 119) {
chessBoard[0] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_B, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(PAWN_W, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 120) {
chessBoard[0] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 121) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, KNIGHT_W, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, KING_B);
trace("#");
}
if (initPuzzleNum == 122) {
chessBoard[0] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 123) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[1] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KNIGHT_W, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
}
function initPuzzleFiendish() {
mateIn = 6;
board_mc.mateIn_txt.text = "Mate in " + mateIn;
initPuzzleNum = Number(menuha_mc.numProbl_txt.text);
if ((initPuzzleNum > 0) && (initPuzzleNum <= 50)) {
initPuzzleFiendish50();
}
if ((initPuzzleNum > 50) && (initPuzzleNum <= 100)) {
initPuzzleFiendish100();
}
}
function initPuzzleFiendish50() {
if (initPuzzleNum == 1) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(BISSHOP_W, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 2) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 3) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID);
chessBoard[5] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 4) {
chessBoard[0] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 5) {
chessBoard[0] = new Array(VOID, KING_B, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_W, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 6) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_B, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, KNIGHT_W, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 7) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, KING_B, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
trace("#");
}
if (initPuzzleNum == 8) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(QUEEN_W, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, BISSHOP_B, VOID, KING_B, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 9) {
chessBoard[0] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_W, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(BISSHOP_W, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 10) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 11) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, ROOK_W, VOID, ROOK_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 12) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_B, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(BISSHOP_B, KING_B, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 13) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KNIGHT_W, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_B, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 14) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 15) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[2] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, PAWN_W);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 16) {
chessBoard[0] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_B, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_W, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 17) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_W, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 18) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[4] = new Array(VOID, KING_B, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 19) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_B, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 20) {
chessBoard[0] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 21) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[3] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 22) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KING_W, VOID, VOID, BISSHOP_W, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, PAWN_W, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 23) {
chessBoard[0] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(KING_B, PAWN_W, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 24) {
chessBoard[0] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, KING_B, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 25) {
chessBoard[0] = new Array(KING_B, VOID, KING_W, VOID, KNIGHT_B, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_W, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 26) {
chessBoard[0] = new Array(KING_B, BISSHOP_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(PAWN_W, PAWN_W, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 27) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[4] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 28) {
chessBoard[0] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, BISSHOP_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, BISSHOP_B, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 29) {
chessBoard[0] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(KING_W, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 30) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[6] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 31) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_B, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 32) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, KNIGHT_W, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 33) {
chessBoard[0] = new Array(VOID, ROOK_W, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 34) {
chessBoard[0] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[3] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 35) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, BISSHOP_W, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 36) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, BISSHOP_W, KING_B);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, KNIGHT_B, VOID, VOID, VOID, KNIGHT_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 37) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(PAWN_B, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(KING_B, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 38) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_W, VOID, KING_B, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, KNIGHT_W, BISSHOP_W, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 39) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[4] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 40) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_B, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 41) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[5] = new Array(KNIGHT_W, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 42) {
chessBoard[0] = new Array(VOID, VOID, VOID, KING_W, KNIGHT_W, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, KNIGHT_W, VOID, VOID, KNIGHT_W, KING_B, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 43) {
chessBoard[0] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID, KING_W);
trace("#");
}
if (initPuzzleNum == 44) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_B, KING_B, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 45) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, KING_B, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, KNIGHT_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, BISSHOP_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 46) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KING_W, VOID, KING_B, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, KNIGHT_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 47) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[3] = new Array(VOID, VOID, KING_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 48) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, ROOK_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, KING_B, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 49) {
chessBoard[0] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
chessBoard[3] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 50) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, PAWN_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
}
function initPuzzleFiendish100() {
if (initPuzzleNum == 51) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(BISSHOP_W, VOID, VOID, KING_B, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 52) {
chessBoard[0] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, QUEEN_B, KING_B, BISSHOP_B);
chessBoard[1] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 53) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_B, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KNIGHT_B, KING_W, VOID, KING_B);
trace("#");
}
if (initPuzzleNum == 54) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, KNIGHT_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 55) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID, KNIGHT_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, PAWN_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 56) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, KING_B, VOID, KING_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 57) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, KING_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, KNIGHT_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
trace("#");
}
if (initPuzzleNum == 58) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, KING_B, VOID);
trace("#");
}
if (initPuzzleNum == 59) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, PAWN_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, PAWN_W, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 60) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_B, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, PAWN_W, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 61) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(BISSHOP_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, BISSHOP_W, VOID, KING_B, VOID, KING_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 62) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(PAWN_B, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, VOID, VOID, VOID, VOID, QUEEN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_W, VOID, KING_B, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 63) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, KING_W, VOID, VOID);
chessBoard[6] = new Array(KNIGHT_W, VOID, PAWN_W, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 64) {
chessBoard[0] = new Array(VOID, VOID, QUEEN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, ROOK_W);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, KING_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
trace("#");
}
if (initPuzzleNum == 65) {
chessBoard[0] = new Array(KNIGHT_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, BISSHOP_W, VOID, VOID, KING_B, VOID, BISSHOP_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 66) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(QUEEN_B, VOID, VOID, VOID, VOID, VOID, ROOK_W, KING_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
trace("#");
}
if (initPuzzleNum == 67) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, BISSHOP_B, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, ROOK_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
trace("#");
}
if (initPuzzleNum == 68) {
chessBoard[0] = new Array(BISSHOP_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID);
chessBoard[3] = new Array(VOID, KING_W, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, PAWN_W, PAWN_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 69) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, KNIGHT_W, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 70) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, QUEEN_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, ROOK_B, BISSHOP_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_B);
trace("#");
}
if (initPuzzleNum == 71) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, BISSHOP_W, PAWN_W, KING_B, VOID, KING_W, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 72) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, PAWN_W, KING_B, VOID, KNIGHT_W, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_W, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 73) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KING_W, PAWN_W, KING_B, VOID, VOID, BISSHOP_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 74) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, BISSHOP_W, KNIGHT_W);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, KING_W, VOID, KNIGHT_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_W, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 75) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, ROOK_W, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID);
trace("#");
}
if (initPuzzleNum == 76) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, PAWN_B);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KING_W);
trace("#");
}
if (initPuzzleNum == 77) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, KNIGHT_W, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, KNIGHT_W, KING_B, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 78) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[5] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 79) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, KING_W, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, ROOK_W, VOID, VOID, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, KNIGHT_W, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 80) {
chessBoard[0] = new Array(BISSHOP_W, VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, KNIGHT_W);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, KING_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 81) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, PAWN_B, VOID, VOID, PAWN_B, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, PAWN_W, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_W, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 82) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, KNIGHT_W, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, VOID, PAWN_W);
chessBoard[6] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[7] = new Array(VOID, VOID, VOID, KING_W, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 83) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, PAWN_B, VOID, VOID, PAWN_B);
chessBoard[6] = new Array(VOID, VOID, QUEEN_W, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, KING_B, VOID, KING_W, VOID);
trace("#");
}
if (initPuzzleNum == 84) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, BISSHOP_W);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, KING_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, ROOK_W, VOID, VOID, VOID, VOID, PAWN_W);
chessBoard[7] = new Array(VOID, KING_B, VOID, VOID, VOID, VOID, ROOK_B, VOID);
trace("#");
}
if (initPuzzleNum == 85) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_B, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, PAWN_W, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_W, PAWN_W, VOID, VOID, VOID, VOID, KING_W, VOID);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 86) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(PAWN_B, PAWN_B, BISSHOP_B, KING_W, VOID, VOID, VOID, KNIGHT_W);
chessBoard[7] = new Array(BISSHOP_B, KING_B, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 87) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(KING_B, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, VOID, KING_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, VOID, PAWN_W, VOID, VOID, VOID, VOID, ROOK_W);
chessBoard[7] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 88) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, QUEEN_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, PAWN_B, BISSHOP_B);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_W, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, ROOK_B, VOID, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 89) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(QUEEN_W, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(VOID, PAWN_B, VOID, PAWN_W, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(VOID, KING_B, VOID, VOID, VOID, KING_W, VOID, VOID);
trace("#");
}
if (initPuzzleNum == 90) {
chessBoard[0] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[1] = new Array(VOID, VOID, PAWN_B, VOID, VOID, VOID, VOID, VOID);
chessBoard[2] = new Array(VOID, VOID, VOID, VOID, BISSHOP_W, VOID, VOID, VOID);
chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[5] = new Array(KING_W, VOID, BISSHOP_W, VOID, VOID, VOID, VOID, VOID);
chessBoard[6] = new Array(VOID, ROOK_W, VOID, VOID, VOID, VOID, VOID, VOID);
chessBoard[7] = new Array(KING_B, VOID, QUEEN_B, VOID, VOID, VOID, VOID, VOID);
trace("#");
}
}
function initMemoryBoard() {
if (memory == 1) {
chessBoard[0] = chessBoard_M_1[0].concat();
chessBoard[1] = chessBoard_M_1[1].concat();
chessBoard[2] = chessBoard_M_1[2].concat();
chessBoard[3] = chessBoard_M_1[3].concat();
chessBoard[4] = chessBoard_M_1[4].concat();
chessBoard[5] = chessBoard_M_1[5].concat();
chessBoard[6] = chessBoard_M_1[6].concat();
chessBoard[7] = chessBoard_M_1[7].concat();
trace("! initMemoryBoard() = " + chessBoard_M_1[6]);
} else if (memory == 2) {
chessBoard[0] = chessBoard_M_2[0].concat();
chessBoard[1] = chessBoard_M_2[1].concat();
chessBoard[2] = chessBoard_M_2[2].concat();
chessBoard[3] = chessBoard_M_2[3].concat();
chessBoard[4] = chessBoard_M_2[4].concat();
chessBoard[5] = chessBoard_M_2[5].concat();
chessBoard[6] = chessBoard_M_2[6].concat();
chessBoard[7] = chessBoard_M_2[7].concat();
trace("!! initMemoryBoard() = " + chessBoard_M_2[6]);
} else if (memory == 3) {
chessBoard[0] = chessBoard_M_3[0].concat();
chessBoard[1] = chessBoard_M_3[1].concat();
chessBoard[2] = chessBoard_M_3[2].concat();
chessBoard[3] = chessBoard_M_3[3].concat();
chessBoard[4] = chessBoard_M_3[4].concat();
chessBoard[5] = chessBoard_M_3[5].concat();
chessBoard[6] = chessBoard_M_3[6].concat();
chessBoard[7] = chessBoard_M_3[7].concat();
} else if (memory == 4) {
chessBoard[0] = chessBoard_M_4[0].concat();
chessBoard[1] = chessBoard_M_4[1].concat();
chessBoard[2] = chessBoard_M_4[2].concat();
chessBoard[3] = chessBoard_M_4[3].concat();
chessBoard[4] = chessBoard_M_4[4].concat();
chessBoard[5] = chessBoard_M_4[5].concat();
chessBoard[6] = chessBoard_M_4[6].concat();
chessBoard[7] = chessBoard_M_4[7].concat();
} else if (memory == 5) {
chessBoard[0] = chessBoard_M_5[0].concat();
chessBoard[1] = chessBoard_M_5[1].concat();
chessBoard[2] = chessBoard_M_5[2].concat();
chessBoard[3] = chessBoard_M_5[3].concat();
chessBoard[4] = chessBoard_M_5[4].concat();
chessBoard[5] = chessBoard_M_5[5].concat();
chessBoard[6] = chessBoard_M_5[6].concat();
chessBoard[7] = chessBoard_M_5[7].concat();
} else if (memory == 6) {
chessBoard[0] = chessBoard_M_6[0].concat();
chessBoard[1] = chessBoard_M_6[1].concat();
chessBoard[2] = chessBoard_M_6[2].concat();
chessBoard[3] = chessBoard_M_6[3].concat();
chessBoard[4] = chessBoard_M_6[4].concat();
chessBoard[5] = chessBoard_M_6[5].concat();
chessBoard[6] = chessBoard_M_6[6].concat();
chessBoard[7] = chessBoard_M_6[7].concat();
}
}
function initMemory() {
if (memory == 1) {
chessBoard_M_1[0] = chessBoard[0].concat();
chessBoard_M_1[1] = chessBoard[1].concat();
chessBoard_M_1[2] = chessBoard[2].concat();
chessBoard_M_1[3] = chessBoard[3].concat();
chessBoard_M_1[4] = chessBoard[4].concat();
chessBoard_M_1[5] = chessBoard[5].concat();
chessBoard_M_1[6] = chessBoard[6].concat();
chessBoard_M_1[7] = chessBoard[7].concat();
trace("! initMemory() = " + chessBoard_M_1[6]);
} else if (memory == 2) {
chessBoard_M_2[0] = chessBoard[0].concat();
chessBoard_M_2[1] = chessBoard[1].concat();
chessBoard_M_2[2] = chessBoard[2].concat();
chessBoard_M_2[3] = chessBoard[3].concat();
chessBoard_M_2[4] = chessBoard[4].concat();
chessBoard_M_2[5] = chessBoard[5].concat();
chessBoard_M_2[6] = chessBoard[6].concat();
chessBoard_M_2[7] = chessBoard[7].concat();
trace("!! initMemory() = " + chessBoard_M_2[6]);
} else if (memory == 3) {
chessBoard_M_3[0] = chessBoard[0].concat();
chessBoard_M_3[1] = chessBoard[1].concat();
chessBoard_M_3[2] = chessBoard[2].concat();
chessBoard_M_3[3] = chessBoard[3].concat();
chessBoard_M_3[4] = chessBoard[4].concat();
chessBoard_M_3[5] = chessBoard[5].concat();
chessBoard_M_3[6] = chessBoard[6].concat();
chessBoard_M_3[7] = chessBoard[7].concat();
} else if (memory == 4) {
chessBoard_M_4[0] = chessBoard[0].concat();
chessBoard_M_4[1] = chessBoard[1].concat();
chessBoard_M_4[2] = chessBoard[2].concat();
chessBoard_M_4[3] = chessBoard[3].concat();
chessBoard_M_4[4] = chessBoard[4].concat();
chessBoard_M_4[5] = chessBoard[5].concat();
chessBoard_M_4[6] = chessBoard[6].concat();
chessBoard_M_4[7] = chessBoard[7].concat();
} else if (memory == 5) {
chessBoard_M_5[0] = chessBoard[0].concat();
chessBoard_M_5[1] = chessBoard[1].concat();
chessBoard_M_5[2] = chessBoard[2].concat();
chessBoard_M_5[3] = chessBoard[3].concat();
chessBoard_M_5[4] = chessBoard[4].concat();
chessBoard_M_5[5] = chessBoard[5].concat();
chessBoard_M_5[6] = chessBoard[6].concat();
chessBoard_M_5[7] = chessBoard[7].concat();
} else if (memory == 6) {
chessBoard_M_6[0] = chessBoard[0].concat();
chessBoard_M_6[1] = chessBoard[1].concat();
chessBoard_M_6[2] = chessBoard[2].concat();
chessBoard_M_6[3] = chessBoard[3].concat();
chessBoard_M_6[4] = chessBoard[4].concat();
chessBoard_M_6[5] = chessBoard[5].concat();
chessBoard_M_6[6] = chessBoard[6].concat();
chessBoard_M_6[7] = chessBoard[7].concat();
}
}
function nextMemory() {
chessBoard_M_1[0] = chessBoard_M_2[0].concat();
chessBoard_M_1[1] = chessBoard_M_2[1].concat();
chessBoard_M_1[2] = chessBoard_M_2[2].concat();
chessBoard_M_1[3] = chessBoard_M_2[3].concat();
chessBoard_M_1[4] = chessBoard_M_2[4].concat();
chessBoard_M_1[5] = chessBoard_M_2[5].concat();
chessBoard_M_1[6] = chessBoard_M_2[6].concat();
chessBoard_M_1[7] = chessBoard_M_2[7].concat();
chessBoard_M_2[0] = chessBoard_M_3[0].concat();
chessBoard_M_2[1] = chessBoard_M_3[1].concat();
chessBoard_M_2[2] = chessBoard_M_3[2].concat();
chessBoard_M_2[3] = chessBoard_M_3[3].concat();
chessBoard_M_2[4] = chessBoard_M_3[4].concat();
chessBoard_M_2[5] = chessBoard_M_3[5].concat();
chessBoard_M_2[6] = chessBoard_M_3[6].concat();
chessBoard_M_2[7] = chessBoard_M_3[7].concat();
chessBoard_M_3[0] = chessBoard_M_4[0].concat();
chessBoard_M_3[1] = chessBoard_M_4[1].concat();
chessBoard_M_3[2] = chessBoard_M_4[2].concat();
chessBoard_M_3[3] = chessBoard_M_4[3].concat();
chessBoard_M_3[4] = chessBoard_M_4[4].concat();
chessBoard_M_3[5] = chessBoard_M_4[5].concat();
chessBoard_M_3[6] = chessBoard_M_4[6].concat();
chessBoard_M_3[7] = chessBoard_M_4[7].concat();
chessBoard_M_4[0] = chessBoard_M_5[0].concat();
chessBoard_M_4[1] = chessBoard_M_5[1].concat();
chessBoard_M_4[2] = chessBoard_M_5[2].concat();
chessBoard_M_4[3] = chessBoard_M_5[3].concat();
chessBoard_M_4[4] = chessBoard_M_5[4].concat();
chessBoard_M_4[5] = chessBoard_M_5[5].concat();
chessBoard_M_4[6] = chessBoard_M_5[6].concat();
chessBoard_M_4[7] = chessBoard_M_5[7].concat();
chessBoard_M_5[0] = chessBoard_M_6[0].concat();
chessBoard_M_5[1] = chessBoard_M_6[1].concat();
chessBoard_M_5[2] = chessBoard_M_6[2].concat();
chessBoard_M_5[3] = chessBoard_M_6[3].concat();
chessBoard_M_5[4] = chessBoard_M_6[4].concat();
chessBoard_M_5[5] = chessBoard_M_6[5].concat();
chessBoard_M_5[6] = chessBoard_M_6[6].concat();
chessBoard_M_5[7] = chessBoard_M_6[7].concat();
chessBoard_M_6[0] = chessBoard[0].concat();
chessBoard_M_6[1] = chessBoard[1].concat();
chessBoard_M_6[2] = chessBoard[2].concat();
chessBoard_M_6[3] = chessBoard[3].concat();
chessBoard_M_6[4] = chessBoard[4].concat();
chessBoard_M_6[5] = chessBoard[5].concat();
chessBoard_M_6[6] = chessBoard[6].concat();
chessBoard_M_6[7] = chessBoard[7].concat();
}
MAXDEPTH = 0;
chessBoard_M_1 = new Array(8);
chessBoard_M_2 = new Array(8);
chessBoard_M_3 = new Array(8);
chessBoard_M_4 = new Array(8);
chessBoard_M_5 = new Array(8);
chessBoard_M_6 = new Array(8);
startChess();
stop();
Frame 7
signal.gotoAndStop("comp");
messages.gotoAndStop(1);
computerScore = 0;
playerScore = 0;
var i = 0;
while (i < 8) {
j = 0;
while (j < 8) {
if (chessBoard[i][j] != VOID) {
if ((chessBoard[i][j] & 1) == SIDE_COMPUTER) {
computerScore = computerScore + (chessBoard[i][j] >> 1);
playerScore = playerScore - (chessBoard[i][j] >> 1);
} else if ((chessBoard[i][j] & 1) == SIDE_PLAYER) {
computerScore = computerScore - (chessBoard[i][j] >> 1);
playerScore = playerScore + (chessBoard[i][j] >> 1);
}
}
j++;
}
i++;
}
Frame 8
computerScore = 0;
INFINITY = 10000000 /* 0x989680 */;
s = getTimer();
trace("my turn");
thin = true;
onEnterFrame = function () {
if (thin) {
thi_mc._x = _root._xmouse + 11;
thi_mc._y = _root._ymouse - 11;
} else {
thi_mc._x = 2000;
thi_mc._y = 2000;
}
};
alpha = -INFINITY;
beta = INFINITY;
bestMove = null;
bestScore = -INFINITY;
allPossibleMoves = new Array();
capturedPiece = null;
side = SIDE_COMPUTER;
depth = MAXDEPTH;
var i = 0;
while (i < 8) {
var j = 0;
while (j < 8) {
if (((chessBoard[i][j] & 1) == side) && (chessBoard[i][j] != VOID)) {
compMoves = calculateMoves(i, j, side);
allPossibleMoves = allPossibleMoves.concat(compMoves);
}
j++;
}
i++;
}
allPossibleMoves = shuffle(allPossibleMoves);
index = 0;
Frame 9
if (index < allPossibleMoves.length) {
progressBar.show(index, allPossibleMoves.length - 1);
capturedPiece = do_move(allPossibleMoves[index], side);
moveScore = -search(getOpponent(side), depth, -1 * beta, -1 * alpha);
} else {
gotoAndPlay (11);
}
Frame 10
undo_move(allPossibleMoves[index], side, capturedPiece);
if (bestScore < moveScore) {
bestScore = moveScore;
bestMove = allPossibleMoves[index];
}
if (alpha < bestScore) {
alpha = bestScore;
}
if (alpha >= beta) {
gotoAndPlay (11);
}
index++;
gotoAndPlay(_currentframe - 1);
Frame 11
trace("best: " + bestMove);
thin = false;
delete allPossibleMoves;
trace("time " + (getTimer() - s));
if (bestMove == null) {
messages.gotoAndStop("Pat");
}
isPat = checkChessState(SIDE_COMPUTER);
tempP = do_move(bestMove, SIDE_COMPUTER);
isNotMat = checkChessState(SIDE_COMPUTER);
undo_move(bestMove, SIDE_COMPUTER, tempP);
if (isNotMat) {
moveRealComputer(bestMove);
} else if (isPat) {
trace("Pat!");
board_mc.mateIn_txt.text = "Pat";
} else {
computerLoose();
}
if (memory < 6) {
memory++;
} else {
nextMemory();
}
initMemory();
if (memory > 1) {
bc_btn_in();
memo_bl = true;
}
if (plpuzzl_bl) {
mateIn--;
if ((board_mc.mateIn_txt.text == "Pat") || (board_mc.mateIn_txt.text == "Player Loose")) {
rez_mc.gotoAndPlay("wrong");
} else {
if (mateIn >= 0) {
if (board_mc.mateIn_txt.text != "Checkmate") {
board_mc.mateIn_txt.text = "Mate in " + mateIn;
} else {
rez_mc.gotoAndPlay("win");
}
}
if ((mateIn == 0) && (board_mc.mateIn_txt.text != "Checkmate")) {
rez_mc.gotoAndPlay("wrong");
computerLoose();
board_mc.mateIn_txt.text = "Mate in " + mateIn;
}
}
}
rest_btn_in();
stop();
Symbol 3 MovieClip [energyBar] Frame 1
function show(value, maxValue) {
_visible = true;
var _local1 = Math.round((value * 20) / maxValue);
if (_local1 == 0) {
_local1 = 1;
}
gotoAndStop(_local1);
}
function hide() {
_visible = false;
}
stop();
Symbol 7 MovieClip Frame 1
stop();
Symbol 12 MovieClip Frame 1
var CPMStarContentSpotID = "0";
System.security.allowDomain("server.cpmstar.com");
adBox.loadMovie("http://server.cpmstar.com/adviewas2.swf?contentspotid=531QAF25D117");
Symbol 274 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 275 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 276 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 277 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 278 MovieClip [__Packages.mx.transitions.easing.Back] Frame 0
class mx.transitions.easing.Back
{
function Back () {
}
static function easeIn(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d;
return((((c * t) * t) * (((s + 1) * t) - s)) + b);
}
static function easeOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = (t / d) - 1;
return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
static function easeInOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
s = s * 1.525;
return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b);
}
t = t - 2;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 58 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 2
stop();
Symbol 59 Button
on (release) {
getURL ("http://www.minijuegos.com/", "BLANK");
}
Symbol 132 MovieClip Frame 1
function markdel() {
mark_1_mc._alpha = 0;
mark_2_mc._alpha = 0;
mark_3_mc._alpha = 0;
mark_4_mc._alpha = 0;
mark_5_mc._alpha = 0;
mark_6_mc._alpha = 0;
}
function markstart() {
mark_1_mc._alpha = 100;
mark_2_mc._alpha = 0;
mark_3_mc._alpha = 0;
mark_4_mc._alpha = 0;
mark_5_mc._alpha = 0;
mark_6_mc._alpha = 0;
_parent.getPuzzle = "Novice";
}
markstart();
Selection.setFocus("numProbl_txt");
Selection.setSelection(0, 0);
var counter = Number(counter_txt.text);
trace(Number(counter));
onEnterFrame = function () {
var _local1 = Number(numProbl_txt.text);
if (_local1 > allPuz_txt.text) {
numProbl_txt.text = allPuz_txt.text;
Selection.setFocus(null);
}
if (_local1 < 1) {
numProbl_txt.text = 1;
Selection.setFocus(null);
}
};
lev_1_btn.onPress = function () {
markdel();
mark_1_mc._alpha = 100;
_parent.getPuzzle = "Novice";
allPuz_txt.text = 88;
};
lev_2_btn.onPress = function () {
markdel();
mark_2_mc._alpha = 100;
_parent.getPuzzle = "Beginner";
allPuz_txt.text = 112;
};
lev_3_btn.onPress = function () {
markdel();
mark_3_mc._alpha = 100;
_parent.getPuzzle = "Easy";
allPuz_txt.text = 131;
};
lev_4_btn.onPress = function () {
markdel();
mark_4_mc._alpha = 100;
_parent.getPuzzle = "Moderate";
allPuz_txt.text = 115;
};
lev_5_btn.onPress = function () {
markdel();
mark_5_mc._alpha = 100;
_parent.getPuzzle = "Difficult";
allPuz_txt.text = 123;
};
lev_6_btn.onPress = function () {
markdel();
mark_6_mc._alpha = 100;
_parent.getPuzzle = "Fiendish";
allPuz_txt.text = 90;
};
Symbol 150 MovieClip Frame 48
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 54
var nun1 = Number(_parent.menuha_mc.numProbl_txt.text);
var nun2 = Number(_parent.menuha_mc.allPuz_txt.text);
if (nun1 == nun2) {
_parent.menuha_mc.mark_1_mc._alpha = 0;
_parent.menuha_mc.mark_2_mc._alpha = 0;
_parent.menuha_mc.mark_3_mc._alpha = 0;
_parent.menuha_mc.mark_4_mc._alpha = 0;
_parent.menuha_mc.mark_5_mc._alpha = 0;
_parent.menuha_mc.mark_6_mc._alpha = 0;
if (_parent.getPuzzle == "Novice") {
_parent.menuha_mc.mark_2_mc._alpha = 100;
_parent.getPuzzle = "Beginner";
_parent.menuha_mc.allPuz_txt.text = 112;
} else if (_parent.getPuzzle == "Beginner") {
_parent.menuha_mc.mark_3_mc._alpha = 100;
_parent.getPuzzle = "Easy";
_parent.menuha_mc.allPuz_txt.text = 131;
} else if (_parent.getPuzzle == "Easy") {
_parent.menuha_mc.mark_4_mc._alpha = 100;
_parent.getPuzzle = "Moderate";
_parent.menuha_mc.allPuz_txt.text = 115;
} else if (_parent.getPuzzle == "Moderate") {
_parent.menuha_mc.mark_5_mc._alpha = 100;
_parent.getPuzzle = "Difficult";
_parent.menuha_mc.allPuz_txt.text = 123;
} else if (_parent.getPuzzle == "Difficult") {
_parent.menuha_mc.mark_6_mc._alpha = 100;
_parent.getPuzzle = "Fiendish";
_parent.menuha_mc.allPuz_txt.text = 90;
}
_parent.menuha_mc.numProbl_txt.text = 0;
nun1 = Number(_parent.menuha_mc.numProbl_txt.text);
}
_parent.menuha_mc.numProbl_txt.text++;
_parent.board_mc.numPuz_txt.text = (_parent.menuha_mc.numProbl_txt.text + "/") + _parent.menuha_mc.allPuz_txt.text;
nun1++;
if (nun1 == _parent.menuha_mc.allPuz_txt.text) {
_parent.tween8 = new mx.transitions.Tween(_parent.board_mc.nxt_btn, "_y", mx.transitions.easing.Back.easeOut, -292, -296.6, 10, false);
_parent.all_btn_off();
_parent.prev_btn_in();
_parent.ran_btn_in();
}
if (nun1 > 1) {
_parent.prev_btn_in();
}
if (nun1 == 1) {
_parent.all_btn_off();
_parent.nxt_btn_in();
_parent.ran_btn_in();
} else if (nun1 == _parent.menuha_mc.allPuz_txt.text) {
_parent.all_btn_off();
_parent.prev_btn_in();
_parent.ran_btn_in();
} else {
_parent.all_btn_off();
_parent.prev_btn_in();
_parent.ran_btn_in();
_parent.nxt_btn_in();
}
_parent.plchess_bl = false;
_parent.plpuzzl_bl = true;
_parent.memo_bl = false;
_parent.memory = 1;
_parent.startChess();
Symbol 154 MovieClip Frame 93
gotoAndStop (1);
Symbol 154 MovieClip Frame 165
_parent.bc_btn_off();
_parent.rest_btn_off();
_parent.memory = 1;
_parent.memo_bl = false;
if (_parent.plchess_bl) {
_parent.board_mc.mateIn_txt.text = "Chess";
}
_parent.tween8 = new mx.transitions.Tween(_parent.board_mc.rest_btn, "_y", mx.transitions.easing.Back.easeOut, 274, 277.9, 10, false);
_parent.startChess();
gotoAndStop (1);
Symbol 230 MovieClip Frame 168
intervalVision = setInterval(function () {
_root.minijuegos_mc._alpha = _root.minijuegos_mc._alpha - 5;
if (_root.minijuegos_mc._alpha <= 0) {
clearInterval(_root.minijuegos_mc.intervalVision);
nextFrame();
}
}, 33);
stop();
Symbol 230 MovieClip Frame 169
stop();
Symbol 258 Button
on (release) {
_root.select(this._parent.row, this._parent.col);
gotoAndStop (3);
}
Symbol 260 Button
on (release) {
_root.moveRealPlayer((((_root.pieceSelected.row << 9) | (_root.pieceSelected.col << 6)) | (this._parent.row << 3)) | this._parent.col, _root.SIDE_PLAYER);
}
Symbol 262 Button
on (release) {
_root.deselect(this._parent);
_root.gotoAndStop("normal");
}
Symbol 263 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 2
stop();
Symbol 263 MovieClip Frame 3
stop();
Symbol 263 MovieClip Frame 4
stop();
Symbol 271 MovieClip Frame 1
function showPiece(piece) {
if (piece == _root.VOID) {
gotoAndStop (1);
return(undefined);
}
if (piece == _root.PAWN_W) {
gotoAndStop (2);
return(undefined);
}
if (piece == _root.KNIGHT_W) {
gotoAndStop (3);
return(undefined);
}
if (piece == _root.ROOK_W) {
gotoAndStop (4);
return(undefined);
}
if (piece == _root.BISSHOP_W) {
gotoAndStop (5);
return(undefined);
}
if (piece == _root.QUEEN_W) {
gotoAndStop (6);
return(undefined);
}
if (piece == _root.KING_W) {
gotoAndStop (7);
return(undefined);
}
if (piece == _root.PAWN_B) {
gotoAndStop (9);
return(undefined);
}
if (piece == _root.KNIGHT_B) {
gotoAndStop (10);
return(undefined);
}
if (piece == _root.ROOK_B) {
gotoAndStop (11);
return(undefined);
}
if (piece == _root.BISSHOP_B) {
gotoAndStop (12);
return(undefined);
}
if (piece == _root.QUEEN_B) {
gotoAndStop (13);
return(undefined);
}
if (piece == _root.KING_B) {
gotoAndStop (14);
}
}
piece = "void";
stop();
Symbol 271 MovieClip Frame 2
piece = "pawn_w";
stop();
Symbol 271 MovieClip Frame 3
piece = "knight_w";
stop();
Symbol 271 MovieClip Frame 4
piece = "rook_w";
stop();
Symbol 271 MovieClip Frame 5
piece = "bisshop_w";
stop();
Symbol 271 MovieClip Frame 6
piece = "queen_w";
stop();
Symbol 271 MovieClip Frame 7
piece = "king_w";
stop();
Symbol 271 MovieClip Frame 9
piece = "pawn_b";
stop();
Symbol 271 MovieClip Frame 10
piece = "knight_b";
stop();
Symbol 271 MovieClip Frame 11
piece = "rook_b";
stop();
Symbol 271 MovieClip Frame 12
piece = "bisshop_b";
stop();
Symbol 271 MovieClip Frame 13
piece = "queen_b";
stop();
Symbol 271 MovieClip Frame 14
piece = "king_b";
stop();
Symbol 272 MovieClip Frame 1
function showPiece(piece) {
if (piece == _root.VOID) {
gotoAndStop (1);
return(undefined);
}
if (piece == _root.PAWN_W) {
gotoAndStop (2);
return(undefined);
}
if (piece == _root.KNIGHT_W) {
gotoAndStop (3);
return(undefined);
}
if (piece == _root.ROOK_W) {
gotoAndStop (4);
return(undefined);
}
if (piece == _root.BISSHOP_W) {
gotoAndStop (5);
return(undefined);
}
if (piece == _root.QUEEN_W) {
gotoAndStop (6);
return(undefined);
}
if (piece == _root.KING_W) {
gotoAndStop (7);
return(undefined);
}
if (piece == _root.PAWN_B) {
gotoAndStop (9);
return(undefined);
}
if (piece == _root.KNIGHT_B) {
gotoAndStop (10);
return(undefined);
}
if (piece == _root.ROOK_B) {
gotoAndStop (11);
return(undefined);
}
if (piece == _root.BISSHOP_B) {
gotoAndStop (12);
return(undefined);
}
if (piece == _root.QUEEN_B) {
gotoAndStop (13);
return(undefined);
}
if (piece == _root.KING_B) {
gotoAndStop (14);
}
}
piece = "void";
stop();
Symbol 272 MovieClip Frame 2
piece = "pawn_w";
stop();
Symbol 272 MovieClip Frame 3
piece = "knight_w";
stop();
Symbol 272 MovieClip Frame 4
piece = "rook_w";
stop();
Symbol 272 MovieClip Frame 5
piece = "bisshop_w";
stop();
Symbol 272 MovieClip Frame 6
piece = "queen_w";
stop();
Symbol 272 MovieClip Frame 7
piece = "king_w";
stop();
Symbol 272 MovieClip Frame 9
piece = "pawn_b";
stop();
Symbol 272 MovieClip Frame 10
piece = "knight_b";
stop();
Symbol 272 MovieClip Frame 11
piece = "rook_b";
stop();
Symbol 272 MovieClip Frame 12
piece = "bisshop_b";
stop();
Symbol 272 MovieClip Frame 13
piece = "queen_b";
stop();
Symbol 272 MovieClip Frame 14
piece = "king_b";
stop();
Symbol 273 MovieClip Frame 1
function showPiece(piece) {
if (piece == _root.VOID) {
gotoAndStop (1);
return(undefined);
}
if (piece == _root.PAWN_W) {
gotoAndStop (2);
return(undefined);
}
if (piece == _root.KNIGHT_W) {
gotoAndStop (3);
return(undefined);
}
if (piece == _root.ROOK_W) {
gotoAndStop (4);
return(undefined);
}
if (piece == _root.BISSHOP_W) {
gotoAndStop (5);
return(undefined);
}
if (piece == _root.QUEEN_W) {
gotoAndStop (6);
return(undefined);
}
if (piece == _root.KING_W) {
gotoAndStop (7);
return(undefined);
}
if (piece == _root.PAWN_B) {
gotoAndStop (9);
return(undefined);
}
if (piece == _root.KNIGHT_B) {
gotoAndStop (10);
return(undefined);
}
if (piece == _root.ROOK_B) {
gotoAndStop (11);
return(undefined);
}
if (piece == _root.BISSHOP_B) {
gotoAndStop (12);
return(undefined);
}
if (piece == _root.QUEEN_B) {
gotoAndStop (13);
return(undefined);
}
if (piece == _root.KING_B) {
gotoAndStop (14);
}
}
piece = "void";
stop();
Symbol 273 MovieClip Frame 2
piece = "pawn_w";
stop();
Symbol 273 MovieClip Frame 3
piece = "knight_w";
stop();
Symbol 273 MovieClip Frame 4
piece = "rook_w";
stop();
Symbol 273 MovieClip Frame 5
piece = "bisshop_w";
stop();
Symbol 273 MovieClip Frame 6
piece = "queen_w";
stop();
Symbol 273 MovieClip Frame 7
piece = "king_w";
stop();
Symbol 273 MovieClip Frame 9
piece = "pawn_b";
stop();
Symbol 273 MovieClip Frame 10
piece = "knight_b";
stop();
Symbol 273 MovieClip Frame 11
piece = "rook_b";
stop();
Symbol 273 MovieClip Frame 12
piece = "bisshop_b";
stop();
Symbol 273 MovieClip Frame 13
piece = "queen_b";
stop();
Symbol 273 MovieClip Frame 14
piece = "king_b";
stop();