-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTicTacToe.html
70 lines (61 loc) · 1.83 KB
/
TicTacToe.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<title>TicTacToe</title>
<!DOCTYPE html>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Verlinkung; css-->
<link rel="stylesheet" href="TicTacToe.css">
<!--Verlinkung; js-->
<script src="TicTacToe.js" defer="true"></script>
</head>
<body>
<h1 class="game-title">Tic Tac Toe</h1>
<marquee id= "xoxo" direction="left">click me!</marquee>
<!--Anfang; Spielfeld-->
<div class="tic-tac-toe" aria-describedby="hint">
<p id="hint">to start the game, click inside the fields. <br><span id="currentPlayer">X begins </span></p>
<div id="gameboard">
<button>A1</button>
<button>A2</button>
<button>A3</button>
<button>B1</button>
<button>B2</button>
<button>B3</button>
<button>C1</button>
<button>C2</button>
<button>C3</button>
</div>
</div>
<div id="legende">
<table class="center">
<tr>
<td>PLAYER <h3>1</h3>
</td>
<td>
<h4>-</h4>
</td>
<td>PLAYER <h3>2</h3>
</td>
</tr>
<tr>
<td>
<p></p>
</td>
</tr>
<tr>
<td><img src=x.png alt="X"></td>
<td></td>
<td><img src=o.png alt="O"></td>
</tr>
</table>
</div>
<!--game status-->
<h2 class="game-status"></h2>
<!--restart button-->
<button id="game-restart">Restart Game</button>
<p><a href="https://msha.ke/stella.dsf">° by stella.dsf °</a></p>
</body>
</html>