tic-tac-toe-2d/index.html
2021-02-20 16:32:50 +01:00

45 lines
1.2 KiB
HTML

<html lang="pl">
<head>
<meta charset="UTF-8">
<title>Kółko i krzyżyk</title>
<link rel="icon" href="icons\favicon.jpg"/>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="message">
<h1 id="areatext">Zaczynajmy!</h1>
<label for="tic-tac-toe"><span id="whos">Kim chcesz zagrac?</span></label>
<select id="optionslist">
<option value="1" disabled selected hidden>Wybierz..</option>
<option value="2">Kółko</option>
<option value="3">Krzyżyk</option>
</select>
<button type="button" id="start">START!</button>
</div>
<div hidden id="for-button">
<button type="button" id="restart">Zacznij do nowa</button>
</div>
<div hidden id="thegame">
<table id="gamearea">
<tr>
<th x="0" y="0"></th>
<th x="1" y="0"></th>
<th x="2" y="0"></th>
</tr>
<tr>
<th x="0" y="1"></th>
<th x="1" y="1"></th>
<th x="2" y="1"></th>
</tr>
<tr>
<th x="0" y="2"></th>
<th x="1" y="2"></th>
<th x="2" y="2"></th>
</tr>
</table>
<script type="text/javascript" src="script.js"></script>
</body>
</html>