|
|
<!DOCTYPE html> <html lang="de"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="./CSS/style.css"> <script src="./JS/steinSetzen.js"></script> <script src="./JS/spielerWechsel.js"></script> <script src="./JS/steineInSpalte.js"></script> <script src="./JS/steineInReihe.js"></script> <script src="./JS/allSpaltenArrays.js"></script> <script src="./JS/naechsteFreierPlatz.js"></script> <script src="./JS/vierInSpalte.js"></script> <script src="./JS/vierInReihe.js"></script> <script src="./JS/vierDiagonalRechts.js"></script> <script src="./JS/vierDiagonalLinks.js"></script> <script src="./JS/gewinnErmitteln.js"></script> <script src="./JS/regeln.js"></script> <script src="./JS/gewinnErmitteln_mock.js"></script> <script src="./JS/gameReset.js"></script> <title>Vier Gewinnt</title> </head> <body> <h1>Vier Gewinnt</h1> <button id="regelButton" onclick="regelAnzeige()">Regeln anzeigen</button> <p id="regeln"></p> <p>Spieler am Zug: <p id="aktuellerSpieler">1</p></p>
<table> <tr> <td id="6/1" onclick="steinSetzen(6,1);"></td> <td id="6/2" onclick="steinSetzen(6,2);"></td> <td id="6/3" onclick="steinSetzen(6,3);"></td> <td id="6/4" onclick="steinSetzen(6,4);"></td> <td id="6/5" onclick="steinSetzen(6,5);"></td> <td id="6/6" onclick="steinSetzen(6,6);"></td> <td id="6/7" onclick="steinSetzen(6,7);"></td> </tr> <tr> <td id="5/1" onclick="steinSetzen(5,1);"></td> <td id="5/2" onclick="steinSetzen(5,2);"></td> <td id="5/3" onclick="steinSetzen(5,3);"></td> <td id="5/4" onclick="steinSetzen(5,4);"></td> <td id="5/5" onclick="steinSetzen(5,5);"></td> <td id="5/6" onclick="steinSetzen(5,6);"></td> <td id="5/7" onclick="steinSetzen(5,7);"></td> </tr> <tr> <td id="4/1" onclick="steinSetzen(4,1);"></td> <td id="4/2" onclick="steinSetzen(4,2);"></td> <td id="4/3" onclick="steinSetzen(4,3);"></td> <td id="4/4" onclick="steinSetzen(4,4);"></td> <td id="4/5" onclick="steinSetzen(4,5);"></td> <td id="4/6" onclick="steinSetzen(4,6);"></td> <td id="4/7" onclick="steinSetzen(4,7);"></td> </tr> <tr> <td id="3/1" onclick="steinSetzen(3,1);"></td> <td id="3/2" onclick="steinSetzen(3,2);"></td> <td id="3/3" onclick="steinSetzen(3,3);"></td> <td id="3/4" onclick="steinSetzen(3,4);"></td> <td id="3/5" onclick="steinSetzen(3,5);"></td> <td id="3/6" onclick="steinSetzen(3,6);"></td> <td id="3/7" onclick="steinSetzen(3,7);"></td> </tr> <tr> <td id="2/1" onclick="steinSetzen(2,1);"></td> <td id="2/2" onclick="steinSetzen(2,2);"></td> <td id="2/3" onclick="steinSetzen(2,3);"></td> <td id="2/4" onclick="steinSetzen(2,4);"></td> <td id="2/5" onclick="steinSetzen(2,5);"></td> <td id="2/6" onclick="steinSetzen(2,6);"></td> <td id="2/7" onclick="steinSetzen(2,7);"></td> </tr> <tr> <td id="1/1" onclick="steinSetzen(1,1);"></td> <td id="1/2" onclick="steinSetzen(1,2);"></td> <td id="1/3" onclick="steinSetzen(1,3);"></td> <td id="1/4" onclick="steinSetzen(1,4);"></td> <td id="1/5" onclick="steinSetzen(1,5);"></td> <td id="1/6" onclick="steinSetzen(1,6);"></td> <td id="1/7" onclick="steinSetzen(1,7);"></td> </tr> </table> <button onClick="window.location.reload();">Spiel neu Starten</button> </body> </html>
|