// Déclarations dynamiques mode='voir'; tableauPromotions=new Array(4); tableauPromotions[0]='D'; tableauPromotions[1]='T'; tableauPromotions[2]='F'; tableauPromotions[3]='C'; derniereRangee=new Array(3); derniereRangee[1]=8; derniereRangee[2]=1; jeu='ambigus'; resultat=''; choisirPromotion='Select a promotion piece'; hauteur=8; largeur=8; premier_trait=1; position=new Array(9); position[0]=new Array(9); position[1]=new Array(9); position[2]=new Array(9); position[3]=new Array(9); position[4]=new Array(9); position[5]=new Array(9); position[6]=new Array(9); position[7]=new Array(9); position[8]=new Array(9); position[4][2]='rb'; position[6][2]='rn'; position[7][2]='pn'; position[8][3]='db'; position[3][4]='pb'; position[5][4]='pn'; position[6][4]='pn'; position[5][5]='pn'; position[6][5]='fb'; marquePromotion='0'; caseMarquee=''; reserve=undefined; etat='CoupAmbigu'; coupsRestants='1'; referenceCoup='0'; fens={"0":"8/8/8/4pB2/2P1pp2/7Q/3K1kp1/8 w", "1_0_0":"8/8/8/4pB2/2P1pp2/7Q/3K1kp1/8 w", "1_0_1":"8/8/8/4pB2/2P1pp2/7Q/3K1kp1/8 b", "1_0_2":"8/8/8/4pB2/2P1pp2/7Q/3K1kp1/8 w//!g1", "1_0_3":"8/8/8/4pB2/2P1pp1Q/8/3K1k2/6q1 b", "1_1_0":"8/8/8/4pB2/2P1pp2/7Q/3K1kp1/8 w", "1_1_1":"8/8/8/4pB2/2P1pp2/7Q/3K1kp1/8 b", "1_1_2":"8/8/8/4pB2/2P1pp2/7Q/3K2p1/5k2 w", "1_1_3":"8/8/8/4pB2/2P1pp2/7Q/6p1/3K1k2 b", "1_1_4":"8/8/8/4pB2/2P1pp2/7Q/5kp1/3K4 w", "1":"8/8/8/4pB2/2P1pp2/7Q/5kp1/3K4 b", "2_0_0":"8/8/8/4pB2/2P1pp2/7Q/5kp1/3K4 b", "2_0_1":"8/8/8/4pB2/2P1pp2/7Q/6p1/3K1k2 w", "2_0_2":"8/8/8/4pB2/2P1pp2/5Q2/6p1/3K1k2 b", "2_0_3":"8/8/8/4pB2/2P2p2/5p2/6p1/3K1k2 w", "2_0_4":"8/8/8/4p3/2P2p2/3B1p2/6p1/3K1k2 b", "2":"8/8/8/4pB2/2P1pp2/7Q/5kp1/3K4 w//!g1", "3":"8/8/8/4pB2/2P1pp2/8/5k2/3K1Qq1 b", "4":"8/8/8/4pB2/2P1pp2/8/5k2/3K1Qq1 w//!f1", "5":"8/8/8/4p3/2P1pp2/7B/8/3K1kq1 b"}; coups={"1_0_1":"--", "1_0_2":"-g1?", "1_0_3":"[g2-g1=Q]Qh3-h4#!", "1_1_1":"--", "1_1_2":"Kf2-f1!", "1_1_3":"Kd2-d1", "1_1_4":"Kf1-f2", "1":"Kd2-d1!!", "2_0_1":"Kf2-f1", "2_0_2":"Qh3-f3+!", "2_0_3":"e4xf3", "2_0_4":"Bf5-d3#", "2":"-g1", "3":"[g2-g1=Q]Qh3-f1+!", "4":"xf1", "5":"[Kf2xf1]Bf5-h3#"}; comms={"1_0_2":"would allow an immediate mate :", "1_1_2":", with the idea 2...e3+, was Black\'s only defense in the set position.", "1":"Prepares an answer to 1...Kf1, but the king moves to a square where a queen promotion would come with check.", "2_0_2":"First queen sacrifice.", "2_0_4":"Here is the real reason for White\'s first move : with the king on d2, White would be unable to deliver that bishop check. Now the black king appears to have two flight squares, but on any of them White would have a pawn play instead.", "3":"A kind of double queen sacrifice : White chooses to promote the black pawn to queen with check, and sacrifices its own queen in return !", "4":"There is nothing else ; White would have a black pawn play to e3 and the black queen to g3.", "5":"White would of course have the queen playing to f2 or the king to g2."}; temps={}; phpsessid='73fc2a20d06de0bba9fd4fa95173b52c'; lib_aller_variante='Show the subline'; lib_variante_maj='Line'; lib_variante_vide='Empty line'; lib_aller_coup='Go to this move'; lib_err_debut_variante='Missing text... (chess,debut_variante)'; lib_err_fin_variante='You have reached the end of the line'; lib_err_remonter='You are already in the main line'; lib_aller_coup='Go to this move'; nom_piece={"K":"king", "Q":"queen", "R":"rook", "B":"bishop", "N":"cavalier", "P":"pawn"};