|
Trouver une ressource
Vous ne trouvez pas de réponse à votre problème ? Alors posez la question dans le forum. Souvenez-vous qu'il n'y a jamais de question bête, mais rester dans l'ignorance parce que l'on n'ose pas poser une question, ça c'est une erreur !
GRILLE DE SUDOKU À REMPLIR
Information sur la source
Description
Pourquoi faire compliqué ? J'ai pris la version de mon javascript pour PC, j'ai réduit l'écran, et hop, c'est bon pour mon PDA. Attention, ce n'est qu'une aide pour remplir une grille, ça ne donne pas la solution. Mais cela évite les barbouillages sur les grilles trouvées dans la presse.
Source
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 transitional//EN">
- <html>
- <head>
- <title>CreationSudokuPDAvf</title>
- <meta http-equiv ="Content-Type" content="text/html; charset=iso-8859-1">
- <script type="text/javascript">
- function debutscript()
- {jeusol=0;
- return;
- }
- function choixjeu(jeu)
- {jeusol=jeu;
- tabjeu.elements[jeusol].style.backgroundColor="aqua";
- if (jeu!=jeuprec)
- {tabjeu.elements[jeuprec].style.backgroundColor="yellow"; jeuprec=jeusol};
- for (i=0; i<9; i++)
- {tabsol.elements[i].style.backgroundColor="lime"};
- if (jeusol<9) nolig=0;
- else if (jeusol<18) nolig=1;
- else if (jeusol<27) nolig=2;
- else if (jeusol<36) nolig=3;
- else if (jeusol<45) nolig=4;
- else if (jeusol<54) nolig=5;
- else if (jeusol<63) nolig=6;
- else if (jeusol<72) nolig=7;
- else nolig=8;
- nocol=(jeusol-(nolig*9));
- if (nolig<3) cary=0; else if (nolig<6) cary=3; else cary=6;
- if (nocol<3) carx=0; else if (nocol<6) carx=3; else carx=6;
- for (i=0; i<9; i++)
- {if (tbsolu[nolig][i] != 0)
- {pris=tbsolu[nolig][i]; pris--; tabsol.elements[pris].style.backgroundColor="red"};
- };
- for (i=0; i<9; i++)
- {if (tbsolu[i][nocol] != 0)
- {pris=tbsolu[i][nocol]; pris--;tabsol.elements[pris].style.backgroundColor="red"};
- };
- maxx=(carx + 3);maxy=(cary + 3);
- for (y=cary; y<maxy; y++)
- {for (x=carx; x<maxx; x++)
- {if (tbsolu[y][x] != 0)
- {pris=tbsolu[y][x]; pris--;tabsol.elements[pris].style.backgroundColor="red"};
- };
-
- };
- return;
- }
- function choixsol(sol)
- {tabjeu.elements[jeusol].value=sol;
- tbsolu[nolig][nocol]=sol;
- for (i=0; i<9; i++)
- {tabsol.elements[i].style.backgroundColor="lime"};
- return;
- }
- function rabcase()
- {tabjeu.elements[jeusol].value=" ";
- tbsolu[nolig][nocol]=0;
- return;
- }
- function rabligne()
- {deblig=(nolig*9);finlig=(deblig+9);
- for (i=0; i<9; i++) tbsolu[nolig][i]=0;
- for (i=deblig; i<finlig; i++) tabjeu.elements[i].value=" ";
- return;
- }
- function rabcolonne()
- {debcol=nocol;fincol=(nocol+81);
- for (i=0; i<9; i++) tbsolu[i][nocol]=0;
- for (i=debcol; i<fincol; i=i+9) tabjeu.elements[i].value=" ";
- return;
- }
- function rabcarre()
- {for (y=cary; y<maxy; y++)
- {for (x=carx; x<maxx; x++)
- tbsolu[y][x]=0};
- deblig=(carx+(cary*9));finlig=(deblig+3);
- for (i=deblig; i<finlig; i++) tabjeu.elements[i].value=" ";
- deblig=(deblig+9);finlig=(deblig+3);
- for (i=deblig; i<finlig; i++) tabjeu.elements[i].value=" ";
- deblig=(deblig+9);finlig=(deblig+3);
- for (i=deblig; i<finlig; i++) tabjeu.elements[i].value=" ";
- return;
- }
- function valider()
- {topano=0;
- for (i=0; i<9; i++)
- {cumsolu=0;
- for (j=0; j<9; j++) {cumsolu=(cumsolu + tbsolu[i][j])};
- if (cumsolu != 45) {topano=1; nolig=(i+1); alert("numéro de la ligne en anomalie : " + nolig)};
- };
- for (i=0; i<9; i++)
- {cumsolu=0;
- for (j=0; j<9; j++) {cumsolu=(cumsolu + tbsolu[j][i])};
- if (cumsolu != 45) {topano=1; nocol=(i+1); alert("numéro de la colonne en anomalie : " + nocol)};
- };
- for (k=0; k<9; k=k+3)
- {cumsolu=0;
- for (i=0; i<3; i++)
- {for (j=(k+0); j<(k+3); j++) cumsolu=(cumsolu + tbsolu[i][j]);
- };
- if (cumsolu != 45) {topano=1; nolig=(i-2);nocol=(j-2);alert("carré en anomalie pour ligne " + nolig + " et colonne " + nocol)};
- cumsolu=0;
- for (i=3; i<6; i++)
- {for (j=(k+0); j<(k+3); j++) cumsolu=(cumsolu + tbsolu[i][j]);
- };
- if (cumsolu != 45) {topano=1; nolig=(i-2);nocol=(j-2);alert("carré en anomalie pour ligne " + nolig + " et colonne " + nocol)};
- cumsolu=0;
- for (i=6; i<9; i++)
- {for (j=(k+0); j<(k+3); j++) cumsolu=(cumsolu + tbsolu[i][j]);
- };
- if (cumsolu != 45) {topano=1; nolig=(i-2);nocol=(j-2);alert("carré en anomalie pour ligne " + nolig + " et colonne " + nocol)};
- };
- if (topano==0) alert("Bravo ! Grille OK");
- return;
- }
- function kesaco()
- {alert ("Le Sudoku, qu'est-ce encore ? C'est un jeu très récent en France. La grille contient 9 carrés de 9 cases. Chaque carré doit utiliser tous les chiffres de 1 à 9. De plus, chaque ligne horizontale et chaque colonne verticale doivent, elles aussi, utiliser tous les chiffres de 1 à 9.");
- alert ("Ce script vous sert à concevoir des grilles. Quand celle-ci est validée vous pouvez alors créer votre Sudoku. Selon le niveau de difficulté souhaité vous pré-remplissez entre 20 et 40 cases sur une grille vierge. Ensuite le joueur adverse devra déduire les autres cases, avec patience et logique.");
- alert ("D'autres jeux sur http://legrandhuit.jexiste.fr/");
- }
- function modemploi()
- {alert ("Pour vous positionner sur la grille : cliquez sur une case jaune, elle devient bleue. Pour y mettre un chiffre : sélectionnez-le dans la rangée chiffrée. Celle-ci vous affiche en vert les chiffres possibles, et en rouge les chiffres déjà utilisés dans le carré, la ligne et la colonne.");
- alert ("Si vous souhaitez recommencer une partie de votre grille vous pouvez remettre à blanc une case, une ligne, une colonne ou un carré. Quand la grille est entièrement remplie validez-la. Si une erreur est détectée, un message vous en donnera l'origine. Bon courage.");
- }
- //variables
- jeu=0;sol=0;jeusol=0;nolig=0;nocol=0;pris=0;carx=0;cary=0;deblig=0;finlig=0;jeuprec=0;cumsolu=0;topano=0;
- //table des solutions
- tbsolu = new Array();tbsolu[0] = new Array();
- tbsolu[1] = new Array();tbsolu[2] = new Array();tbsolu[3] = new Array();tbsolu[4] = new Array();
- tbsolu[5] = new Array();tbsolu[6] = new Array();tbsolu[7] = new Array();tbsolu[8] = new Array();
- tbsolu[0][0] = 0;tbsolu[0][1] = 0;tbsolu[0][2] = 0;tbsolu[0][3] = 0;tbsolu[0][4] = 0;tbsolu[0][5] = 0;tbsolu[0][6] = 0;tbsolu[0][7] = 0;tbsolu[0][8] = 0;
- tbsolu[1][0] = 0;tbsolu[1][1] = 0;tbsolu[1][2] = 0;tbsolu[1][3] = 0;tbsolu[1][4] = 0;tbsolu[1][5] = 0;tbsolu[1][6] = 0;tbsolu[1][7] = 0;tbsolu[1][8] = 0;
- tbsolu[2][0] = 0;tbsolu[2][1] = 0;tbsolu[2][2] = 0;tbsolu[2][3] = 0;tbsolu[2][4] = 0;tbsolu[2][5] = 0;tbsolu[2][6] = 0;tbsolu[2][7] = 0;tbsolu[2][8] = 0;
- tbsolu[3][0] = 0;tbsolu[3][1] = 0;tbsolu[3][2] = 0;tbsolu[3][3] = 0;tbsolu[3][4] = 0;tbsolu[3][5] = 0;tbsolu[3][6] = 0;tbsolu[3][7] = 0;tbsolu[3][8] = 0;
- tbsolu[4][0] = 0;tbsolu[4][1] = 0;tbsolu[4][2] = 0;tbsolu[4][3] = 0;tbsolu[4][4] = 0;tbsolu[4][5] = 0;tbsolu[4][6] = 0;tbsolu[4][7] = 0;tbsolu[4][8] = 0;
- tbsolu[5][0] = 0;tbsolu[5][1] = 0;tbsolu[5][2] = 0;tbsolu[5][3] = 0;tbsolu[5][4] = 0;tbsolu[5][5] = 0;tbsolu[5][6] = 0;tbsolu[5][7] = 0;tbsolu[5][8] = 0;
- tbsolu[6][0] = 0;tbsolu[6][1] = 0;tbsolu[6][2] = 0;tbsolu[6][3] = 0;tbsolu[6][4] = 0;tbsolu[6][5] = 0;tbsolu[6][6] = 0;tbsolu[6][7] = 0;tbsolu[6][8] = 0;
- tbsolu[7][0] = 0;tbsolu[7][1] = 0;tbsolu[7][2] = 0;tbsolu[7][3] = 0;tbsolu[7][4] = 0;tbsolu[7][5] = 0;tbsolu[7][6] = 0;tbsolu[7][7] = 0;tbsolu[7][8] = 0;
- tbsolu[8][0] = 0;tbsolu[8][1] = 0;tbsolu[8][2] = 0;tbsolu[8][3] = 0;tbsolu[8][4] = 0;tbsolu[8][5] = 0;tbsolu[8][6] = 0;tbsolu[8][7] = 0;tbsolu[8][8] = 0;
- </script>
- <style type="text/css">
- <!--
- .BoutonSol {margin-left:0px;text-indent:0px;text-align:center;
- font-family:Arial,sans-serif;font-weight:bold;font-style:normal;font-size:14px;
- color:black;background-color:lime}
- .BoutonJeu {margin-left:0px;text-indent:0px;text-align:center;
- font-family:Arial,sans-serif;font-weight:bold;font-style:normal;font-size:14px;
- color:black;background-color:yellow}
- .logo {margin-left:0px;text-indent:0px;text-align:center;
- font-family:Arial,sans-serif;font-weight:bold;font-style:normal;font-size:6px;
- color:aqua}
- -->
- </style>
- </head>
- <body onLoad="debutscript()">
- <form name="tabjeu" action="">
- <table width="150px" bgcolor="black" rules="none" align="center" border="2" cellspacing="0">
- <tr>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(0)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(1)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(2)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(3)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(4)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(5)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(6)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(7)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(8)">
- </td></tr>
- <tr>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(9)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(10)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(11)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(12)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(13)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(14)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(15)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(16)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(17)">
- </td></tr>
- <tr>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(18)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(19)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(20)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(21)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(22)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(23)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(24)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(25)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(26)">
- </td></tr>
- <tr><td height="3px"></td></tr>
- <tr>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(27)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(28)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(29)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(30)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(31)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(32)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(33)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(34)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(35)">
- </td></tr>
- <tr>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(36)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(37)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(38)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(39)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(40)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(41)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(42)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(43)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(44)">
- </td></tr>
- <tr>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(45)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(46)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(47)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(48)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(49)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(50)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(51)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(52)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(53)">
- </td></tr>
- <tr><td height="3px"></td></tr>
- <tr>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(54)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(55)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(56)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(57)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(58)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(59)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(60)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(61)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(62)">
- </td></tr>
- <tr>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(63)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(64)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(65)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(66)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(67)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(68)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(69)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(70)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(71)">
- </td></tr>
- <tr>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(72)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(73)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(74)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(75)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(76)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(77)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(78)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(79)">
- </td>
- <td width="15px" align="center">
- <input type="button" value=" "
- class="BoutonJeu" style="width:15px;height:15px;border:1px"
- onClick="choixjeu(80)">
- </td></tr>
- </table></form>
- <form name="tabsol" action="">
- <table width="150px" bgcolor="black" rules="none" align="center" border="2" cellspacing="0">
- <tr>
- <td width="15px" align="center">
- <input type="button" value="1"
- class="BoutonSol" style="width:15px;height:15px;border:1px"
- onClick="choixsol(1)">
- </td>
- <td width="15px" align="center">
- <input type="button" value="2"
- class="BoutonSol" style="width:15px;height:15px;border:1px"
- onClick="choixsol(2)">
- </td>
- <td width="15px" align="center">
- <input type="button" value="3"
- class="BoutonSol" style="width:15px;height:15px;border:1px"
- onClick="choixsol(3)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value="4"
- class="BoutonSol" style="width:15px;height:15px;border:1px"
- onClick="choixsol(4)">
- </td>
- <td width="15px" align="center">
- <input type="button" value="5"
- class="BoutonSol" style="width:15px;height:15px;border:1px"
- onClick="choixsol(5)">
- </td>
- <td width="15px" align="center">
- <input type="button" value="6"
- class="BoutonSol" style="width:15px;height:15px;border:1px"
- onClick="choixsol(6)">
- </td>
- <td width="3px"></td>
- <td width="15px" align="center">
- <input type="button" value="7"
- class="BoutonSol" style="width:15px;height:15px;border:1px"
- onClick="choixsol(7)">
- </td>
- <td width="15px" align="center">
- <input type="button" value="8"
- class="BoutonSol" style="width:15px;height:15px;border:1px"
- onClick="choixsol(8)">
- </td>
- <td width="15px" align="center">
- <input type="button" value="9"
- class="BoutonSol" style="width:15px;height:15px;border:1px"
- onClick="choixsol(9)">
- </td></tr>
- </table></form>
- <form name="tabact" action="">
- <table width="150px" bgcolor="black" rules="none" align="center" border="2" cellspacing="0">
- <tr>
- <td width="150px" align="center" colspan="4">
- <div class="logo">
- Remise à blancs
- </div></td>
- </tr>
- <tr>
- <td width="32px" align="center" colspan="1">
- <input type="button" value="Case"
- style="font-size:6px;width:28px;height:14px"
- onClick="rabcase()">
- </td>
- <td width="36px" align="center" colspan="1">
- <input type="button" value="Ligne"
- style="font-size:6px;width:32px;height:14px"
- onClick="rabligne()">
- </td>
- <td width="46px" align="center" colspan="1">
- <input type="button" value="Colonne"
- style="font-size:6px;width:40px;height:14px"
- onClick="rabcolonne()">
- </td>
- <td width="36px" align="center" colspan="1">
- <input type="button" value="Carré"
- style="font-size:6px;width:32px;height:14px"
- onClick="rabcarre()">
- </td>
- </tr>
- <tr>
- <td width="150px" align="center" colspan="4">
- <div class="logo">
- Quand la grille est remplie
- </div></td>
- </tr>
- <tr>
- <td width="150px" align="center" colspan="4">
- <input type="button" value="Valider"
- style="font-size:6px;width:40px;height:14px"
- onClick="valider()">
- </td>
- </tr>
- <tr>
- <td width="150px" align="center" colspan="4">
- <div class="logo">
- Quelques précisions
- </div></td>
- </tr>
- <tr>
- <td width="75px" align="center" colspan="2">
- <input type="button" value="Kesaco ?"
- style="font-size:6px;width:60px;height:14px"
- onClick="kesaco()">
- </td>
- <td width="75px" align="center" colspan="2">
- <input type="button" value="Saisie"
- style="font-size:6px;width:60px;height:14px"
- onClick="modemploi()">
- </td>
- </tr>
- <tr>
- <td width="150px" align="center" colspan="4">
- <div class="logo">
- Copyright Yvan Jolivet 2007
- </div></td>
- </tr>
- </table></form>
- </body></html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 transitional//EN">
<html>
<head>
<title>CreationSudokuPDAvf</title>
<meta http-equiv ="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
function debutscript()
{jeusol=0;
return;
}
function choixjeu(jeu)
{jeusol=jeu;
tabjeu.elements[jeusol].style.backgroundColor="aqua";
if (jeu!=jeuprec)
{tabjeu.elements[jeuprec].style.backgroundColor="yellow"; jeuprec=jeusol};
for (i=0; i<9; i++)
{tabsol.elements[i].style.backgroundColor="lime"};
if (jeusol<9) nolig=0;
else if (jeusol<18) nolig=1;
else if (jeusol<27) nolig=2;
else if (jeusol<36) nolig=3;
else if (jeusol<45) nolig=4;
else if (jeusol<54) nolig=5;
else if (jeusol<63) nolig=6;
else if (jeusol<72) nolig=7;
else nolig=8;
nocol=(jeusol-(nolig*9));
if (nolig<3) cary=0; else if (nolig<6) cary=3; else cary=6;
if (nocol<3) carx=0; else if (nocol<6) carx=3; else carx=6;
for (i=0; i<9; i++)
{if (tbsolu[nolig][i] != 0)
{pris=tbsolu[nolig][i]; pris--; tabsol.elements[pris].style.backgroundColor="red"};
};
for (i=0; i<9; i++)
{if (tbsolu[i][nocol] != 0)
{pris=tbsolu[i][nocol]; pris--;tabsol.elements[pris].style.backgroundColor="red"};
};
maxx=(carx + 3);maxy=(cary + 3);
for (y=cary; y<maxy; y++)
{for (x=carx; x<maxx; x++)
{if (tbsolu[y][x] != 0)
{pris=tbsolu[y][x]; pris--;tabsol.elements[pris].style.backgroundColor="red"};
};
};
return;
}
function choixsol(sol)
{tabjeu.elements[jeusol].value=sol;
tbsolu[nolig][nocol]=sol;
for (i=0; i<9; i++)
{tabsol.elements[i].style.backgroundColor="lime"};
return;
}
function rabcase()
{tabjeu.elements[jeusol].value=" ";
tbsolu[nolig][nocol]=0;
return;
}
function rabligne()
{deblig=(nolig*9);finlig=(deblig+9);
for (i=0; i<9; i++) tbsolu[nolig][i]=0;
for (i=deblig; i<finlig; i++) tabjeu.elements[i].value=" ";
return;
}
function rabcolonne()
{debcol=nocol;fincol=(nocol+81);
for (i=0; i<9; i++) tbsolu[i][nocol]=0;
for (i=debcol; i<fincol; i=i+9) tabjeu.elements[i].value=" ";
return;
}
function rabcarre()
{for (y=cary; y<maxy; y++)
{for (x=carx; x<maxx; x++)
tbsolu[y][x]=0};
deblig=(carx+(cary*9));finlig=(deblig+3);
for (i=deblig; i<finlig; i++) tabjeu.elements[i].value=" ";
deblig=(deblig+9);finlig=(deblig+3);
for (i=deblig; i<finlig; i++) tabjeu.elements[i].value=" ";
deblig=(deblig+9);finlig=(deblig+3);
for (i=deblig; i<finlig; i++) tabjeu.elements[i].value=" ";
return;
}
function valider()
{topano=0;
for (i=0; i<9; i++)
{cumsolu=0;
for (j=0; j<9; j++) {cumsolu=(cumsolu + tbsolu[i][j])};
if (cumsolu != 45) {topano=1; nolig=(i+1); alert("numéro de la ligne en anomalie : " + nolig)};
};
for (i=0; i<9; i++)
{cumsolu=0;
for (j=0; j<9; j++) {cumsolu=(cumsolu + tbsolu[j][i])};
if (cumsolu != 45) {topano=1; nocol=(i+1); alert("numéro de la colonne en anomalie : " + nocol)};
};
for (k=0; k<9; k=k+3)
{cumsolu=0;
for (i=0; i<3; i++)
{for (j=(k+0); j<(k+3); j++) cumsolu=(cumsolu + tbsolu[i][j]);
};
if (cumsolu != 45) {topano=1; nolig=(i-2);nocol=(j-2);alert("carré en anomalie pour ligne " + nolig + " et colonne " + nocol)};
cumsolu=0;
for (i=3; i<6; i++)
{for (j=(k+0); j<(k+3); j++) cumsolu=(cumsolu + tbsolu[i][j]);
};
if (cumsolu != 45) {topano=1; nolig=(i-2);nocol=(j-2);alert("carré en anomalie pour ligne " + nolig + " et colonne " + nocol)};
cumsolu=0;
for (i=6; i<9; i++)
{for (j=(k+0); j<(k+3); j++) cumsolu=(cumsolu + tbsolu[i][j]);
};
if (cumsolu != 45) {topano=1; nolig=(i-2);nocol=(j-2);alert("carré en anomalie pour ligne " + nolig + " et colonne " + nocol)};
};
if (topano==0) alert("Bravo ! Grille OK");
return;
}
function kesaco()
{alert ("Le Sudoku, qu'est-ce encore ? C'est un jeu très récent en France. La grille contient 9 carrés de 9 cases. Chaque carré doit utiliser tous les chiffres de 1 à 9. De plus, chaque ligne horizontale et chaque colonne verticale doivent, elles aussi, utiliser tous les chiffres de 1 à 9.");
alert ("Ce script vous sert à concevoir des grilles. Quand celle-ci est validée vous pouvez alors créer votre Sudoku. Selon le niveau de difficulté souhaité vous pré-remplissez entre 20 et 40 cases sur une grille vierge. Ensuite le joueur adverse devra déduire les autres cases, avec patience et logique.");
alert ("D'autres jeux sur http://legrandhuit.jexiste.fr/");
}
function modemploi()
{alert ("Pour vous positionner sur la grille : cliquez sur une case jaune, elle devient bleue. Pour y mettre un chiffre : sélectionnez-le dans la rangée chiffrée. Celle-ci vous affiche en vert les chiffres possibles, et en rouge les chiffres déjà utilisés dans le carré, la ligne et la colonne.");
alert ("Si vous souhaitez recommencer une partie de votre grille vous pouvez remettre à blanc une case, une ligne, une colonne ou un carré. Quand la grille est entièrement remplie validez-la. Si une erreur est détectée, un message vous en donnera l'origine. Bon courage.");
}
//variables
jeu=0;sol=0;jeusol=0;nolig=0;nocol=0;pris=0;carx=0;cary=0;deblig=0;finlig=0;jeuprec=0;cumsolu=0;topano=0;
//table des solutions
tbsolu = new Array();tbsolu[0] = new Array();
tbsolu[1] = new Array();tbsolu[2] = new Array();tbsolu[3] = new Array();tbsolu[4] = new Array();
tbsolu[5] = new Array();tbsolu[6] = new Array();tbsolu[7] = new Array();tbsolu[8] = new Array();
tbsolu[0][0] = 0;tbsolu[0][1] = 0;tbsolu[0][2] = 0;tbsolu[0][3] = 0;tbsolu[0][4] = 0;tbsolu[0][5] = 0;tbsolu[0][6] = 0;tbsolu[0][7] = 0;tbsolu[0][8] = 0;
tbsolu[1][0] = 0;tbsolu[1][1] = 0;tbsolu[1][2] = 0;tbsolu[1][3] = 0;tbsolu[1][4] = 0;tbsolu[1][5] = 0;tbsolu[1][6] = 0;tbsolu[1][7] = 0;tbsolu[1][8] = 0;
tbsolu[2][0] = 0;tbsolu[2][1] = 0;tbsolu[2][2] = 0;tbsolu[2][3] = 0;tbsolu[2][4] = 0;tbsolu[2][5] = 0;tbsolu[2][6] = 0;tbsolu[2][7] = 0;tbsolu[2][8] = 0;
tbsolu[3][0] = 0;tbsolu[3][1] = 0;tbsolu[3][2] = 0;tbsolu[3][3] = 0;tbsolu[3][4] = 0;tbsolu[3][5] = 0;tbsolu[3][6] = 0;tbsolu[3][7] = 0;tbsolu[3][8] = 0;
tbsolu[4][0] = 0;tbsolu[4][1] = 0;tbsolu[4][2] = 0;tbsolu[4][3] = 0;tbsolu[4][4] = 0;tbsolu[4][5] = 0;tbsolu[4][6] = 0;tbsolu[4][7] = 0;tbsolu[4][8] = 0;
tbsolu[5][0] = 0;tbsolu[5][1] = 0;tbsolu[5][2] = 0;tbsolu[5][3] = 0;tbsolu[5][4] = 0;tbsolu[5][5] = 0;tbsolu[5][6] = 0;tbsolu[5][7] = 0;tbsolu[5][8] = 0;
tbsolu[6][0] = 0;tbsolu[6][1] = 0;tbsolu[6][2] = 0;tbsolu[6][3] = 0;tbsolu[6][4] = 0;tbsolu[6][5] = 0;tbsolu[6][6] = 0;tbsolu[6][7] = 0;tbsolu[6][8] = 0;
tbsolu[7][0] = 0;tbsolu[7][1] = 0;tbsolu[7][2] = 0;tbsolu[7][3] = 0;tbsolu[7][4] = 0;tbsolu[7][5] = 0;tbsolu[7][6] = 0;tbsolu[7][7] = 0;tbsolu[7][8] = 0;
tbsolu[8][0] = 0;tbsolu[8][1] = 0;tbsolu[8][2] = 0;tbsolu[8][3] = 0;tbsolu[8][4] = 0;tbsolu[8][5] = 0;tbsolu[8][6] = 0;tbsolu[8][7] = 0;tbsolu[8][8] = 0;
</script>
<style type="text/css">
<!--
.BoutonSol {margin-left:0px;text-indent:0px;text-align:center;
font-family:Arial,sans-serif;font-weight:bold;font-style:normal;font-size:14px;
color:black;background-color:lime}
.BoutonJeu {margin-left:0px;text-indent:0px;text-align:center;
font-family:Arial,sans-serif;font-weight:bold;font-style:normal;font-size:14px;
color:black;background-color:yellow}
.logo {margin-left:0px;text-indent:0px;text-align:center;
font-family:Arial,sans-serif;font-weight:bold;font-style:normal;font-size:6px;
color:aqua}
-->
</style>
</head>
<body onLoad="debutscript()">
<form name="tabjeu" action="">
<table width="150px" bgcolor="black" rules="none" align="center" border="2" cellspacing="0">
<tr>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(0)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(1)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(2)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(3)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(4)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(5)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(6)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(7)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(8)">
</td></tr>
<tr>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(9)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(10)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(11)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(12)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(13)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(14)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(15)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(16)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(17)">
</td></tr>
<tr>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(18)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(19)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(20)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(21)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(22)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(23)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(24)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(25)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(26)">
</td></tr>
<tr><td height="3px"></td></tr>
<tr>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(27)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(28)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(29)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(30)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(31)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(32)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(33)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(34)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(35)">
</td></tr>
<tr>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(36)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(37)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(38)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(39)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(40)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(41)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(42)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(43)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(44)">
</td></tr>
<tr>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(45)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(46)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(47)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(48)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(49)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(50)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(51)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(52)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(53)">
</td></tr>
<tr><td height="3px"></td></tr>
<tr>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(54)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(55)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(56)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(57)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(58)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(59)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(60)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(61)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(62)">
</td></tr>
<tr>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(63)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(64)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(65)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(66)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(67)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(68)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(69)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(70)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(71)">
</td></tr>
<tr>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(72)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(73)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(74)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(75)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(76)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(77)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(78)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(79)">
</td>
<td width="15px" align="center">
<input type="button" value=" "
class="BoutonJeu" style="width:15px;height:15px;border:1px"
onClick="choixjeu(80)">
</td></tr>
</table></form>
<form name="tabsol" action="">
<table width="150px" bgcolor="black" rules="none" align="center" border="2" cellspacing="0">
<tr>
<td width="15px" align="center">
<input type="button" value="1"
class="BoutonSol" style="width:15px;height:15px;border:1px"
onClick="choixsol(1)">
</td>
<td width="15px" align="center">
<input type="button" value="2"
class="BoutonSol" style="width:15px;height:15px;border:1px"
onClick="choixsol(2)">
</td>
<td width="15px" align="center">
<input type="button" value="3"
class="BoutonSol" style="width:15px;height:15px;border:1px"
onClick="choixsol(3)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value="4"
class="BoutonSol" style="width:15px;height:15px;border:1px"
onClick="choixsol(4)">
</td>
<td width="15px" align="center">
<input type="button" value="5"
class="BoutonSol" style="width:15px;height:15px;border:1px"
onClick="choixsol(5)">
</td>
<td width="15px" align="center">
<input type="button" value="6"
class="BoutonSol" style="width:15px;height:15px;border:1px"
onClick="choixsol(6)">
</td>
<td width="3px"></td>
<td width="15px" align="center">
<input type="button" value="7"
class="BoutonSol" style="width:15px;height:15px;border:1px"
onClick="choixsol(7)">
</td>
<td width="15px" align="center">
<input type="button" value="8"
class="BoutonSol" style="width:15px;height:15px;border:1px"
onClick="choixsol(8)">
</td>
<td width="15px" align="center">
<input type="button" value="9"
class="BoutonSol" style="width:15px;height:15px;border:1px"
onClick="choixsol(9)">
</td></tr>
</table></form>
<form name="tabact" action="">
<table width="150px" bgcolor="black" rules="none" align="center" border="2" cellspacing="0">
<tr>
<td width="150px" align="center" colspan="4">
<div class="logo">
Remise à blancs
</div></td>
</tr>
<tr>
<td width="32px" align="center" colspan="1">
<input type="button" value="Case"
style="font-size:6px;width:28px;height:14px"
onClick="rabcase()">
</td>
<td width="36px" align="center" colspan="1">
<input type="button" value="Ligne"
style="font-size:6px;width:32px;height:14px"
onClick="rabligne()">
</td>
<td width="46px" align="center" colspan="1">
<input type="button" value="Colonne"
style="font-size:6px;width:40px;height:14px"
onClick="rabcolonne()">
</td>
<td width="36px" align="center" colspan="1">
<input type="button" value="Carré"
style="font-size:6px;width:32px;height:14px"
onClick="rabcarre()">
</td>
</tr>
<tr>
<td width="150px" align="center" colspan="4">
<div class="logo">
Quand la grille est remplie
</div></td>
</tr>
<tr>
<td width="150px" align="center" colspan="4">
<input type="button" value="Valider"
style="font-size:6px;width:40px;height:14px"
onClick="valider()">
</td>
</tr>
<tr>
<td width="150px" align="center" colspan="4">
<div class="logo">
Quelques précisions
</div></td>
</tr>
<tr>
<td width="75px" align="center" colspan="2">
<input type="button" value="Kesaco ?"
style="font-size:6px;width:60px;height:14px"
onClick="kesaco()">
</td>
<td width="75px" align="center" colspan="2">
<input type="button" value="Saisie"
style="font-size:6px;width:60px;height:14px"
onClick="modemploi()">
</td>
</tr>
<tr>
<td width="150px" align="center" colspan="4">
<div class="logo">
Copyright Yvan Jolivet 2007
</div></td>
</tr>
</table></form>
</body></html>
Fichier Zip
Pour les "Membres Club", vous pouvez télécharger directement un fichier contenu dans le zip sans télécharger le zip en entier !
Télécharger le zip
Historique
- 04 février 2007 16:24:18 :
- Ajout de la source en zip et image écran.
Sources du même auteur
Sources de la même categorie
Sources en rapport avec celle ci
Commentaires et avis
|