");
anawin.document.writeln(" Click on the piece you wish to move and then click on its destination square. ");
anawin.document.write("
");}
function initdia(){
if (dummy1 == 1) return;
window.status = "Init. diagrams...";
j=0;
for(i=0;i
");}
function st(id,t){
document.getElementById(id).firstChild.nodeValue=t;}
function st2(id,t){
var e=document.getElementById(id);
e.style.fontSize="8pt";
e.style.fontFamily="MS Sans Serif";
e.style.fontWeight="bold";
return st(id,t);}
function paintframe(ibrd){
if(!document.getElementById)return;
var i=0;
var l=ibrd*100;
if(!rotated[ibrd]){
i=9;
st2(l+140,"a");st2(l+141,"b");st2(l+142,"c");st2(l+143,"d");st2(l+144,"e");st2(l+145,"f");st2(l+146,"g");st2(l+147,"h");
st2(l+130,"a");st2(l+131,"b");st2(l+132,"c");st2(l+133,"d");st2(l+134,"e");st2(l+135,"f");st2(l+136,"g");st2(l+137,"h");
i=0;}
else{
st2(l+140,"h");st2(l+141,"g");st2(l+142,"f");st2(l+143,"e");st2(l+144,"d");st2(l+145,"c");st2(l+146,"b");st2(l+147,"a");
st2(l+130,"h");st2(l+131,"g");st2(l+132,"f");st2(l+133,"e");st2(l+134,"d");st2(l+135,"c");st2(l+136,"b");st2(l+137,"a");
i=9;}
for (j=0; j<8; j++){
st2(l+100+j,Math.abs(i-(8-j)));
st2(l+110+j,Math.abs(i-(8-j)));}}
var fa = "";
var fe = "";
var dc = "#D5D5D5";
function koord(idxbrd, iid) {
var k = "abcdefgh";
document.write("
");
for (i = 0; i < 8; i++) {
wfc(dc, (idxbrd * 100) + iid + i, fa + k.charAt(i) + fe); }
document.write("
"); }
var x="x";
var goback=-1;
var goahead=-2;
var idx=0;
var bidx=0;
var lastidx=new Array(0, 2, 7, 11, 17, 22, 32, 46, 50, 60, 112, 154, 158, 0);
var lastcolor="#000000";
var movebgcol="#FF0000";
var movecol="#00FFFF";
var bgcolor="#ECECEC";
var maxvar=10;
var engl=2;
var lang=new Array("¢","£","¦","¥","¤","");
var nbgames = 13;
var diagram=self;
var timer=null;
var dummy2=0;
var dummy3=0;
zg=new Array(
"4k3/4P3/5K2/8/8/8/8/8 1 x","2120"
,
"8/8/1kp5/p1p3R1/P7/8/5BK1/2q5 1 x","3026pAA","5826RAA","5463","2653BAA"
,
"8/8/1P6/8/6p1/4rkP1/7P/1R4K1 1 x","1709","4460","5760rAA"
,
"2Q1qk2/8/p4P2/1p2p3/1P2P2B/P2r3P/5P1K/8 1 x","0216pAA","4347PAA","5547rAA","0420","1620qAA"
,
"1k6/4qp2/5p2/KP3P1p/P2Q3P/8/8/8 1 x","1210","3517","0100","1710qAA"
,
"7k/1R5P/6P1/7K/8/8/8/5r2 1 x","6129","w2 30 27 ","3138","7k/1R5P/6P1/5r1K/8/8/8/8 2 24","3123","2931","7k/1R5P/6P1/5r2/6K1/8/8/8 2 25","2937","3837rAA"
,
"8/8/8/3q4/8/K7/4Q1p1/1k6 1 x","2724","4041","2417","4140","b4 44 40 ","5462q","8/8/1q6/8/8/K7/4Q1p1/1k6 3 37","5462r","5225","1725QAA","8/8/1q6/8/8/K7/4Q3/1k4q1 4 38","5259","6259QAA"
,
"7k/5Q2/7K/8/8/8/8/6r1 1 x","6222","2331","2230"
,
"b4b1k/6np/7N/8/8/5rp1/8/6K1 1 x","2313","b2 57 55 ","0706","b4b1k/5Nnp/8/8/8/5rp1/8/6K1 1 52","4513NAA","b4bk1/5Nnp/8/8/8/5rp1/8/6K1 2 53","1323","0607","2313"
,
"rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR 1 x","5236","1018","5135","0621","5742","1119","6245","0238","6134","0111","5844","1228","3528pAA","1128PAA","3452","0310","4535","3852BAA","5952bAA","1422",
"60585659","0514","5337","2811","3525","1825NAA","4225pAA","1018","5919pAA","1836PAA","1911nAA","b17 97 95 ","04060705","r3k2r/pp1R1pbp/5np1/1N6/4qP2/4B3/PPP1Q1PP/2K4R 16 92","0411RAA","r4rk1/pp1R1pbp/5np1/1N6/4qP2/4B3/PPP1Q1PP/2K4R 17 93","1135","3620","2542","0504","6360",
"2127","4227nAA","1435RAA","4435bAA","2052QAA","2721","0605","2115pAA","0506","1521"
,
"rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR 1 x","5236","1026","6245","1119","5135","2635PAA","4535pAA","0621","5742","0816","5830","1220","5337","0512","5945","1523","3039","1430","3730pAA","2111",
"3520pAA","1320NAA","4531","0405","6125","0715","60626361","0506","3022","1514","6113","1239BAA","3123pAA","1413RAA","2213rAA","0613PAA","2315","1305","2511nAA","0111BAA","1523"
,
"8/6k1/6p1/6P1/6P1/6KP/p5P1/8 1 x","4639","4856q","5446"
,
"5r1k/7P/6PP/8/P5K1/3B4/8/8 1 x","0537"
);
br=new Array(
new Array(
x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
),
new Array(
x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
),
new Array(
x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
),
new Array(
x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
),
new Array(
x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,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x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
)
);
//-->
Ahogado y Jaque Continuo
Dediquemos un poco de tiempo en el entrenamiento a la revisión de las reglas del ahogado y jaque continuo, mediante algunos ejercicios.
Ejemplos de Ahogado:
Ahogado - Ejemplo 01
1.♚e6Tras esta única jugada del blanco para no perder el peón e7, el rey negro queda ahogado.
1/2-1/2
Ahogado - Ejemplo 02
1.♜xc5♛xc52.♚h1!Ahora el negro no tiene mas
jugadas que capturar el alfil: 2...♛xf2Y
el rey blanco ha quedado ahogado.