-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
57 lines (57 loc) · 2.02 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Tic Tac Toe game</title>
<link rel="stylesheet" href="src/css/style.css">
</head>
<body>
<div class="page-header">
<h1>Tic Tac Toe</h1>
</div>
<div>
<p id="game-message"> </p>
<div class="game-header">
<button id="reload">New Game</button>
</div>
<div class="game-container">
<div class="game-row">
<div class="game-row-square" id="00"></div>
<div class="game-row-square" id="01"></div>
<div class="game-row-square" id="02"></div>
</div>
<div class="game-row">
<div class="game-row-square" id="10"></div>
<div class="game-row-square" id="11"></div>
<div class="game-row-square" id="12"></div>
</div>
<div class="game-row">
<div class="game-row-square" id="20"></div>
<div class="game-row-square" id="21"></div>
<div class="game-row-square" id="22"></div>
</div>
</div>
<div class="game-score">
<table>
<tr>
<th>PLAYER</th>
<td>
<span class="token">X</span> : HUMAN
</td>
<td>
<span class="token">O</span> : AI
</td>
</tr>
<tr>
<th>SCORE</th>
<td id="human-score">0</td>
<td id="computer-score">0</td>
</tr>
</table>
</div>
</div>
<script src="src/js/Board.js"></script>
<script src="src/js/AI.js"></script>
<script src="src/js/main.js"></script>
</body>
</html>